Skip to content

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 ​

cpp
double density

Particle density (kg/m^3), positive.

normalStiffness ​

cpp
double normalStiffness

Normal contact stiffness (N/m for LINEAR).

normalDamping ​

cpp
double normalDamping

Normal contact damping (N s/m). The total normal force is clamped to be nonnegative.

tangentialStiffness ​

cpp
double tangentialStiffness

Tangential (stick) spring stiffness (N/m). Zero means 0.5 * normalStiffness.

tangentialDamping ​

cpp
double tangentialDamping

Tangential damping (N s/m).

friction ​

cpp
double friction

Coulomb friction coefficient. Initial value of particle material 0 and of the boundary material.

rollingFriction ​

cpp
double rollingFriction

Rolling friction coefficient (resisting torque = coefficient * normal force * radius). Initial value of particle material 0 and of the boundary material.

cohesionStiffness ​

cpp
double cohesionStiffness

Particle-particle cohesion: attractive force cohesionStiffness * (cohesionMaxDistance - max(0, gap)) while the surface gap is at most cohesionMaxDistance. Zero disables cohesion.

cohesionMaxDistance ​

cpp
double cohesionMaxDistance

Maximum surface gap (m) for cohesion. Zero disables cohesion.

normalContactModel ​

cpp
NormalContactModel normalContactModel

Normal force law.

substeps ​

cpp
int substeps

Number of DEM substeps per world time step (positive).

maxSpeed ​

cpp
double maxSpeed

Linear speed clamp (m/s); zero disables it.

maxAngularSpeed ​

cpp
double maxAngularSpeed

Angular speed clamp (rad/s); zero disables it.

RaiSim — physics for robotics and AI.