ESyS-Particle
4.0.1
|
bonded elastic interaction between a particle and a wall More...
#include <ViscWallInteraction.h>
Public Member Functions | |
CViscWallInteraction (T *, CWall *, double, bool) | |
virtual void | calcForces () |
virtual Vec3 | getForce () |
virtual void | setPP (const vector< T * >) |
![]() | |
AWallInteraction (T *, CWall *, bool iflag=true) | |
virtual bool | hasTag (int, int) const |
virtual Vec3 | getPosFirst () const |
bool | isInner () |
virtual double | getStiffness () |
![]() | |
bool | initialized () const |
virtual void | calcHeatTrans () |
virtual void | calcHeatFrict () |
vector< int > | getAllID () const |
int | getID () |
virtual Vec3 | getPosSecond () const |
double | Count () const |
Protected Attributes | |
double | m_nu |
viscosity | |
![]() | |
T * | m_p |
CWall * | m_wall |
bool | m_inner_flag |
![]() | |
vector< int > | m_id |
id's of the particles involved | |
int | m_iid |
interaction id | |
bool | m_init |
bonded elastic interaction between a particle and a wall
CViscWallInteraction< T >::CViscWallInteraction | ( | T * | p, |
CWall * | w, | ||
double | nu, | ||
bool | iflag | ||
) |
constructor with parameters
p | pointer to the particle |
w | pointer to the wall |
k | spring constant for the elastic interaction |
nu | viscosity |
iflag | inner flag |
References CViscWallInteraction< T >::m_nu.
|
virtual |
calculate and apply viscous forces F=visc*vol*dv
Implements AWallInteraction< T >.
|
virtual |
calculate and return, but don't apply the viscous force