Go to the documentation of this file.
13 #ifndef __ROTTHERMFRICTIONINTERACTION_H
14 #define __ROTTHERMFRICTIONINTERACTION_H
39 const std::string &name,
57 return "RotThermFriction";
112 static string getType() {
return "RotThermFriction";};
139 #endif //__ROTFRICTIONINTERACTION_H
void setTimeStepSize(double deltaT)
Definition: RotThermFricInteraction.h:82
virtual std::string getTypeString() const
Definition: RotThermFricInteraction.h:55
Vec3 getDs()
Definition: RotThermFricInteraction.h:126
Vec3 m_force_deficit
difference between fric. force & force necessary for slip
Definition: RotThermFricInteraction.h:96
friend ostream & operator<<(ostream &, const CRotThermFrictionInteraction &)
Definition: RotThermFricInteraction.cpp:540
Abstract base/interface class for packed messages to be used in TML_Pack.
Definition: packed_message_interface.h:29
void calcHeatFrict()
Definition: RotThermFricInteraction.cpp:353
void applyHeatFrict(const double)
Definition: RotThermParticle.cpp:522
virtual Vec3 getPos() const
Definition: RotThermFricInteraction.h:127
virtual void loadRestartData(std::istream &iStream)
Definition: RotThermFricInteraction.cpp:519
const Vec3 getAngVel_t() const
Definition: RotParticleVi.h:164
double k_s
Definition: RotThermFricInteraction.h:51
Vec3 m_normal_force
current normal force
Definition: RotThermFricInteraction.h:98
virtual bool isPersistent()
Definition: RotThermFricInteraction.cpp:231
double getAbsForceDeficit() const
Definition: RotThermFricInteraction.cpp:242
double getTemperature() const
Definition: ThermParticle.h:81
double Count() const
Definition: Interaction.h:56
double mu_s
Definition: RotThermFricInteraction.h:50
virtual void calcForces()
Definition: RotThermFricInteraction.cpp:118
VEC3_INLINE double dot(const Vec3 &v1, const Vec3 &v2)
Definition: vec3.hpp:196
double getDissipatedEnergy() const
Definition: RotThermFricInteraction.cpp:311
bool m_is_slipping
static/dynamic status of the interaction
Definition: RotThermFricInteraction.h:99
void applyHeatTrans(const double)
Definition: RotThermParticle.cpp:516
double m_mu_d
coefficient of dynamic friction
Definition: RotThermFricInteraction.h:91
double diffusivity
Definition: RotThermFricInteraction.h:53
static VectorFieldFunction getVectorFieldFunction(const string &)
Definition: RotThermFricInteraction.cpp:417
Vec3 getForce() const
Definition: RotThermFricInteraction.cpp:316
double m_k
spring constant
Definition: RotThermFricInteraction.h:89
double getSticking() const
Definition: RotThermFricInteraction.cpp:302
VEC3_INLINE Vec3 cross(const Vec3 &lhs, const Vec3 &rhs)
Definition: vec3.hpp:187
VEC3_INLINE double norm() const
Definition: vec3.hpp:211
void applyForce(const Vec3 &, const Vec3 &)
Definition: Particle.cpp:384
Definition: RotThermFricInteraction.h:35
VEC3_INLINE double & X()
Definition: vec3.h:119
Vec3 getNormalForce() const
Definition: RotThermFricInteraction.cpp:325
virtual double pop_double()=0
Definition: RotThermPairInteraction.h:24
static ScalarFieldFunction getScalarFieldFunction(const string &)
Definition: RotThermFricInteraction.cpp:381
VEC3_INLINE double & Z()
Definition: vec3.h:121
#define NULL
Definition: t_list.h:17
double m_dt
time step
Definition: RotThermFricInteraction.h:94
CRotThermFrictionIGP ParameterType
Definition: RotThermFricInteraction.h:72
double getPotentialEnergy() const
Definition: RotThermFricInteraction.cpp:270
double m_r0
equilibrium distance
Definition: RotThermFricInteraction.h:90
Definition: RotThermFricInteraction.h:70
Vec3 m_Ffric
current frictional force
Definition: RotThermFricInteraction.h:95
Definition: RotThermParticle.h:55
virtual void append(int)=0
VEC3_INLINE double & Y()
Definition: vec3.h:120
double m_diffusivity
thermal diffusivity
Definition: RotThermFricInteraction.h:102
void calcNormalForce()
Definition: RotThermFricInteraction.cpp:250
double m_E_diss
dissipated energy
Definition: RotThermFricInteraction.h:101
double k
Definition: RotThermFricInteraction.h:48
virtual ~CRotThermFrictionInteraction()
Definition: RotThermFricInteraction.cpp:111
CRotThermParticle * m_p1
Definition: RotThermPairInteraction.h:26
CRotThermFrictionIGP()
Definition: RotThermFricInteraction.cpp:22
static bool getDo2dCalculations()
Definition: Particle.h:181
static CheckedScalarFieldFunction getCheckedScalarFieldFunction(const string &)
Definition: RotThermFricInteraction.cpp:405
Abstract base class for InteractionGroup parameters.
Definition: IGParam.h:29
Vec3 m_cpos
contact position
Definition: RotThermFricInteraction.h:97
void applyMoment(const Vec3 &)
Definition: RotParticleVi.cpp:355
double dt
Definition: RotThermFricInteraction.h:52
Vec3 getVel() const
Definition: Particle.h:114
void setTimeStepSize(double deltaT)
Definition: RotThermFricInteraction.h:60
CRotThermParticle * m_p2
Definition: RotThermPairInteraction.h:26
double getTouching() const
Definition: RotThermFricInteraction.cpp:292
double m_mu_s
coefficient of static friction
Definition: RotThermFricInteraction.h:92
pair< bool, double >(CRotThermFrictionInteraction::* CheckedScalarFieldFunction)() const
Definition: RotThermFricInteraction.h:75
CRotThermFrictionInteraction()
Definition: RotThermFricInteraction.cpp:52
VEC3_INLINE double norm2() const
Definition: vec3.hpp:218
double getSlipping() const
Definition: RotThermFricInteraction.cpp:282
double(CRotThermFrictionInteraction::* ScalarFieldFunction)() const
Definition: RotThermFricInteraction.h:74
virtual void saveRestartData(std::ostream &oStream)
Definition: RotThermFricInteraction.cpp:492
int getID() const
Definition: BasicParticle.h:65
double getRad() const
Definition: BasicParticle.h:64
bool m_is_touching
contact status of the interaction
Definition: RotThermFricInteraction.h:100
static string getType()
Definition: RotThermFricInteraction.h:112
Vec3(CRotThermFrictionInteraction::* VectorFieldFunction)() const
Definition: RotThermFricInteraction.h:76
Vec3 getPos() const
Definition: BasicParticle.h:62
void calcHeatTrans()
Definition: RotThermFricInteraction.cpp:335
vector< int > m_id
id's of the particles involved
Definition: Interaction.h:39
double mu_d
Definition: RotThermFricInteraction.h:49
ostream & operator<<(ostream &ost, const CRotThermFrictionInteraction &BI)
Definition: RotThermFricInteraction.cpp:540
Vec3 m_ds
tangitial displacement at this time step
Definition: RotThermFricInteraction.h:103
double calc_angle(double, double)
Definition: RotBondedInteraction.cpp:22
double m_ks
shear stiffness (Cundall)
Definition: RotThermFricInteraction.h:93