raisim::GranularSystem::Material
struct · #include <raisim/object/granular/GranularSystem.hpp>
Material shared by all particles. Mass is density * sphere volume per particle.
Public attributes
density
double densityParticle density (kg/m^3), positive.
normalStiffness
double normalStiffnessNormal contact stiffness (N/m for LINEAR).
normalDamping
double normalDampingNormal contact damping (N s/m). The total normal force is clamped to be nonnegative.
tangentialStiffness
double tangentialStiffnessTangential (stick) spring stiffness (N/m). Zero means 0.5 * normalStiffness.
tangentialDamping
double tangentialDampingTangential damping (N s/m).
friction
double frictionCoulomb friction coefficient. Initial value of particle material 0 and of the boundary material.
rollingFriction
double rollingFrictionRolling friction coefficient (resisting torque = coefficient * normal force * radius). Initial value of particle material 0 and of the boundary material.
cohesionStiffness
double cohesionStiffnessParticle-particle cohesion: attractive force cohesionStiffness * (cohesionMaxDistance - max(0, gap)) while the surface gap is at most cohesionMaxDistance. Zero disables cohesion.
cohesionMaxDistance
double cohesionMaxDistanceMaximum surface gap (m) for cohesion. Zero disables cohesion.
normalContactModel
NormalContactModel normalContactModelNormal force law.
substeps
int substepsNumber of DEM substeps per world time step (positive).
maxSpeed
double maxSpeedLinear speed clamp (m/s); zero disables it.
maxAngularSpeed
double maxAngularSpeedAngular speed clamp (rad/s); zero disables it.