MechSys  1.0
Computing library for simulations in continuum and discrete mechanics
Public Member Functions | Public Attributes | Protected Member Functions
CInteracton Class Reference

#include <interacton.h>

Inheritance diagram for CInteracton:
Interacton CInteractonSphere

List of all members.

Public Member Functions

 CInteracton (Particle *Pt1, Particle *Pt2)
 Constructor requires pointers to both particles.
 CInteracton ()
virtual bool UpdateContacts (double alpha)
 Update contacts by verlet algorithm.
virtual void CalcForce (double dt=0.0)
 Calculates the contact force between particles.
virtual void UpdateParameters ()
 Update the parameters.

Public Attributes

double Kn
 Normal stiffness.
double Kt
 Tengential stiffness.
double Gn
 Normal viscous coefficient.
double Gt
 Tangential viscous coefficient.
double Mu
 Microscpic coefficient of friction.
double Epot
 Potential elastic energy.
double dEvis
 Energy dissipated in viscosity at time step.
double dEfric
 Energy dissipated by friction at time step.
size_t Nc
 Number of contacts.
size_t Nsc
 Number of sliding contacts.
size_t Nr
 Number of rolling contacts (only for spheres)
Vec3_t Fn
 Normal force between elements.
Vec3_t Fnet
 Net normal force.
Vec3_t Ftnet
 Net tangential force.
Vec3_t Xc
 Net Position of the contact.
Mat3_t B
 Branch tensor for the study of isotropy.
ListContacts_t Lee
 List of edge-edge contacts.
ListContacts_t Lvf
 List of vertex-face contacts.
ListContacts_t Lfv
 List of face-vertex contacts.
ListContacts_t Lvt
 List of vertex-torus contacts.
ListContacts_t Ltv
 List of torus-vertex contacts.
ListContacts_t Lvc
 List of vertex-cylinder contacts.
ListContacts_t Lcv
 List of cylinder-vertex contacts.
FrictionMap_t Fdee
 Static friction displacement for pair of edges.
FrictionMap_t Fdvf
 Static friction displacement for pair of vertex-face.
FrictionMap_t Fdfv
 Static friction displacement for pair of face-vertex.
FrictionMap_t Fdvt
 Static friction displacement for pair of vertex-torus.
FrictionMap_t Fdtv
 Static friction displacement for pair of torus-vertex.
FrictionMap_t Fdvc
 Static friction displacement for pair of vertex-cylinder.
FrictionMap_t Fdcv
 Static friction displacement for pair of cylinder-vertex.

Protected Member Functions

template<typename FeatureA_T , typename FeatureB_T >
void _update_disp_calc_force (FeatureA_T &A, FeatureB_T &B, FrictionMap_t &FMap, ListContacts_t &L, double dt)
template<typename FeatureA_T , typename FeatureB_T >
void _update_contacts (FeatureA_T &A, FeatureB_T &B, ListContacts_t &L, double alpha)

Constructor & Destructor Documentation

CInteracton::CInteracton ( Particle Pt1,
Particle Pt2 
) [inline]

Constructor requires pointers to both particles.


Member Function Documentation

template<typename FeatureA_T , typename FeatureB_T >
void CInteracton::_update_contacts ( FeatureA_T &  A,
FeatureB_T &  B,
ListContacts_t L,
double  alpha 
) [inline, protected]
template<typename FeatureA_T , typename FeatureB_T >
void CInteracton::_update_disp_calc_force ( FeatureA_T &  A,
FeatureB_T &  B,
FrictionMap_t FMap,
ListContacts_t L,
double  dt 
) [inline, protected]
void CInteracton::CalcForce ( double  dt = 0.0) [inline, virtual]

Calculates the contact force between particles.

Implements Interacton.

Reimplemented in CInteractonSphere.

bool CInteracton::UpdateContacts ( double  alpha) [inline, virtual]

Update contacts by verlet algorithm.

Implements Interacton.

Reimplemented in CInteractonSphere.

void CInteracton::UpdateParameters ( ) [inline, virtual]

Update the parameters.

Implements Interacton.

Reimplemented in CInteractonSphere.


Member Data Documentation

Branch tensor for the study of isotropy.

Energy dissipated by friction at time step.

Energy dissipated in viscosity at time step.

Potential elastic energy.

Static friction displacement for pair of cylinder-vertex.

Static friction displacement for pair of edges.

Static friction displacement for pair of face-vertex.

Static friction displacement for pair of torus-vertex.

Static friction displacement for pair of vertex-cylinder.

Static friction displacement for pair of vertex-face.

Static friction displacement for pair of vertex-torus.

Normal force between elements.

Net normal force.

Net tangential force.

Normal viscous coefficient.

Tangential viscous coefficient.

Normal stiffness.

Tengential stiffness.

List of cylinder-vertex contacts.

List of edge-edge contacts.

List of face-vertex contacts.

List of torus-vertex contacts.

List of vertex-cylinder contacts.

List of vertex-face contacts.

List of vertex-torus contacts.

Microscpic coefficient of friction.

Number of contacts.

Number of rolling contacts (only for spheres)

Number of sliding contacts.

Net Position of the contact.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines