5 #ifndef SinterNormalSpecies_H
6 #define SinterNormalSpecies_H
41 void read(std::istream& is);
44 void write(std::ostream& os)
const;
#define MERCURYDPM_DEPRECATED
Definition: GeneralDefine.h:16
SINTERTYPE
Definition: SinterNormalSpecies.h:14
@ TEMPERATURE_DEPENDENT_FRENKEL
float * p
Definition: Tutorial_Map_using.cpp:9
Definition: BaseNormalForce.h:11
Computes normal forces in case of a linear plastic visco-elastic interaction.
Definition: SinterInteraction.h:19
SinterNormalSpecies contains the parameters used to describe a plastic-cohesive normal force (Stefan ...
Definition: SinterNormalSpecies.h:26
Mdouble getUnloadingStiffnessMax() const
Returns the maximum unloading stiffness of the linear plastic-viscoelastic normal force.
Definition: SinterNormalSpecies.cc:169
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: SinterNormalSpecies.cc:493
void setTemperatureDependentSinterRate(std::function< double(double temperature)> temperatureDependentSinterRate)
Definition: SinterNormalSpecies.cc:457
void setCohesionStiffness(Mdouble cohesionStiffness)
Sets the cohesive stiffness of the linear plastic-viscoelastic normal force.
Definition: SinterNormalSpecies.cc:209
Mdouble sinterAdhesion_
Definition: SinterNormalSpecies.h:223
SinterInteraction InteractionType
The correct Interaction type for this FrictionForceSpecies.
Definition: SinterNormalSpecies.h:29
void write(std::ostream &os) const
Writes the species properties to an output stream.
Definition: SinterNormalSpecies.cc:69
Mdouble getComplianceZero() const
Definition: SinterNormalSpecies.cc:422
std::function< double(double temperature)> getTemperatureDependentSinterRate() const
Definition: SinterNormalSpecies.cc:452
Mdouble computeTimeStep(Mdouble mass)
Returns the optimal time step to resolve a collision of two particles of a given mass.
Definition: SinterNormalSpecies.cc:226
Mdouble cohesionStiffness_
the adhesive spring constant (k^c) for plastic deformations
Definition: SinterNormalSpecies.h:212
Mdouble getCollisionTime(Mdouble mass)
Calculates collision time for two copies of a particle of given disp, k, mass.
Definition: SinterNormalSpecies.cc:509
Mdouble getPenetrationDepthMax() const
Returns the maximum penetration depth of the linear plastic-viscoelastic normal force.
Definition: SinterNormalSpecies.cc:185
~SinterNormalSpecies()
The default destructor.
Definition: SinterNormalSpecies.cc:59
Mdouble getSeparationDis() const
Definition: SinterNormalSpecies.cc:437
void setInverseSinterViscosity(Mdouble inverseSinterViscosity)
Sets inverseSinterViscosity_.
Definition: SinterNormalSpecies.cc:337
void mix(SinterNormalSpecies *S, SinterNormalSpecies *T)
creates default values for mixed species
Definition: SinterNormalSpecies.cc:122
Mdouble getConstantC1() const
Definition: SinterNormalSpecies.cc:432
Mdouble unloadingStiffnessMax_
the maximum elastic constant (k_2^max) for plastic deformations
Definition: SinterNormalSpecies.h:209
std::function< double(double temperature)> temperatureDependentSinterRate_
Definition: SinterNormalSpecies.h:267
Mdouble penetrationDepthMax_
the depth (relative to the normalized radius) at which k_2^max is used (phi_f)
Definition: SinterNormalSpecies.h:215
void read(std::istream &is)
Reads the species properties from an input stream.
Definition: SinterNormalSpecies.cc:89
void setSurfTension(Mdouble complianceZero)
Definition: SinterNormalSpecies.cc:284
Mdouble getDissipation() const
Allows the normal dissipation to be accessed.
Definition: SinterNormalSpecies.cc:393
void setSinterAdhesion(Mdouble sinterAdhesion)
Sets sinterAdhesion_.
Definition: SinterNormalSpecies.cc:253
SinterNormalSpecies()
The default constructor.
Definition: SinterNormalSpecies.cc:14
Mdouble getInverseSinterViscosity() const
Accesses inverseSinterViscosity_.
Definition: SinterNormalSpecies.cc:409
void setPlasticParameters(Mdouble loadingStiffness, Mdouble unloadingStiffnessMax, Mdouble cohesionStiffness, Mdouble penetrationDepthMax)
Sets all parameters of the linear plastic-viscoelastic normal force at once.
Definition: SinterNormalSpecies.cc:144
void setSinterForceAndTime(Mdouble adhesionForce, Mdouble sinterTime, Mdouble radius)
Definition: SinterNormalSpecies.cc:348
Mdouble getSinterAdhesion() const
Accesses sinterAdhesion_.
Definition: SinterNormalSpecies.cc:401
void setSeparationDis(Mdouble separationDis)
Definition: SinterNormalSpecies.cc:302
Mdouble complianceZero_
Definition: SinterNormalSpecies.h:238
void setLoadingStiffness(Mdouble loadingStiffness)
Sets the loading stiffness of the linear plastic-viscoelastic normal force.
Definition: SinterNormalSpecies.cc:193
void setSinterRate(Mdouble sinterRate)
Sets sinterRate_.
Definition: SinterNormalSpecies.cc:266
void setPenetrationDepthMax(Mdouble penetrationDepthMax)
Sets the maximum penetration depth of the linear plastic-viscoelastic normal force.
Definition: SinterNormalSpecies.cc:217
void setConstantC1(Mdouble constantC1_)
Definition: SinterNormalSpecies.cc:293
Mdouble surfTension_
Definition: SinterNormalSpecies.h:244
SINTERTYPE getSinterType() const
Definition: SinterNormalSpecies.cc:442
Mdouble getSinterRate() const
Accesses sinterRate_.
Definition: SinterNormalSpecies.cc:417
Mdouble separationDis_
Definition: SinterNormalSpecies.h:255
void setSinterType(SINTERTYPE sinterType)
Sets sinterRate_.
Definition: SinterNormalSpecies.cc:318
Mdouble getSurfTension() const
Definition: SinterNormalSpecies.cc:427
Mdouble inverseSinterViscosity_
Definition: SinterNormalSpecies.h:228
void setComplianceZero(Mdouble complianceZero)
Definition: SinterNormalSpecies.cc:275
MERCURYDPM_DEPRECATED void setLoadingStiffnessAndDissipation(helpers::KAndDisp new_)
Allows the spring and dissipation constants to be changed simultaneously.
Definition: SinterNormalSpecies.cc:384
SINTERTYPE sinterType_
sinterType options determin how the rate of sintering, d(equilibriumOverlap)/dt is computed PARHAMI_M...
Definition: SinterNormalSpecies.h:262
void setParhamiMcKeeping(Mdouble alpha, Mdouble beta, Mdouble atomicVolume, Mdouble surfaceEnergy, Mdouble thicknessDiffusion, Mdouble activationEnergy, Mdouble temperature)
Sets the sinterAdhesion_ and inverseSinterViscosity_ based on the Parhami-McKeeping parameters.
Definition: SinterNormalSpecies.cc:363
void setCollisionTimeAndRestitutionCoefficient(Mdouble tc, Mdouble eps, Mdouble mass)
Definition: SinterNormalSpecies.cc:471
void setDissipation(Mdouble dissipation)
Sets the linear dissipation coefficient of the linear plastic-viscoelastic normal force.
Definition: SinterNormalSpecies.cc:240
Mdouble sinterRate_
Definition: SinterNormalSpecies.h:233
Mdouble getLoadingStiffness() const
Returns the loading stiffness of the linear plastic-viscoelastic normal force.
Definition: SinterNormalSpecies.cc:161
Mdouble loadingStiffness_
(normal) spring constant (k_1)
Definition: SinterNormalSpecies.h:206
Mdouble getCohesionStiffness() const
Returns the cohesive stiffness of the linear plastic-viscoelastic normal force.
Definition: SinterNormalSpecies.cc:177
Mdouble constantC1_
Definition: SinterNormalSpecies.h:250
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
Definition: SinterNormalSpecies.cc:112
void setUnloadingStiffnessMax(Mdouble unloadingStiffnessMax)
Sets the maximum unloading stiffness of the linear plastic-viscoelastic normal force.
Definition: SinterNormalSpecies.cc:201
Mdouble dissipation_
linear dissipation coefficient
Definition: SinterNormalSpecies.h:218
RealScalar alpha
Definition: level1_cplx_impl.h:151
Scalar beta
Definition: level2_cplx_impl.h:36
double eps
Definition: crbond_bessel.cc:24
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286
@ S
Definition: quadtree.h:62
return type specifically for fuctions returning k and disp at once
Definition: FormulaHelpers.h:17