ESyS-Particle  4.0.1
Public Member Functions | Protected Attributes
CViscWallInteraction< T > Class Template Reference

bonded elastic interaction between a particle and a wall More...

#include <ViscWallInteraction.h>

Inheritance diagram for CViscWallInteraction< T >:
Inheritance graph
[legend]
Collaboration diagram for CViscWallInteraction< T >:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

template<class T>
class CViscWallInteraction< T >

bonded elastic interaction between a particle and a wall

Author:
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

template<class T >
CViscWallInteraction< T >::CViscWallInteraction ( T *  p,
CWall w,
double  nu,
bool  iflag 
)

constructor with parameters

Parameters:
ppointer to the particle
wpointer to the wall
kspring constant for the elastic interaction
nuviscosity
iflaginner flag

References CViscWallInteraction< T >::m_nu.


Member Function Documentation

template<class T >
void CViscWallInteraction< T >::calcForces ( ) [virtual]

calculate and apply viscous forces F=visc*vol*dv

Warning:
Hack - currently using mass instead of volume

Implements AWallInteraction< T >.

template<class T >
Vec3 CViscWallInteraction< T >::getForce ( ) [virtual]

calculate and return, but don't apply the viscous force


The documentation for this class was generated from the following files: