26 #ifndef HertzianViscoelasticNormalSpecies_H
27 #define HertzianViscoelasticNormalSpecies_H
52 void read(std::istream& is);
55 void write(std::ostream& os)
const;
void setElasticModulus(Mdouble elasticModulus)
Allows the spring constant to be changed.
BaseSpecies is the class from which all other species are derived.
Mdouble getElasticModulus() const
Allows the spring constant to be accessed.
void mix(HertzianViscoelasticNormalSpecies *const SBase, HertzianViscoelasticNormalSpecies *const TBase)
Calculates collision time for two copies of a particle of given disp, k, mass.
Mdouble elasticModulus_
normal spring constant
Mdouble getCollisionTime(Mdouble particleDiameter, Mdouble particleDensity, Mdouble relativeVelocity) const
Used in Species::getName to obtain a unique name for each Species.
Computes normal forces for a Herztian visco-elastic interaction.
void read(std::istream &is)
Reads the species properties from an input stream.
void setDissipation(Mdouble dissipation)
Allows the normal dissipation to be changed.
HertzianViscoelasticInteraction InteractionType
The correct Interaction type for this FrictionForceSpecies.
HertzianViscoelasticNormalSpecies()
The default constructor.
Mdouble getDissipation() const
Allows the normal dissipation to be accessed.
void setElasticModulusAndRestitutionCoefficient(Mdouble elasticModulus, Mdouble rest)
Allows the spring constant to be changed.
Mdouble dissipation_
normal dissipation constant
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
void write(std::ostream &os) const
Writes the species properties to an output stream.
HertzianViscoelasticNormalSpecies contains the parameters used to describe a Hertzian normal force (T...
virtual ~HertzianViscoelasticNormalSpecies()
The default destructor.