ESyS-Particle
4.0.1
|
#include <RotThermFricInteraction.h>
Public Types | |
typedef CRotThermFrictionIGP | ParameterType |
typedef double(CRotThermFrictionInteraction::* | ScalarFieldFunction )() const |
typedef pair< bool, double > (CRotThermFrictionInteraction::* | CheckedScalarFieldFunction )() const |
typedef Vec3(CRotThermFrictionInteraction::* | VectorFieldFunction )() const |
Public Member Functions | |
void | setTimeStepSize (double deltaT) |
CRotThermFrictionInteraction (CRotThermParticle *, CRotThermParticle *, const CRotThermFrictionIGP &) | |
virtual void | calcForces () |
void | calcHeatFrict () |
void | calcHeatTrans () |
virtual bool | isPersistent () |
void | calcNormalForce () |
double | getAbsForceDeficit () const |
double | getPotentialEnergy () const |
double | getSlipping () const |
double | getTouching () const |
double | getSticking () const |
double | getDissipatedEnergy () const |
Vec3 | getDs () |
virtual Vec3 | getPos () const |
Vec3 | getForce () const |
Vec3 | getNormalForce () const |
virtual void | saveRestartData (std::ostream &oStream) |
virtual void | loadRestartData (std::istream &iStream) |
![]() | |
ARotThermPairInteraction (CRotThermParticle *, CRotThermParticle *) | |
const CRotThermParticle * | first () const |
const CRotThermParticle * | second () const |
CRotThermParticle * | first () |
CRotThermParticle * | second () |
pair< int, int > | getPairID () const |
void | checkIDs () |
virtual bool | hasTag (int, int) const |
virtual Vec3 | getPosFirst () const |
virtual Vec3 | getPosSecond () const |
void | setPP (CRotThermParticle *, CRotThermParticle *) |
void | setPP (const vector< CRotThermParticle * >) |
esys::lsm::quintuple< Vec3, double, Vec3, double, Vec3 > | getRaw2Data () const |
![]() | |
bool | initialized () const |
vector< int > | getAllID () const |
int | getID () |
double | Count () const |
Static Public Member Functions | |
static CheckedScalarFieldFunction | getCheckedScalarFieldFunction (const string &) |
static ScalarFieldFunction | getScalarFieldFunction (const string &) |
static VectorFieldFunction | getVectorFieldFunction (const string &) |
static string | getType () |
Friends | |
class | TML_PackedMessageInterface |
ostream & | operator<< (ostream &, const CRotThermFrictionInteraction &) |
Additional Inherited Members | |
![]() | |
CRotThermParticle * | m_p1 |
CRotThermParticle * | m_p2 |
Frictional+Elastic interaction between particles between thermal ,rotational particles
|
virtual |
Calculate elastic and frictional forces.
Implements ARotThermPairInteraction.
References CParticle::applyForce(), and CRotParticleVi::applyMoment().
void CRotThermFrictionInteraction::calcNormalForce | ( | ) |
Calculate the normal force.
double CRotThermFrictionInteraction::getAbsForceDeficit | ( | ) | const |
get the force needed to overcome friction and make the interaction slip
Referenced by getScalarFieldFunction().
double CRotThermFrictionInteraction::getDissipatedEnergy | ( | ) | const |
return the amount of energy dissipated during the last time step
Referenced by getScalarFieldFunction().
Vec3 CRotThermFrictionInteraction::getNormalForce | ( | ) | const |
If the particles are in contact, get normal force, if not in contact return (0,0,0)
Referenced by getVectorFieldFunction().
double CRotThermFrictionInteraction::getPotentialEnergy | ( | ) | const |
get the potential energy stored in the interaction
Referenced by getScalarFieldFunction().
|
static |
Get the particle member function which returns a scalar field of a given name.
name | the name of the field |
References getAbsForceDeficit(), getDissipatedEnergy(), getPotentialEnergy(), getSlipping(), and getSticking().
double CRotThermFrictionInteraction::getSlipping | ( | ) | const |
Get the static/dynamic status of the interaction. Returns 1 for a contact in dynamic friction, 0 for static or no contact
Referenced by getScalarFieldFunction().
double CRotThermFrictionInteraction::getSticking | ( | ) | const |
Get "sticking" contacts, i.e. return 1 if the contact is touching but not slipping, 0 otherwise
Referenced by getScalarFieldFunction().
double CRotThermFrictionInteraction::getTouching | ( | ) | const |
Get the contact status of the interaction. Returns 1 for an actual contact, 0 for no contact
|
static |
Get the particle member function which returns a vector field of a given name.
name | the name of the field |
References getNormalForce().
|
virtual |
Load restart data from an open istream
iStream | the input stream |
References AInteraction::m_id.
|
virtual |
Save restart data to an open ostream
oStream | the output stream |
References AInteraction::m_id.