26 #ifndef FrictionSpecies_H
27 #define FrictionSpecies_H
54 void read(std::istream& is);
57 void write(std::ostream& os)
const;
This class allows one to take all three types of frictional interactions into account....
Definition: FrictionInteraction.h:45
FrictionSpecies contains the parameters used to describe sliding, rolling and torsional friction.
Definition: FrictionSpecies.h:39
void setTorsionFrictionCoefficientStatic(Mdouble new_mu)
Allows the static Coulomb torsion friction coefficient to be accessed.
Definition: FrictionSpecies.cc:278
void write(std::ostream &os) const
Writes the species properties to an output stream.
Definition: FrictionSpecies.cc:79
void setRollingFrictionCoefficient(Mdouble new_mu)
Allows the (dynamic) Coulomb friction coefficient to be changed; also sets mu_s by default.
Definition: FrictionSpecies.cc:185
std::string getBaseName() const override
Used in Species::getName to obtain a unique name for each Species.
Definition: FrictionSpecies.cc:112
void read(std::istream &is)
Reads the species properties from an input stream.
Definition: FrictionSpecies.cc:95
void mix(FrictionSpecies *S, FrictionSpecies *T)
creates default values for mixed species
Definition: FrictionSpecies.cc:133
void setTorsionStiffness(Mdouble new_kt)
Allows the torsion stiffness to be changed.
Definition: FrictionSpecies.cc:221
void setRollingDissipation(Mdouble new_dispt)
Allows the tangential viscosity to be changed.
Definition: FrictionSpecies.cc:167
Mdouble getRollingStiffness() const
Allows the spring constant to be accessed.
Definition: FrictionSpecies.cc:161
void setTorsionDissipation(Mdouble new_dispt)
Allows the torsion viscosity to be changed.
Definition: FrictionSpecies.cc:240
FrictionSpecies()
The default constructor.
Definition: FrictionSpecies.cc:34
Mdouble getRollingFrictionCoefficient() const
Allows the (dynamic) Coulomb friction coefficient to be accessed.
Definition: FrictionSpecies.cc:197
Mdouble getTorsionFrictionCoefficientStatic() const
Allows the static Coulomb torsion friction coefficient to be accessed.
Definition: FrictionSpecies.cc:291
FrictionInteraction InteractionType
The correct Interaction type for this FrictionForceSpecies.
Definition: FrictionSpecies.h:42
void setRollingFrictionCoefficientStatic(Mdouble new_mu)
Allows the static Coulomb rolling friction coefficient to be changed.
Definition: FrictionSpecies.cc:203
Mdouble getRollingDissipation() const
Allows the tangential viscosity to be accessed.
Definition: FrictionSpecies.cc:178
Mdouble rollingFrictionCoefficient_
(dynamic) Coulomb rolling friction coefficient.
Definition: FrictionSpecies.h:143
bool getUseAngularDOFs() const override
Returns true if torques have to be calculated.
Definition: FrictionSpecies.cc:123
Mdouble torsionStiffness_
rolling stiffness.
Definition: FrictionSpecies.h:157
Mdouble rollingStiffness_
rolling stiffness.
Definition: FrictionSpecies.h:129
Mdouble rollingDissipation_
rolling dissipation coefficient.
Definition: FrictionSpecies.h:137
Mdouble rollingFrictionCoefficientStatic_
static Coulomb rolling friction coefficient (by default set equal to the dynamic one).
Definition: FrictionSpecies.h:149
Mdouble getTorsionDissipation() const
Allows the torsion viscosity to be accessed.
Definition: FrictionSpecies.cc:251
~FrictionSpecies()
The default destructor.
Definition: FrictionSpecies.cc:69
void setTorsionFrictionCoefficient(Mdouble new_mu)
Allows the (dynamic) Coulomb torsion friction coefficient to be changed; also sets mu_s by default.
Definition: FrictionSpecies.cc:258
Mdouble torsionDissipation_
rolling dissipation coefficient.
Definition: FrictionSpecies.h:165
void setRollingStiffness(Mdouble new_kt)
Allows the spring constant to be changed.
Definition: FrictionSpecies.cc:148
Mdouble torsionFrictionCoefficientStatic_
static Coulomb torsion friction coefficient (by default set equal to the dynamic one).
Definition: FrictionSpecies.h:176
Mdouble getTorsionStiffness() const
Allows the torsion stiffness to be accessed.
Definition: FrictionSpecies.cc:234
Mdouble getRollingFrictionCoefficientStatic() const
Allows the static Coulomb rolling friction coefficient to be accessed.
Definition: FrictionSpecies.cc:214
Mdouble getTorsionFrictionCoefficient() const
Allows the (dynamic) Coulomb torsion friction coefficient to be accessed.
Definition: FrictionSpecies.cc:272
Mdouble torsionFrictionCoefficient_
(dynamic) Coulomb torsion friction coefficient.
Definition: FrictionSpecies.h:170
SlidingFrictionSpecies contains the parameters used to describe sliding friction.
Definition: SlidingFrictionSpecies.h:38