chrono::ChMaterialSurfaceSMC Class Reference


Material data for a surface for use with smooth (penalty) contact method.

This data is used to define surface properties owned by ChBody rigid bodies and similar objects; it carries information that is used to make contacts.

#include <ChMaterialSurfaceSMC.h>

Inheritance diagram for chrono::ChMaterialSurfaceSMC:
Collaboration diagram for chrono::ChMaterialSurfaceSMC:

Public Member Functions

 ChMaterialSurfaceSMC (const ChMaterialSurfaceSMC &other)
virtual ChMaterialSurfaceSMCClone () const override
 "Virtual" copy constructor (covariant return type).
virtual ContactMethod GetContactMethod () const override
float GetYoungModulus () const
 Young's modulus.
void SetYoungModulus (float val)
float GetPoissonRatio () const
void SetPoissonRatio (float val)
float GetSfriction () const
 Static and kinetic friction coefficients. More...
void SetSfriction (float val)
float GetKfriction () const
void SetKfriction (float val)
void SetFriction (float val)
 Set both static friction and kinetic friction at once, with same value.
float GetRestitution () const
 Normal restitution coefficient.
void SetRestitution (float val)
float GetAdhesion () const
 Constant cohesion force.
void SetAdhesion (float val)
float GetAdhesionMultDMT () const
 Adhesion multiplier.
void SetAdhesionMultDMT (float val)
float GetKn () const
 Stiffness and damping coefficients.
float GetKt () const
float GetGn () const
float GetGt () const
void SetKn (float val)
void SetKt (float val)
void SetGn (float val)
void SetGt (float val)
virtual void StreamOUT (ChStreamOutAscii &mstream)
 Method to allow serializing transient data into in ascii as a readable item, for example "chrono::GetLog() << myobject;".
virtual void ArchiveOUT (ChArchiveOut &marchive) override
 Method to allow serialization of transient data to archives.
virtual void ArchiveIN (ChArchiveIn &marchive) override
 Method to allow deserialization of transient data from archives.

Public Attributes

float young_modulus
 Young's modulus (elastic modulus)
float poisson_ratio
 Poisson ratio.
float static_friction
 Static coefficient of friction.
float sliding_friction
 Kinetic coefficient of friction.
float restitution
 Coefficient of restitution.
float constant_adhesion
 Constant adhesion force, when constant adhesion model is used.
float adhesionMultDMT
 Adhesion multiplier used in DMT model.
float kn
 user-specified normal stiffness coefficient
float kt
 user-specified tangential stiffness coefficient
float gn
 user-specified normal damping coefficient
float gt
 user-specified tangential damping coefficient

Additional Inherited Members

- Public Types inherited from chrono::ChMaterialSurface
enum  ContactMethod { NSC, SMC }

Member Function Documentation

float chrono::ChMaterialSurfaceSMC::GetSfriction ( ) const

Static and kinetic friction coefficients.

Usually in 0..1 range, rarely above. Default 0.6