FrictionSpecies Class Reference

FrictionSpecies contains the parameters used to describe sliding, rolling and torsional friction. More...

#include <FrictionSpecies.h>

+ Inheritance diagram for FrictionSpecies:

Public Types

typedef FrictionInteraction InteractionType
 The correct Interaction type for this FrictionForceSpecies. More...
 
- Public Types inherited from SlidingFrictionSpecies
typedef SlidingFrictionInteraction InteractionType
 The correct Interaction type for this FrictionForceSpecies. More...
 

Public Member Functions

 FrictionSpecies ()
 The default constructor. More...
 
 FrictionSpecies (const FrictionSpecies &s)
 The default copy constructor. More...
 
 ~FrictionSpecies ()
 The default destructor. More...
 
void read (std::istream &is)
 Reads the species properties from an input stream. More...
 
void write (std::ostream &os) const
 Writes the species properties to an output stream. More...
 
std::string getBaseName () const override
 Used in Species::getName to obtain a unique name for each Species. More...
 
bool getUseAngularDOFs () const override
 Returns true if torques have to be calculated. More...
 
void mix (FrictionSpecies *S, FrictionSpecies *T)
 creates default values for mixed species More...
 
void setRollingStiffness (Mdouble new_kt)
 Allows the spring constant to be changed. More...
 
Mdouble getRollingStiffness () const
 Allows the spring constant to be accessed. More...
 
void setRollingDissipation (Mdouble new_dispt)
 Allows the tangential viscosity to be changed. More...
 
Mdouble getRollingDissipation () const
 Allows the tangential viscosity to be accessed. More...
 
void setRollingFrictionCoefficient (Mdouble new_mu)
 Allows the (dynamic) Coulomb friction coefficient to be changed; also sets mu_s by default. More...
 
Mdouble getRollingFrictionCoefficient () const
 Allows the (dynamic) Coulomb friction coefficient to be accessed. More...
 
void setRollingFrictionCoefficientStatic (Mdouble new_mu)
 Allows the static Coulomb rolling friction coefficient to be changed. More...
 
Mdouble getRollingFrictionCoefficientStatic () const
 Allows the static Coulomb rolling friction coefficient to be accessed. More...
 
void setTorsionStiffness (Mdouble new_kt)
 Allows the torsion stiffness to be changed. More...
 
Mdouble getTorsionStiffness () const
 Allows the torsion stiffness to be accessed. More...
 
void setTorsionDissipation (Mdouble new_dispt)
 Allows the torsion viscosity to be changed. More...
 
Mdouble getTorsionDissipation () const
 Allows the torsion viscosity to be accessed. More...
 
void setTorsionFrictionCoefficient (Mdouble new_mu)
 Allows the (dynamic) Coulomb torsion friction coefficient to be changed; also sets mu_s by default. More...
 
Mdouble getTorsionFrictionCoefficient () const
 Allows the (dynamic) Coulomb torsion friction coefficient to be accessed. More...
 
void setTorsionFrictionCoefficientStatic (Mdouble new_mu)
 Allows the static Coulomb torsion friction coefficient to be accessed. More...
 
Mdouble getTorsionFrictionCoefficientStatic () const
 Allows the static Coulomb torsion friction coefficient to be accessed. More...
 
- Public Member Functions inherited from SlidingFrictionSpecies
 SlidingFrictionSpecies ()
 The default constructor. More...
 
 SlidingFrictionSpecies (const SlidingFrictionSpecies &s)
 The default copy constructor. More...
 
 ~SlidingFrictionSpecies ()
 The default destructor. More...
 
void read (std::istream &is)
 Reads the species properties from an input stream. More...
 
void write (std::ostream &os) const
 Writes the species properties to an output stream. More...
 
void setSlidingStiffness (Mdouble new_kt)
 Allows the spring constant to be changed. More...
 
Mdouble getSlidingStiffness () const
 Allows the spring constant to be accessed. More...
 
void setSlidingDissipation (Mdouble new_dispt)
 Allows the tangential viscosity to be changed. More...
 
Mdouble getSlidingDissipation () const
 Allows the tangential viscosity to be accessed. More...
 
void setSlidingFrictionCoefficient (Mdouble new_mu)
 Allows the (dynamic) Coulomb friction coefficient to be changed; also sets mu_s by default. More...
 
Mdouble getSlidingFrictionCoefficient () const
 Allows the (dynamic) Coulomb friction coefficient to be accessed. More...
 
void setSlidingFrictionCoefficientStatic (Mdouble new_mu)
 Allows the static Coulomb friction coefficient to be changed. More...
 
Mdouble getSlidingFrictionCoefficientStatic () const
 Allows the static Coulomb friction coefficient to be accessed. More...
 
bool getUseAngularDOFs () const override
 Returns true if torques have to be calculated. More...
 
void mix (SlidingFrictionSpecies *S, SlidingFrictionSpecies *T)
 creates default values for mixed species More...
 
void setCollisionTimeAndNormalAndTangentialRestitutionCoefficient (Mdouble tc, Mdouble eps, Mdouble beta, Mdouble mass)
 Sets k, disp, kt, dispt such that it matches a given tc and eps for a collision of two particles of masses m0,m1. More...
 
void setCollisionTimeAndNormalAndTangentialRestitutionCoefficientNoDispt (Mdouble tc, Mdouble eps, Mdouble beta, Mdouble mass)
 Sets k, disp, kt (with dispt=0) such that it matches a given tc and eps for a collision of two particles of mass m. More...
 
void setIsSuperquadricSpecies (bool isSuperquadricSpecies)
 
bool getIsSuperquadricSpecies () const
 
- Public Member Functions inherited from BaseForce
BaseSpeciesgetBaseSpecies () const
 
void setBaseSpecies (BaseSpecies *baseSpecies)
 

Private Attributes

Mdouble rollingStiffness_
 rolling stiffness. More...
 
Mdouble rollingDissipation_
 rolling dissipation coefficient. More...
 
Mdouble rollingFrictionCoefficient_
 (dynamic) Coulomb rolling friction coefficient. More...
 
Mdouble rollingFrictionCoefficientStatic_
 static Coulomb rolling friction coefficient
(by default set equal to the dynamic one). More...
 
Mdouble torsionStiffness_
 rolling stiffness. More...
 
Mdouble torsionDissipation_
 rolling dissipation coefficient. More...
 
Mdouble torsionFrictionCoefficient_
 (dynamic) Coulomb torsion friction coefficient. More...
 
Mdouble torsionFrictionCoefficientStatic_
 static Coulomb torsion friction coefficient
(by default set equal to the dynamic one). More...
 

Detailed Description

FrictionSpecies contains the parameters used to describe sliding, rolling and torsional friction.

See FrictionInteraction::computeForce for a description of the force law.

Todo:
TW: should this class be renamed SlidingRollingTorsionFrictionSpecies?

Member Typedef Documentation

◆ InteractionType

The correct Interaction type for this FrictionForceSpecies.

Constructor & Destructor Documentation

◆ FrictionSpecies() [1/2]

FrictionSpecies::FrictionSpecies ( )

The default constructor.

15 {
16  rollingStiffness_ = 0.0;
17  rollingDissipation_ = 0.0;
20  torsionStiffness_ = 0.0;
21  torsionDissipation_ = 0.0;
24 #ifdef DEBUG_CONSTRUCTOR
25  std::cout<<"FrictionSpecies::FrictionSpecies() finished"<<std::endl;
26 #endif
27 }
Mdouble rollingFrictionCoefficient_
(dynamic) Coulomb rolling friction coefficient.
Definition: FrictionSpecies.h:122
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 torsionDissipation_
rolling dissipation coefficient.
Definition: FrictionSpecies.h:144
Mdouble torsionFrictionCoefficientStatic_
static Coulomb torsion friction coefficient (by default set equal to the dynamic one).
Definition: FrictionSpecies.h:155
Mdouble torsionFrictionCoefficient_
(dynamic) Coulomb torsion friction coefficient.
Definition: FrictionSpecies.h:149
SlidingFrictionSpecies()
The default constructor.
Definition: SlidingFrictionSpecies.cc:15

References rollingDissipation_, rollingFrictionCoefficient_, rollingFrictionCoefficientStatic_, rollingStiffness_, torsionDissipation_, torsionFrictionCoefficient_, torsionFrictionCoefficientStatic_, and torsionStiffness_.

◆ FrictionSpecies() [2/2]

FrictionSpecies::FrictionSpecies ( const FrictionSpecies s)

The default copy constructor.

Parameters
[in]sthe species that is copied
34 {
35  rollingStiffness_ = s.rollingStiffness_;
36  rollingDissipation_ = s.rollingDissipation_;
37  rollingFrictionCoefficient_ = s.rollingFrictionCoefficient_;
38  rollingFrictionCoefficientStatic_ = s.rollingFrictionCoefficientStatic_;
39  torsionStiffness_ = s.torsionStiffness_;
40  torsionDissipation_ = s.torsionDissipation_;
41  torsionFrictionCoefficient_ = s.torsionFrictionCoefficient_;
42  torsionFrictionCoefficientStatic_ = s.torsionFrictionCoefficientStatic_;
43 #ifdef DEBUG_CONSTRUCTOR
44  std::cout<<"FrictionSpecies::FrictionSpecies(const FrictionSpecies &p) finished"<<std::endl;
45 #endif
46 }
RealScalar s
Definition: level1_cplx_impl.h:130

References rollingDissipation_, rollingFrictionCoefficient_, rollingFrictionCoefficientStatic_, rollingStiffness_, s, torsionDissipation_, torsionFrictionCoefficient_, torsionFrictionCoefficientStatic_, and torsionStiffness_.

◆ ~FrictionSpecies()

FrictionSpecies::~FrictionSpecies ( )

The default destructor.

49 {
50 #ifdef DEBUG_DESTRUCTOR
51  std::cout<<"FrictionSpecies::~FrictionSpecies() finished"<<std::endl;
52 #endif
53 }

Member Function Documentation

◆ getBaseName()

std::string FrictionSpecies::getBaseName ( ) const
overridevirtual

Used in Species::getName to obtain a unique name for each Species.

Returns
a string containing the name of the species (minus the word "Species")

Reimplemented from SlidingFrictionSpecies.

92 {
93  return "Friction";
94 }

◆ getRollingDissipation()

Mdouble FrictionSpecies::getRollingDissipation ( ) const

Allows the tangential viscosity to be accessed.

159 {
160  return rollingDissipation_;
161 }

References rollingDissipation_.

Referenced by FrictionInteraction::computeFrictionForce().

◆ getRollingFrictionCoefficient()

Mdouble FrictionSpecies::getRollingFrictionCoefficient ( ) const

Allows the (dynamic) Coulomb friction coefficient to be accessed.

178 {
180 }

References rollingFrictionCoefficient_.

Referenced by Slide::actionsBeforeTimeStep(), FrictionInteraction::computeFrictionForce(), and RotatingDrumBidisperseInitialise::RotatingDrumBidisperseInitialise().

◆ getRollingFrictionCoefficientStatic()

Mdouble FrictionSpecies::getRollingFrictionCoefficientStatic ( ) const

Allows the static Coulomb rolling friction coefficient to be accessed.

Allows the static Coulomb friction coefficient to be accessed.

195 {
197 }

References rollingFrictionCoefficientStatic_.

Referenced by FrictionInteraction::computeFrictionForce().

◆ getRollingStiffness()

Mdouble FrictionSpecies::getRollingStiffness ( ) const

Allows the spring constant to be accessed.

142 {
143  return rollingStiffness_;
144 }

References rollingStiffness_.

Referenced by FrictionInteraction::computeFrictionForce(), and FrictionInteraction::getElasticEnergy().

◆ getTorsionDissipation()

Mdouble FrictionSpecies::getTorsionDissipation ( ) const

Allows the torsion viscosity to be accessed.

Allows the tangential viscosity to be accessed.

232 {
233  return torsionDissipation_;
234 }

References torsionDissipation_.

Referenced by FrictionInteraction::computeFrictionForce().

◆ getTorsionFrictionCoefficient()

Mdouble FrictionSpecies::getTorsionFrictionCoefficient ( ) const

Allows the (dynamic) Coulomb torsion friction coefficient to be accessed.

Allows the (dynamic) Coulomb friction coefficient to be accessed.

253 {
255 }

References torsionFrictionCoefficient_.

Referenced by Slide::actionsBeforeTimeStep(), and FrictionInteraction::computeFrictionForce().

◆ getTorsionFrictionCoefficientStatic()

Mdouble FrictionSpecies::getTorsionFrictionCoefficientStatic ( ) const

Allows the static Coulomb torsion friction coefficient to be accessed.

Allows the static Coulomb friction coefficient to be accessed.

272 {
274 }

References torsionFrictionCoefficientStatic_.

Referenced by FrictionInteraction::computeFrictionForce().

◆ getTorsionStiffness()

Mdouble FrictionSpecies::getTorsionStiffness ( ) const

Allows the torsion stiffness to be accessed.

Allows the spring constant to be accessed.

215 {
216  return torsionStiffness_;
217 }

References torsionStiffness_.

Referenced by FrictionInteraction::computeFrictionForce(), and FrictionInteraction::getElasticEnergy().

◆ getUseAngularDOFs()

bool FrictionSpecies::getUseAngularDOFs ( ) const
overridevirtual

Returns true if torques have to be calculated.

Returns true for any FrictionForceSpecies except EmptyFrictionSpecies, because for spherical particles, torques are only caused by tangential forces. See SpeciesHandler::useAngularDOFs for more details

Returns
true

Implements BaseFrictionForce.

Reimplemented in Species< LinearViscoelasticNormalSpecies, FrictionSpecies >.

103 {
104  return true;
105 }

◆ mix()

void FrictionSpecies::mix ( FrictionSpecies S,
FrictionSpecies T 
)

creates default values for mixed species

For all parameters we assume that the harmonic mean of the parameters of the original two species is a sensible default.

Parameters
[in]S,Tthe two species whose properties are mixed to create the new species
113 {
115  rollingStiffness_ = BaseSpecies::average(S->getRollingStiffness(), T->getRollingStiffness());
116  rollingDissipation_ = BaseSpecies::average(S->getRollingDissipation(), T->getRollingDissipation());
117  rollingFrictionCoefficient_ = BaseSpecies::averageInf(S->getRollingFrictionCoefficient(), T->getRollingFrictionCoefficient());
118  rollingFrictionCoefficientStatic_ = BaseSpecies::averageInf(S->getRollingFrictionCoefficientStatic(),
119  T->getRollingFrictionCoefficientStatic());
120  torsionStiffness_ = BaseSpecies::average(S->getTorsionStiffness(), T->getTorsionStiffness());
121  torsionDissipation_ = BaseSpecies::average(S->getTorsionDissipation(), T->getTorsionDissipation());
122  torsionFrictionCoefficient_ = BaseSpecies::averageInf(S->getTorsionFrictionCoefficient(), T->getTorsionFrictionCoefficient());
123  torsionFrictionCoefficientStatic_ = BaseSpecies::averageInf(S->getTorsionFrictionCoefficientStatic(),
124  T->getTorsionFrictionCoefficientStatic());
125 }
static Mdouble average(Mdouble a, Mdouble b)
Returns the harmonic mean of two variables.
Definition: BaseSpecies.cc:89
static Mdouble averageInf(Mdouble a, Mdouble b)
Returns the harmonic mean of two variables, returning inf if either is inf.
Definition: BaseSpecies.cc:99
void mix(SlidingFrictionSpecies *S, SlidingFrictionSpecies *T)
creates default values for mixed species
Definition: SlidingFrictionSpecies.cc:175
@ S
Definition: quadtree.h:62

References BaseSpecies::average(), BaseSpecies::averageInf(), SlidingFrictionSpecies::mix(), rollingDissipation_, rollingFrictionCoefficient_, rollingFrictionCoefficientStatic_, rollingStiffness_, oomph::QuadTreeNames::S, torsionDissipation_, torsionFrictionCoefficient_, torsionFrictionCoefficientStatic_, and torsionStiffness_.

◆ read()

void FrictionSpecies::read ( std::istream &  is)

Reads the species properties from an input stream.

Parameters
[in]isinput stream (typically the restart file)
75 {
77  std::string dummy;
78  is >> dummy >> rollingStiffness_;
79  is >> dummy >> rollingDissipation_;
80  is >> dummy >> rollingFrictionCoefficient_;
81  is >> dummy >> rollingFrictionCoefficientStatic_;
82  is >> dummy >> torsionStiffness_;
83  is >> dummy >> torsionDissipation_;
84  is >> dummy >> torsionFrictionCoefficient_;
85  is >> dummy >> torsionFrictionCoefficientStatic_;
86 }
void read(std::istream &is)
Reads the species properties from an input stream.
Definition: SlidingFrictionSpecies.cc:64
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286

References SlidingFrictionSpecies::read(), rollingDissipation_, rollingFrictionCoefficient_, rollingFrictionCoefficientStatic_, rollingStiffness_, oomph::Global_string_for_annotation::string(), torsionDissipation_, torsionFrictionCoefficient_, torsionFrictionCoefficientStatic_, and torsionStiffness_.

◆ setRollingDissipation()

void FrictionSpecies::setRollingDissipation ( Mdouble  new_dispt)

Allows the tangential viscosity to be changed.

148 {
149  if (new_dispt >= 0)
150  rollingDissipation_ = new_dispt;
151  else
152  {
153  logger(ERROR, "Error in setRollingDissipation");
154  }
155 }
Logger< MERCURYDPM_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here.
@ ERROR

References ERROR, logger, and rollingDissipation_.

Referenced by BoundariesSelfTest::BoundariesSelfTest(), ParameterStudy1DDemo::createSpecies(), ParameterStudy2DDemo::createSpecies(), FluxAndPeriodicBoundarySelfTest::FluxAndPeriodicBoundarySelfTest(), FluxBoundarySelfTest::FluxBoundarySelfTest(), main(), MinimalExampleDrum::MinimalExampleDrum(), RotatingDrumBidisperseInitialise::RotatingDrumBidisperseInitialise(), Drum::setupInitialConditions(), MarbleRun::setupInitialConditions(), and Siegen::Siegen().

◆ setRollingFrictionCoefficient()

◆ setRollingFrictionCoefficientStatic()

void FrictionSpecies::setRollingFrictionCoefficientStatic ( Mdouble  new_mu)

Allows the static Coulomb rolling friction coefficient to be changed.

Allows the static Coulomb friction coefficient to be changed; also sets mu_s by default.

184 {
185  if (new_mu >= 0)
186  {
188  }
189  else
190  logger(ERROR, "[FrictionSpecies::setRollingFrictionCoefficientStatic(Mdouble)] The coefficient of friction must be nonnegative.");
191 }

References ERROR, logger, and rollingFrictionCoefficientStatic_.

◆ setRollingStiffness()

◆ setTorsionDissipation()

void FrictionSpecies::setTorsionDissipation ( Mdouble  new_dispt)

Allows the torsion viscosity to be changed.

Allows the tangential viscosity to be changed.

221 {
222  if (new_dispt >= 0)
223  torsionDissipation_ = new_dispt;
224  else
225  {
226  logger(ERROR, "Error in setTorsionDissipation");
227  }
228 }

References ERROR, logger, and torsionDissipation_.

Referenced by BoundariesSelfTest::BoundariesSelfTest(), FluxAndPeriodicBoundarySelfTest::FluxAndPeriodicBoundarySelfTest(), FluxBoundarySelfTest::FluxBoundarySelfTest(), MarbleRun::setupInitialConditions(), and Siegen::Siegen().

◆ setTorsionFrictionCoefficient()

void FrictionSpecies::setTorsionFrictionCoefficient ( Mdouble  new_mu)

Allows the (dynamic) Coulomb torsion friction coefficient to be changed; also sets mu_s by default.

Allows the (dynamic) Coulomb friction coefficient to be changed; also sets mu_s by default.

239 {
240  if (new_mu >= 0)
241  {
244  }
245  else
246  {
247  logger(ERROR, "Error in setSlidingFrictionCoefficient");
248  }
249 }

References ERROR, logger, torsionFrictionCoefficient_, and torsionFrictionCoefficientStatic_.

Referenced by Slide::actionsBeforeTimeStep(), BoundariesSelfTest::BoundariesSelfTest(), ParameterStudy1DDemo::createSpecies(), ParameterStudy2DDemo::createSpecies(), FluxAndPeriodicBoundarySelfTest::FluxAndPeriodicBoundarySelfTest(), FluxBoundarySelfTest::FluxBoundarySelfTest(), main(), MarbleRun::setTorsionFrictionCoefficient(), PeriodicWallsWithSlidingFrictionUnitTest::setupInitialConditions(), and Siegen::Siegen().

◆ setTorsionFrictionCoefficientStatic()

void FrictionSpecies::setTorsionFrictionCoefficientStatic ( Mdouble  new_mu)

Allows the static Coulomb torsion friction coefficient to be accessed.

Allows the static Coulomb friction coefficient to be changed; also sets mu_s by default.

259 {
260  if (new_mu >= 0)
261  {
263  }
264  else
265  {
266  logger(ERROR, "Error in setSlidingFrictionCoefficientStatic");
267  }
268 }

References ERROR, logger, and torsionFrictionCoefficientStatic_.

◆ setTorsionStiffness()

void FrictionSpecies::setTorsionStiffness ( Mdouble  new_kt)

Allows the torsion stiffness to be changed.

Allows the spring constant to be changed.

202 {
203  if (new_kt >= 0)
204  {
205  torsionStiffness_ = new_kt;
206  }
207  else
208  {
209  logger(ERROR, "Error in setTorsionStiffness");
210  }
211 }

References ERROR, logger, and torsionStiffness_.

Referenced by BoundariesSelfTest::BoundariesSelfTest(), ParameterStudy1DDemo::createSpecies(), ParameterStudy2DDemo::createSpecies(), FluxAndPeriodicBoundarySelfTest::FluxAndPeriodicBoundarySelfTest(), FluxBoundarySelfTest::FluxBoundarySelfTest(), main(), MarbleRun::setupInitialConditions(), PeriodicWallsWithSlidingFrictionUnitTest::setupInitialConditions(), and Siegen::Siegen().

◆ write()

void FrictionSpecies::write ( std::ostream &  os) const

Writes the species properties to an output stream.

Parameters
[out]osoutput stream (typically the restart file)
59 {
61  os << " rollingStiffness " << rollingStiffness_;
62  os << " rollingDissipation " << rollingDissipation_;
63  os << " rollingFrictionCoefficient " << rollingFrictionCoefficient_;
64  os << " rollingFrictionCoefficientStatic " << rollingFrictionCoefficientStatic_;
65  os << " torsionStiffness " << torsionStiffness_;
66  os << " torsionDissipation " << torsionDissipation_;
67  os << " torsionFrictionCoefficient " << torsionFrictionCoefficient_;
68  os << " torsionFrictionCoefficientStatic " << torsionFrictionCoefficientStatic_;
69 }
void write(std::ostream &os) const
Writes the species properties to an output stream.
Definition: SlidingFrictionSpecies.cc:52

References rollingDissipation_, rollingFrictionCoefficient_, rollingFrictionCoefficientStatic_, rollingStiffness_, torsionDissipation_, torsionFrictionCoefficient_, torsionFrictionCoefficientStatic_, torsionStiffness_, and SlidingFrictionSpecies::write().

Member Data Documentation

◆ rollingDissipation_

Mdouble FrictionSpecies::rollingDissipation_
private

rolling dissipation coefficient.

Typically set to 2/5 of the normal force dissipation, as both the tangential and the normal spring have the same restitution coefficients (if the rolling and normal stiffnesses also have a ratio of 2/5).

Referenced by FrictionSpecies(), getRollingDissipation(), mix(), read(), setRollingDissipation(), and write().

◆ rollingFrictionCoefficient_

Mdouble FrictionSpecies::rollingFrictionCoefficient_
private

(dynamic) Coulomb rolling friction coefficient.

Referenced by FrictionSpecies(), getRollingFrictionCoefficient(), mix(), read(), setRollingFrictionCoefficient(), and write().

◆ rollingFrictionCoefficientStatic_

Mdouble FrictionSpecies::rollingFrictionCoefficientStatic_
private

static Coulomb rolling friction coefficient
(by default set equal to the dynamic one).

Referenced by FrictionSpecies(), getRollingFrictionCoefficientStatic(), mix(), read(), setRollingFrictionCoefficient(), setRollingFrictionCoefficientStatic(), and write().

◆ rollingStiffness_

Mdouble FrictionSpecies::rollingStiffness_
private

rolling stiffness.

Typically set to 2/5 of the stiffness of the normal force, as
both the rolling and the normal spring have the same oscillation
frequency (and thus require the same timeStep)in this case.

Referenced by FrictionSpecies(), getRollingStiffness(), mix(), read(), setRollingStiffness(), and write().

◆ torsionDissipation_

Mdouble FrictionSpecies::torsionDissipation_
private

rolling dissipation coefficient.

Typically set to 2/5 of the normal force dissipation, as both the tangential and the normal spring have the same restitution coefficients (if the rolling and normal stiffnesses also have a ratio of 2/5).

Referenced by FrictionSpecies(), getTorsionDissipation(), mix(), read(), setTorsionDissipation(), and write().

◆ torsionFrictionCoefficient_

Mdouble FrictionSpecies::torsionFrictionCoefficient_
private

(dynamic) Coulomb torsion friction coefficient.

Referenced by FrictionSpecies(), getTorsionFrictionCoefficient(), mix(), read(), setTorsionFrictionCoefficient(), and write().

◆ torsionFrictionCoefficientStatic_

Mdouble FrictionSpecies::torsionFrictionCoefficientStatic_
private

static Coulomb torsion friction coefficient
(by default set equal to the dynamic one).

Referenced by FrictionSpecies(), getTorsionFrictionCoefficientStatic(), mix(), read(), setTorsionFrictionCoefficient(), setTorsionFrictionCoefficientStatic(), and write().

◆ torsionStiffness_

Mdouble FrictionSpecies::torsionStiffness_
private

rolling stiffness.

Typically set to 2/5 of the stiffness of the normal force, as
both the rolling and the normal spring have the same oscillation
frequency (and thus require the same timeStep)in this case.

Referenced by FrictionSpecies(), getTorsionStiffness(), mix(), read(), setTorsionStiffness(), and write().


The documentation for this class was generated from the following files: