ESyS-Particle
4.0.1
|
Frictional+ViscoElastic interaction between particles. More...
#include <HertzianViscoElasticFrictionInteraction.h>
Public Types | |
typedef CHertzianViscoElasticFrictionIGP | ParameterType |
typedef double(CHertzianViscoElasticFrictionInteraction::* | ScalarFieldFunction )() const |
typedef std::pair< bool, double > (CHertzianViscoElasticFrictionInteraction::* | CheckedScalarFieldFunction )() const |
typedef Vec3(CHertzianViscoElasticFrictionInteraction::* | VectorFieldFunction )() const |
Public Member Functions | |
CHertzianViscoElasticFrictionInteraction (CParticle *, CParticle *) | |
CHertzianViscoElasticFrictionInteraction (CParticle *, CParticle *, const CHertzianViscoElasticFrictionIGP &) | |
virtual void | calcForces () |
virtual bool | isPersistent () |
void | setTimeStepSize (double dt) |
std::pair< bool, double > | getAbsFrictionalForce () const |
std::pair< bool, double > | getAbsFN () const |
std::pair< bool, double > | getAbsMuFN () const |
std::pair< bool, double > | getSlipVelocity () const |
std::pair< bool, double > | getNormalStress () const |
std::pair< bool, double > | getMaxFricStress () const |
std::pair< bool, double > | getAbsFrictionalStress () const |
double | getAbsForceDeficit () const |
double | getPotentialEnergy () const |
double | getSlipping () const |
double | getSticking () const |
double | getDissipatedEnergy () const |
double | Count () const |
Vec3 | getForce () const |
Vec3 | getNormalForce () const |
virtual Vec3 | getPos () const |
std::pair< bool, double > | getMuEff (const Vec3 &, const Vec3 &) const |
std::pair< bool, double > | getMuEffXY () const |
std::pair< bool, double > | getMuEffXZ () const |
Static Public Member Functions | |
static ScalarFieldFunction | getScalarFieldFunction (const string &) |
static CheckedScalarFieldFunction | getCheckedScalarFieldFunction (const string &) |
static VectorFieldFunction | getVectorFieldFunction (const string &) |
static string | getType () |
Protected Attributes | |
double | m_A |
Dissipative constant. | |
double | m_E |
Young's modulus. | |
double | m_nu |
Poisson ratio. | |
double | m_r0 |
equilibrium distance | |
double | m_mu |
coefficient of friction | |
double | m_ks |
shear stiffness (Cundall) | |
double | m_dt |
time step | |
Vec3 | m_Ffric |
current frictional force | |
Vec3 | m_force_deficit |
difference between fric. force & force necessary for slip | |
Vec3 | m_cpos |
contact position | |
Vec3 | m_normal_force |
current normal force | |
double | m_dn |
caching displacement for E_pot | |
bool | m_is_slipping |
static/dynamic status of the interaction | |
bool | m_is_touching |
contact status of the interaction | |
double | m_E_diss |
dissipated energy | |
Friends | |
class | TML_PackedMessageInterface |
std::ostream & | operator<< (std::ostream &, const CHertzianViscoElasticFrictionInteraction &) |
Frictional+ViscoElastic interaction between particles.
CHertzianViscoElasticFrictionInteraction::CHertzianViscoElasticFrictionInteraction | ( | CParticle * | p1, |
CParticle * | p2 | ||
) |
constructor for CHertzianViscoElasticFrictionInteraction without friction and viscoelastic parameters, only calls the constructor of APairInteraction with the 2 particle pointers
void CHertzianViscoElasticFrictionInteraction::calcForces | ( | ) | [virtual] |
Calculate viscoelastic and frictional forces.
Implements APairInteraction.
References CParticle::applyForce(), m_A, m_cpos, m_dn, m_dt, m_E, m_E_diss, m_Ffric, m_force_deficit, m_is_slipping, m_is_touching, m_ks, m_mu, m_normal_force, and m_nu.
double CHertzianViscoElasticFrictionInteraction::Count | ( | ) | const |
return 1 if particles are in contact, 0 otherwise
Reimplemented from AInteraction.
References m_is_touching.
Referenced by getScalarFieldFunction().
pair< bool, double > CHertzianViscoElasticFrictionInteraction::getAbsFN | ( | ) | const |
get current normal force
References m_is_touching, and m_normal_force.
Referenced by getCheckedScalarFieldFunction().
double CHertzianViscoElasticFrictionInteraction::getAbsForceDeficit | ( | ) | const |
get the force needed to overcome friction and make the interaction slip
References m_force_deficit.
pair< bool, double > CHertzianViscoElasticFrictionInteraction::getAbsFrictionalForce | ( | ) | const |
get current frictional/stopping force
References m_Ffric.
Referenced by getCheckedScalarFieldFunction().
pair< bool, double > CHertzianViscoElasticFrictionInteraction::getAbsFrictionalStress | ( | ) | const |
get current frictional/stopping stress (f_fric/r^2)
References m_Ffric.
Referenced by getCheckedScalarFieldFunction().
pair< bool, double > CHertzianViscoElasticFrictionInteraction::getAbsMuFN | ( | ) | const |
get max. frictional force, i.e. coeff. of friction * normal force
References m_A, m_E, and m_nu.
Referenced by getCheckedScalarFieldFunction().
CHertzianViscoElasticFrictionInteraction::CheckedScalarFieldFunction CHertzianViscoElasticFrictionInteraction::getCheckedScalarFieldFunction | ( | const string & | name | ) | [static] |
Get the particle member function which returns a checked scalar field of a given name.
name | the name of the field |
References getAbsFN(), getAbsFrictionalForce(), getAbsFrictionalStress(), getAbsMuFN(), getMaxFricStress(), getNormalStress(), and getSlipVelocity().
double CHertzianViscoElasticFrictionInteraction::getDissipatedEnergy | ( | ) | const |
return the amount of energy dissipated during the last time step
References m_E_diss.
Referenced by getScalarFieldFunction().
get net force on particle1 imposed by this interaction. Returns Vec3::ZERO if particles are not in contact.
References m_Ffric, m_is_touching, and m_normal_force.
Referenced by getVectorFieldFunction().
pair< bool, double > CHertzianViscoElasticFrictionInteraction::getMaxFricStress | ( | ) | const |
get max. frictional stress, i.e. coeff. of friction * normal stress
References m_A, m_E, and m_nu.
Referenced by getCheckedScalarFieldFunction().
pair< bool, double > CHertzianViscoElasticFrictionInteraction::getMuEff | ( | const Vec3 & | dir, |
const Vec3 & | norm | ||
) | const |
Calculate effective coefficient of friction for this interaction for a given direction of the applied shear force. If the effective coefficient of friction is infinite, -1 is returned.
dir | the direction of the applied shear force |
References m_mu.
If the particles are in contact, get normal force, if not in contact return (0,0,0)
References m_is_touching, and m_normal_force.
Referenced by getVectorFieldFunction().
pair< bool, double > CHertzianViscoElasticFrictionInteraction::getNormalStress | ( | ) | const |
get current normal stress
References m_is_touching, and m_normal_force.
Referenced by getCheckedScalarFieldFunction().
double CHertzianViscoElasticFrictionInteraction::getPotentialEnergy | ( | ) | const |
get the potential energy stored in the interaction
References m_E, and m_normal_force.
Referenced by getScalarFieldFunction().
CHertzianViscoElasticFrictionInteraction::ScalarFieldFunction CHertzianViscoElasticFrictionInteraction::getScalarFieldFunction | ( | const string & | name | ) | [static] |
Get the particle member function which returns a scalar field of a given name.
name | the name of the field |
References Count(), getDissipatedEnergy(), getPotentialEnergy(), getSlipping(), and getSticking().
double CHertzianViscoElasticFrictionInteraction::getSlipping | ( | ) | const |
Get the static/dynamic status of the interaction. Returns 1 for a contact in dynamic friction, 0 for static or no contact
References m_is_slipping.
Referenced by getScalarFieldFunction().
pair< bool, double > CHertzianViscoElasticFrictionInteraction::getSlipVelocity | ( | ) | const |
get "force deficit", i.e. the force needed to make the contact dynamic
get the slipping velocity, i.e. the absolute value of the tangential part of the relatve particle velocity
Referenced by getCheckedScalarFieldFunction().
double CHertzianViscoElasticFrictionInteraction::getSticking | ( | ) | const |
Get "sticking" contacts, i.e. return 1 if the contact is touching but not slipping, 0 otherwise
References m_is_slipping, and m_is_touching.
Referenced by getScalarFieldFunction().
CHertzianViscoElasticFrictionInteraction::VectorFieldFunction CHertzianViscoElasticFrictionInteraction::getVectorFieldFunction | ( | const string & | name | ) | [static] |
Get the particle member function which returns a vector field of a given name.
name | the name of the field |
References getForce(), and getNormalForce().