MindlinRollingTorsionSpecies.h
Go to the documentation of this file.
1 // This file is part of the MercuryDPM project (https://www.mercurydpm.org).
2 // Copyright (c), The MercuryDPM Developers Team. All rights reserved.
3 // License: BSD 3-Clause License; see the LICENSE file in the root directory.
4 
5 #ifndef MindlinRollingTorsionSpecies_H
6 #define MindlinRollingTorsionSpecies_H
7 
8 #include "MindlinSpecies.h"
9 #include "Math/ExtendedMath.h"
11 
18 {
19 public:
22 
25 
28 
31 
33  void read(std::istream& is);
34 
36  void write(std::ostream& os) const;
37 
39  std::string getBaseName() const override;
40 
44  bool getUseAngularDOFs() const override;
45 
48 
49 //setters and getters
50 
52  //void setRollingStiffness(Mdouble new_kt);
53 
55  //Mdouble getRollingStiffness() const;
56 
58  void setRollingDissipation(Mdouble new_dispt);
59 
62 
64  //mu has to be set to allow tangential forces (sets dispt=disp as default)
66 
69 
72 
75 
76 // ///Allows the torsion stiffness to be changed
77 // void setTorsionStiffness(Mdouble new_kt);
78 //
79 // ///Allows the torsion stiffness to be accessed
80 // Mdouble getTorsionStiffness() const;
81 
83  void setTorsionDissipation(Mdouble new_dispt);
84 
87 
89  //mu has to be set to allow tangential forces (sets dispt=disp as default)
91 
94 
97 
100 
101 private:
109 
117 
118 
123 
129 
137 
145 
150 
156 };
157 
158 #endif
This class allows one to take all three types of frictional interactions into account....
Definition: MindlinRollingTorsionInteraction.h:24
MindlinRollingTorsionSpecies contains the parameters used to describe sliding, rolling and torsional ...
Definition: MindlinRollingTorsionSpecies.h:18
Mdouble getTorsionFrictionCoefficient() const
Allows the (dynamic) Coulomb torsion friction coefficient to be accessed.
Definition: MindlinRollingTorsionSpecies.cc:255
void read(std::istream &is)
Reads the species properties from an input stream.
Definition: MindlinRollingTorsionSpecies.cc:74
void write(std::ostream &os) const
Writes the species properties to an output stream.
Definition: MindlinRollingTorsionSpecies.cc:58
Mdouble getTorsionDissipation() const
Allows the torsion viscosity to be accessed.
Definition: MindlinRollingTorsionSpecies.cc:234
Mdouble getTorsionFrictionCoefficientStatic() const
Allows the static Coulomb torsion friction coefficient to be accessed.
Definition: MindlinRollingTorsionSpecies.cc:274
Mdouble rollingFrictionCoefficientStatic_
static Coulomb rolling friction coefficient (by default set equal to the dynamic one).
Definition: MindlinRollingTorsionSpecies.h:128
void setTorsionFrictionCoefficientStatic(Mdouble new_mu)
Allows the static Coulomb torsion friction coefficient to be accessed.
Definition: MindlinRollingTorsionSpecies.cc:261
Mdouble getRollingFrictionCoefficient() const
Allows the (dynamic) Coulomb friction coefficient to be accessed.
Definition: MindlinRollingTorsionSpecies.cc:178
MindlinRollingTorsionInteraction InteractionType
The correct Interaction type for this FrictionForceSpecies.
Definition: MindlinRollingTorsionSpecies.h:21
void setRollingFrictionCoefficientStatic(Mdouble new_mu)
Allows the static Coulomb rolling friction coefficient to be changed.
Definition: MindlinRollingTorsionSpecies.cc:184
void setTorsionFrictionCoefficient(Mdouble new_mu)
Allows the (dynamic) Coulomb torsion friction coefficient to be changed; also sets mu_s by default.
Definition: MindlinRollingTorsionSpecies.cc:241
~MindlinRollingTorsionSpecies()
The default destructor.
Definition: MindlinRollingTorsionSpecies.cc:48
MindlinRollingTorsionSpecies()
The default constructor.
Definition: MindlinRollingTorsionSpecies.cc:13
Mdouble torsionDissipation_
rolling dissipation coefficient.
Definition: MindlinRollingTorsionSpecies.h:144
Mdouble getRollingDissipation() const
Allows the tangential viscosity to be accessed.
Definition: MindlinRollingTorsionSpecies.cc:157
Mdouble getRollingFrictionCoefficientStatic() const
Allows the static Coulomb rolling friction coefficient to be accessed.
Definition: MindlinRollingTorsionSpecies.cc:197
bool getUseAngularDOFs() const override
Returns true if torques have to be calculated.
Definition: MindlinRollingTorsionSpecies.cc:102
Mdouble torsionFrictionCoefficient_
(dynamic) Coulomb torsion friction coefficient.
Definition: MindlinRollingTorsionSpecies.h:149
std::string getBaseName() const override
Used in Species::getName to obtain a unique name for each Species.
Definition: MindlinRollingTorsionSpecies.cc:91
Mdouble rollingStiffness_
rolling stiffness.
Definition: MindlinRollingTorsionSpecies.h:108
Mdouble rollingFrictionCoefficient_
(dynamic) Coulomb rolling friction coefficient.
Definition: MindlinRollingTorsionSpecies.h:122
Mdouble rollingDissipation_
rolling dissipation coefficient.
Definition: MindlinRollingTorsionSpecies.h:116
Mdouble torsionStiffness_
rolling stiffness.
Definition: MindlinRollingTorsionSpecies.h:136
void setRollingDissipation(Mdouble new_dispt)
Allows the spring constant to be changed.
Definition: MindlinRollingTorsionSpecies.cc:146
void setRollingFrictionCoefficient(Mdouble new_mu)
Allows the (dynamic) Coulomb friction coefficient to be changed; also sets mu_s by default.
Definition: MindlinRollingTorsionSpecies.cc:164
Mdouble torsionFrictionCoefficientStatic_
static Coulomb torsion friction coefficient (by default set equal to the dynamic one).
Definition: MindlinRollingTorsionSpecies.h:155
void mix(MindlinRollingTorsionSpecies *S, MindlinRollingTorsionSpecies *T)
creates default values for mixed species
Definition: MindlinRollingTorsionSpecies.cc:112
void setTorsionDissipation(Mdouble new_dispt)
Allows the torsion viscosity to be changed.
Definition: MindlinRollingTorsionSpecies.cc:223
MindlinSpecies contains the parameters used to describe sliding friction.
Definition: MindlinSpecies.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