43 #ifdef DEBUG_CONSTRUCTOR
44 std::cout<<
"HertzianSinterNormalSpecies::HertzianSinterNormalSpecies() finished"<<std::endl;
59 #ifdef DEBUG_CONSTRUCTOR
60 std::cout<<
"HertzianSinterNormalSpecies::HertzianSinterNormalSpecies(const HertzianSinterNormalSpecies &p) finished"<<std::endl;
66 #ifdef DEBUG_DESTRUCTOR
67 std::cout<<
"HertzianSinterNormalSpecies::~HertzianSinterNormalSpecies() finished"<<std::endl;
103 return "HertzianSinter";
129 if (loadingModulus <= 0 || unloadingModulusMax <= 1.000001*(loadingModulus+cohesionModulus) || cohesionModulus < 0 || penetrationDepthMax < 0)
131 std::cerr <<
"Error: arguments of setPlasticParameters do not make sense" << std::endl;
214 std::cerr <<
"Warning: Dissipation is not taken into account when computing the time step" << std::endl;
227 if (dissipation >= 0)
233 std::cerr <<
"Error in setDissipation(" << dissipation <<
")" << std::endl;
250 std::cerr <<
"Error in setSinterRate(" << sinterRate <<
")" << std::endl;
HertzianSinterNormalSpecies()
The default constructor.
Mdouble getLoadingModulus() const
Returns the loading stiffness of the linear plastic-viscoelastic normal force.
virtual ~HertzianSinterNormalSpecies()
The default destructor.
Mdouble computeTimeStep(Mdouble mass)
Returns the optimal time step to resolve a collision of two particles of a given mass.
Mdouble dissipation_
linear dissipation coefficient
void write(std::ostream &os) const
Writes the species properties to an output stream.
Mdouble unloadingModulusMax_
the maximum elastic constant (k_2^max) for plastic deformations
Mdouble getDissipation() const
Allows the normal dissipation to be accessed.
void mix(HertzianSinterNormalSpecies *const S, HertzianSinterNormalSpecies *const T)
creates default values for mixed species
void setPenetrationDepthMax(Mdouble penetrationDepthMax)
Sets the maximum penetration depth of the linear plastic-viscoelastic normal force.
Mdouble getSinterRate() const
Allows the normal dissipation to be accessed.
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
Mdouble getCohesionModulus() const
Returns the cohesive stiffness of the linear plastic-viscoelastic normal force.
Mdouble average(Mdouble a, Mdouble b)
defines the average of two variables by the harmonic mean.
void setSinterRate(Mdouble sinterRate)
Sets the linear dissipation coefficient of the linear plastic-viscoelastic normal force...
HertzianSinterNormalSpecies contains the parameters used to describe a plastic-cohesive normal force ...
void setCohesionModulus(Mdouble cohesionModulus)
Sets the cohesive stiffness of the linear plastic-viscoelastic normal force.
void read(std::istream &is)
Reads the species properties from an input stream.
void setLoadingModulus(Mdouble loadingModulus)
Sets the loading stiffness of the linear plastic-viscoelastic normal force.
Mdouble cohesionModulus_
the adhesive spring constant (k^c) for plastic deformations
Defines the basic properties that a interactable object can have.
Mdouble getDensity() const
Allows density_ to be accessed.
void setDissipation(Mdouble dissipation)
Sets the linear dissipation coefficient of the linear plastic-viscoelastic normal force...
Mdouble loadingModulus_
(normal) spring constant (k_1)
void setPlasticParameters(Mdouble loadingModulus, Mdouble unloadingModulusMax, Mdouble cohesionModulus, Mdouble penetrationDepthMax)
Sets all parameters of the linear plastic-viscoelastic normal force at once.
Mdouble getUnloadingModulusMax() const
Returns the maximum unloading stiffness of the linear plastic-viscoelastic normal force...
void setUnloadingModulusMax(Mdouble unloadingModulusMax)
Sets the maximum unloading stiffness of the linear plastic-viscoelastic normal force.
Mdouble getPenetrationDepthMax() const
Returns the maximum penetration depth of the linear plastic-viscoelastic normal force.
Mdouble penetrationDepthMax_
the depth (relative to the normalized radius) at which k_2^max is used (phi_f)