Class Viscosity_Standard

Inheritance Relationships

Base Type

Class Documentation

class Viscosity_Standard : public SPH::ViscosityBase

This class implements the standard method for viscosity descibed e.g. by Ihmsen et al. [IOS+14].

The method evaluates the term

\(\nu \nabla^2 \mathbf{v}\) and uses an approximation of the kernel Laplacian to improve the stability. This approximation is given in [IOS+14].

References:

  • [IOS+14] Markus Ihmsen, Jens Orthmann, Barbara Solenthaler, Andreas Kolb, and Matthias Teschner. SPH Fluids in Computer Graphics. In Sylvain Lefebvre and Michela Spagnuolo, editors, Eurographics 2014 - State of the Art Reports. The Eurographics Association, 2014. URL: http://dx.doi.org/10.2312/egst.20141034

Public Functions

Viscosity_Standard(FluidModel *model)
virtual ~Viscosity_Standard(void)
virtual void step()
virtual void reset()

Public Static Functions

static inline NonPressureForceBase *creator(FluidModel *model)

Public Static Attributes

static int VISCOSITY_COEFFICIENT_BOUNDARY = -1

Protected Functions

virtual void initParameters()

Protected Attributes

Real m_boundaryViscosity