ESyS-Particle  4.0.1
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
CRotThermFrictionInteraction Class Reference

#include <RotThermFricInteraction.h>

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

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)
- Public Member Functions inherited from ARotThermPairInteraction
 ARotThermPairInteraction (CRotThermParticle *, CRotThermParticle *)
const CRotThermParticlefirst () const
const CRotThermParticlesecond () const
CRotThermParticlefirst ()
CRotThermParticlesecond ()
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
- Public Member Functions inherited from AInteraction
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

- Protected Attributes inherited from ARotThermPairInteraction
CRotThermParticlem_p1
CRotThermParticlem_p2

Detailed Description

Frictional+Elastic interaction between particles between thermal ,rotational particles

Member Function Documentation

void CRotThermFrictionInteraction::calcForces ( )
virtual

Calculate elastic and frictional forces.

Implements ARotThermPairInteraction.

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

Here is the call graph for this function:

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

Here is the caller graph for this function:

double CRotThermFrictionInteraction::getDissipatedEnergy ( ) const

return the amount of energy dissipated during the last time step

Referenced by getScalarFieldFunction().

Here is the caller graph for this function:

Vec3 CRotThermFrictionInteraction::getNormalForce ( ) const

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:

double CRotThermFrictionInteraction::getPotentialEnergy ( ) const

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:

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

Here is the caller graph for this function:

double CRotThermFrictionInteraction::getSticking ( ) const

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:

double CRotThermFrictionInteraction::getTouching ( ) const

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: