ESyS-Particle
4.0.1
|
Frictional+Elastic interaction between particles with velocity weakening friction. More...
#include <VWFrictionInteraction.h>
Public Types | |
typedef VWFrictionIGP | ParameterType |
typedef double(CVWFriction::* | ScalarFieldFunction )() const |
typedef Vec3(CVWFriction::* | VectorFieldFunction )() const |
typedef pair< bool, double > (CVWFriction::* | CheckedScalarFieldFunction )() const |
Public Member Functions | |
CVWFriction () | |
CVWFriction (CParticle *, CParticle *, const VWFrictionIGP &) | |
virtual void | calcForces () |
pair< bool, double > | getCurrentMu () const |
Static Public Member Functions | |
static string | getType () |
static ScalarFieldFunction | getScalarFieldFunction (const string &) |
static VectorFieldFunction | getVectorFieldFunction (const string &) |
static CheckedScalarFieldFunction | getCheckedScalarFieldFunction (const string &) |
Friends | |
class | TML_PackedMessageInterface |
Frictional+Elastic interaction between particles with velocity weakening friction.
Default constructor
void CVWFriction::calcForces | ( | ) | [virtual] |
Calculate elastic & frictional forces. The current coefficient of friction is calculated by a velocity weakening friction law
Reimplemented from CFrictionInteraction.
References CParticle::applyForce(), CFrictionInteraction::m_cpos, CFrictionInteraction::m_dt, CFrictionInteraction::m_Ffric, CFrictionInteraction::m_force_deficit, CFrictionInteraction::m_is_slipping, CFrictionInteraction::m_is_touching, CFrictionInteraction::m_k, CFrictionInteraction::m_ks, CFrictionInteraction::m_mu, and CFrictionInteraction::m_normal_force.
CVWFriction::CheckedScalarFieldFunction CVWFriction::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 |
Reimplemented from CFrictionInteraction.
References CFrictionInteraction::getAbsFrictionalForce(), CFrictionInteraction::getAbsMuFN(), getCurrentMu(), and CFrictionInteraction::getSlipVelocity().
pair< bool, double > CVWFriction::getCurrentMu | ( | ) | const |
get current coefficient of friction
References CFrictionInteraction::m_mu.
Referenced by getCheckedScalarFieldFunction().
CVWFriction::ScalarFieldFunction CVWFriction::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 |
Reimplemented from CFrictionInteraction.
References CFrictionInteraction::Count(), CFrictionInteraction::getPotentialEnergy(), CFrictionInteraction::getSlipping(), and CFrictionInteraction::getSticking().
CVWFriction::VectorFieldFunction CVWFriction::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 |
Reimplemented from CFrictionInteraction.