![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <interacton.h>
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) |
CInteracton::CInteracton | ( | Particle * | Pt1, |
Particle * | Pt2 | ||
) | [inline] |
Constructor requires pointers to both particles.
CInteracton::CInteracton | ( | ) | [inline] |
void CInteracton::_update_contacts | ( | FeatureA_T & | A, |
FeatureB_T & | B, | ||
ListContacts_t & | L, | ||
double | alpha | ||
) | [inline, protected] |
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] |
void CInteracton::UpdateParameters | ( | ) | [inline, virtual] |
Branch tensor for the study of isotropy.
double CInteracton::dEfric |
Energy dissipated by friction at time step.
double CInteracton::dEvis |
Energy dissipated in viscosity at time step.
double CInteracton::Epot |
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.
double CInteracton::Gn |
Normal viscous coefficient.
double CInteracton::Gt |
Tangential viscous coefficient.
double CInteracton::Kn |
Normal stiffness.
double CInteracton::Kt |
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.
double CInteracton::Mu |
Microscpic coefficient of friction.
size_t CInteracton::Nc |
Number of contacts.
size_t CInteracton::Nr |
Number of rolling contacts (only for spheres)
size_t CInteracton::Nsc |
Number of sliding contacts.
Net Position of the contact.