ESyS-Particle  4.0.1
Public Types | Public Member Functions | Static Public Member Functions | Friends
CRotThermFrictionInteraction Class Reference

#include <RotThermFricInteraction.h>

Inheritance diagram for CRotThermFrictionInteraction:
Inheritance graph
[legend]
Collaboration diagram for CRotThermFrictionInteraction:
Collaboration graph
[legend]

List of all members.

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)

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 &)

Detailed Description

Frictional+Elastic interaction between particles between thermal ,rotational particles


Member Function Documentation

Calculate elastic and frictional forces.

Implements ARotThermPairInteraction.

References CParticle::applyForce(), and CRotParticleVi::applyMoment().

Here is the call graph for this function:

Calculate the normal force.

get the force needed to overcome friction and make the interaction slip

Referenced by getScalarFieldFunction().

Here is the caller graph for this function:

return the amount of energy dissipated during the last time step

Referenced by getScalarFieldFunction().

Here is the caller graph for this function:

If the particles are in contact, get normal force, if not in contact return (0,0,0)

Referenced by getVectorFieldFunction().

Here is the caller graph for this function:

get the potential energy stored in the interaction

Referenced by getScalarFieldFunction().

Here is the caller graph for this function:

CRotThermFrictionInteraction::ScalarFieldFunction CRotThermFrictionInteraction::getScalarFieldFunction ( const string &  name) [static]

Get the particle member function which returns a scalar field of a given name.

Parameters:
namethe name of the field

References getAbsForceDeficit(), getDissipatedEnergy(), getPotentialEnergy(), getSlipping(), and getSticking().

Here is the call graph for this function:

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().

Here is the caller graph for this function:

Get "sticking" contacts, i.e. return 1 if the contact is touching but not slipping, 0 otherwise

Referenced by getScalarFieldFunction().

Here is the caller graph for this function:

Get the contact status of the interaction. Returns 1 for an actual contact, 0 for no contact

CRotThermFrictionInteraction::VectorFieldFunction CRotThermFrictionInteraction::getVectorFieldFunction ( const string &  name) [static]

Get the particle member function which returns a vector field of a given name.

Parameters:
namethe name of the field

References getNormalForce().

Here is the call graph for this function:

void CRotThermFrictionInteraction::loadRestartData ( std::istream &  iStream) [virtual]

Load restart data from an open istream

Parameters:
iStreamthe input stream

References AInteraction::m_id.

void CRotThermFrictionInteraction::saveRestartData ( std::ostream &  oStream) [virtual]

Save restart data to an open ostream

Parameters:
oStreamthe output stream

References AInteraction::m_id.


The documentation for this class was generated from the following files: