26 #ifndef LinearPlasticViscoelasticNormalSpecies_H
27 #define LinearPlasticViscoelasticNormalSpecies_H
56 void read(std::istream& is);
59 void write(std::ostream& os)
const;
#define MERCURYDPM_DEPRECATED
Definition: GeneralDefine.h:37
Definition: BaseNormalForce.h:32
Computes normal forces in case of a linear plastic visco-elastic interaction.
Definition: LinearPlasticViscoelasticInteraction.h:40
LinearPlasticViscoelasticNormalSpecies contains the parameters used to describe a plastic-cohesive no...
Definition: LinearPlasticViscoelasticNormalSpecies.h:41
Mdouble computeTimeStep(Mdouble mass)
Returns the optimal time step to resolve a collision of two particles of a given mass.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:219
Mdouble getLoadingStiffness() const
Returns the loading stiffness of the linear plastic-viscoelastic normal force.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:153
Mdouble loadingStiffness_
(normal) spring constant (k_1)
Definition: LinearPlasticViscoelasticNormalSpecies.h:175
Mdouble getRestitutionCoefficient(Mdouble mass) const
Calculates restitution coefficient for two copies of given disp, k, mass.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:332
LinearPlasticViscoelasticInteraction InteractionType
The correct Interaction type for this FrictionForceSpecies.
Definition: LinearPlasticViscoelasticNormalSpecies.h:44
Mdouble cohesionStiffness_
the adhesive spring constant (k^c) for plastic deformations
Definition: LinearPlasticViscoelasticNormalSpecies.h:181
void setStiffnessAndRestitutionCoefficient(Mdouble k_, Mdouble eps, Mdouble mass)
Sets k, disp such that it matches a given tc and eps for a collision of two copies of P.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:286
Mdouble getCohesionStiffness() const
Returns the cohesive stiffness of the linear plastic-viscoelastic normal force.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:169
void setUnloadingStiffnessMax(Mdouble unloadingStiffnessMax)
Sets the maximum unloading stiffness of the linear plastic-viscoelastic normal force.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:193
Mdouble getPenetrationDepthMax() const
Returns the maximum penetration depth of the linear plastic-viscoelastic normal force.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:177
~LinearPlasticViscoelasticNormalSpecies()
The default destructor.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:68
LinearPlasticViscoelasticNormalSpecies()
The default constructor.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:36
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:105
void write(std::ostream &os) const
Writes the species properties to an output stream.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:78
void setPlasticParameters(Mdouble loadingStiffness, Mdouble unloadingStiffnessMax, Mdouble cohesionStiffness, Mdouble penetrationDepthMax)
Sets all parameters of the linear plastic-viscoelastic normal force at once.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:134
void setCollisionTimeAndRestitutionCoefficient(Mdouble tc, Mdouble eps, Mdouble mass)
Definition: LinearPlasticViscoelasticNormalSpecies.cc:262
MERCURYDPM_DEPRECATED void setLoadingStiffnessAndDissipation(helpers::KAndDisp new_)
Allows the spring and dissipation constants to be changed simultaneously.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:239
void setLoadingStiffness(Mdouble loadingStiffness)
Sets the loading stiffness of the linear plastic-viscoelastic normal force.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:185
Mdouble unloadingStiffnessMax_
the maximum elastic constant (k_2^max) for plastic deformations
Definition: LinearPlasticViscoelasticNormalSpecies.h:178
void setCohesionStiffness(Mdouble cohesionStiffness)
Sets the cohesive stiffness of the linear plastic-viscoelastic normal force.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:201
void setDissipation(Mdouble dissipation)
Sets the linear dissipation coefficient of the linear plastic-viscoelastic normal force.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:230
void setPenetrationDepthMax(Mdouble penetrationDepthMax)
Sets the maximum penetration depth of the linear plastic-viscoelastic normal force.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:209
Mdouble getUnloadingStiffnessMax() const
Returns the maximum unloading stiffness of the linear plastic-viscoelastic normal force.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:161
Mdouble dissipation_
linear dissipation coefficient
Definition: LinearPlasticViscoelasticNormalSpecies.h:187
Mdouble computeBondNumberMax(Mdouble harmonicMeanRadius, Mdouble gravitationalAcceleration) const
1) Computes the maximum plastic overlap delta_p* = phi*r 2) Computes the overlap at which the maximum...
Definition: LinearPlasticViscoelasticNormalSpecies.cc:339
bool doConstantUnloadingStiffness_
Definition: LinearPlasticViscoelasticNormalSpecies.h:190
void mix(LinearPlasticViscoelasticNormalSpecies *S, LinearPlasticViscoelasticNormalSpecies *T)
creates default values for mixed species
Definition: LinearPlasticViscoelasticNormalSpecies.cc:115
bool getDoConstantUnloadingStiffness() const
Definition: LinearPlasticViscoelasticNormalSpecies.h:169
void read(std::istream &is)
Reads the species properties from an input stream.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:91
void setDoConstantUnloadingStiffness(bool doConstantUnloadingStiffness)
Definition: LinearPlasticViscoelasticNormalSpecies.h:171
Mdouble penetrationDepthMax_
the depth (relative to the normalized radius) at which k_2^max is used (phi_f)
Definition: LinearPlasticViscoelasticNormalSpecies.h:184
Mdouble getDissipation() const
Allows the normal dissipation to be accessed.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:248
Mdouble getCollisionTime(Mdouble mass) const
Calculates collision time for two copies of a particle of given disp, k, mass.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:317
void setRestitutionCoefficient(double eps, Mdouble mass)
Sets disp to obtain a restitution coefficient eps for a collision of two particles of mass m.
Definition: LinearPlasticViscoelasticNormalSpecies.cc:300
return type specifically for fuctions returning k and disp at once
Definition: FormulaHelpers.h:38