5 #ifndef FrictionSpecies_H
6 #define FrictionSpecies_H
33 void read(std::istream& is);
36 void write(std::ostream& os)
const;
This class allows one to take all three types of frictional interactions into account....
Definition: FrictionInteraction.h:24
FrictionSpecies contains the parameters used to describe sliding, rolling and torsional friction.
Definition: FrictionSpecies.h:18
void setTorsionFrictionCoefficientStatic(Mdouble new_mu)
Allows the static Coulomb torsion friction coefficient to be accessed.
Definition: FrictionSpecies.cc:258
void write(std::ostream &os) const
Writes the species properties to an output stream.
Definition: FrictionSpecies.cc:58
void setRollingFrictionCoefficient(Mdouble new_mu)
Allows the (dynamic) Coulomb friction coefficient to be changed; also sets mu_s by default.
Definition: FrictionSpecies.cc:165
std::string getBaseName() const override
Used in Species::getName to obtain a unique name for each Species.
Definition: FrictionSpecies.cc:91
void read(std::istream &is)
Reads the species properties from an input stream.
Definition: FrictionSpecies.cc:74
void mix(FrictionSpecies *S, FrictionSpecies *T)
creates default values for mixed species
Definition: FrictionSpecies.cc:112
void setTorsionStiffness(Mdouble new_kt)
Allows the torsion stiffness to be changed.
Definition: FrictionSpecies.cc:201
void setRollingDissipation(Mdouble new_dispt)
Allows the tangential viscosity to be changed.
Definition: FrictionSpecies.cc:147
Mdouble getRollingStiffness() const
Allows the spring constant to be accessed.
Definition: FrictionSpecies.cc:141
void setTorsionDissipation(Mdouble new_dispt)
Allows the torsion viscosity to be changed.
Definition: FrictionSpecies.cc:220
FrictionSpecies()
The default constructor.
Definition: FrictionSpecies.cc:13
Mdouble getRollingFrictionCoefficient() const
Allows the (dynamic) Coulomb friction coefficient to be accessed.
Definition: FrictionSpecies.cc:177
Mdouble getTorsionFrictionCoefficientStatic() const
Allows the static Coulomb torsion friction coefficient to be accessed.
Definition: FrictionSpecies.cc:271
FrictionInteraction InteractionType
The correct Interaction type for this FrictionForceSpecies.
Definition: FrictionSpecies.h:21
void setRollingFrictionCoefficientStatic(Mdouble new_mu)
Allows the static Coulomb rolling friction coefficient to be changed.
Definition: FrictionSpecies.cc:183
Mdouble getRollingDissipation() const
Allows the tangential viscosity to be accessed.
Definition: FrictionSpecies.cc:158
Mdouble rollingFrictionCoefficient_
(dynamic) Coulomb rolling friction coefficient.
Definition: FrictionSpecies.h:122
bool getUseAngularDOFs() const override
Returns true if torques have to be calculated.
Definition: FrictionSpecies.cc:102
Mdouble torsionStiffness_
rolling stiffness.
Definition: FrictionSpecies.h:136
Mdouble rollingStiffness_
rolling stiffness.
Definition: FrictionSpecies.h:108
Mdouble rollingDissipation_
rolling dissipation coefficient.
Definition: FrictionSpecies.h:116
Mdouble rollingFrictionCoefficientStatic_
static Coulomb rolling friction coefficient (by default set equal to the dynamic one).
Definition: FrictionSpecies.h:128
Mdouble getTorsionDissipation() const
Allows the torsion viscosity to be accessed.
Definition: FrictionSpecies.cc:231
~FrictionSpecies()
The default destructor.
Definition: FrictionSpecies.cc:48
void setTorsionFrictionCoefficient(Mdouble new_mu)
Allows the (dynamic) Coulomb torsion friction coefficient to be changed; also sets mu_s by default.
Definition: FrictionSpecies.cc:238
Mdouble torsionDissipation_
rolling dissipation coefficient.
Definition: FrictionSpecies.h:144
void setRollingStiffness(Mdouble new_kt)
Allows the spring constant to be changed.
Definition: FrictionSpecies.cc:128
Mdouble torsionFrictionCoefficientStatic_
static Coulomb torsion friction coefficient (by default set equal to the dynamic one).
Definition: FrictionSpecies.h:155
Mdouble getTorsionStiffness() const
Allows the torsion stiffness to be accessed.
Definition: FrictionSpecies.cc:214
Mdouble getRollingFrictionCoefficientStatic() const
Allows the static Coulomb rolling friction coefficient to be accessed.
Definition: FrictionSpecies.cc:194
Mdouble getTorsionFrictionCoefficient() const
Allows the (dynamic) Coulomb torsion friction coefficient to be accessed.
Definition: FrictionSpecies.cc:252
Mdouble torsionFrictionCoefficient_
(dynamic) Coulomb torsion friction coefficient.
Definition: FrictionSpecies.h:149
SlidingFrictionSpecies contains the parameters used to describe sliding friction.
Definition: SlidingFrictionSpecies.h:17
RealScalar s
Definition: level1_cplx_impl.h:130
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
@ S
Definition: quadtree.h:62