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 * >) |
Protected Attributes | |
double | m_nu |
viscosity |
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.
void CViscWallInteraction< T >::calcForces | ( | ) | [virtual] |
calculate and apply viscous forces F=visc*vol*dv
Implements AWallInteraction< T >.
Vec3 CViscWallInteraction< T >::getForce | ( | ) | [virtual] |
calculate and return, but don't apply the viscous force