chrono::ChContinuumSPH Class Reference

Description

Class for SPH fluid material, with basic property of incompressible fluid.

#include <ChMatterSPH.h>

Inheritance diagram for chrono::ChContinuumSPH:
Collaboration diagram for chrono::ChContinuumSPH:

Public Member Functions

 ChContinuumSPH (double m_refdensity=1000, double mviscosity=0.1, double mtension=0)
 Create a continuum isotropic elastoplastic material, where you can define also plastic and elastic max. More...
 
 ChContinuumSPH (const ChContinuumSPH &other)
 
void Set_viscosity (double mvisc)
 Set the viscosity, in [Pa s] units.
 
double Get_viscosity () const
 Get the viscosity.
 
void Set_surface_tension (double mten)
 Set the surface tension coefficient.
 
double Get_surface_tension () const
 Get the surface tension coefficient.
 
void Set_pressure_stiffness (double mst)
 Set the pressure stiffness (should be infinite for water or other almost-incompressible fluids, but too large values can cause numerical troubles). More...
 
double Get_pressure_stiffness () const
 Set the pressure stiffness.
 
virtual void ArchiveOUT (ChArchiveOut &marchive) override
 
virtual void ArchiveIN (ChArchiveIn &marchive) override
 
- Public Member Functions inherited from chrono::fea::ChContinuumMaterial
 ChContinuumMaterial (double mdensity=1000)
 
 ChContinuumMaterial (const ChContinuumMaterial &other)
 
void Set_density (double m_density)
 Set the density of the material, in kg/m^2.
 
double Get_density () const
 Get the density of the material, in kg/m^2.
 

Additional Inherited Members

- Protected Attributes inherited from chrono::fea::ChContinuumMaterial
double density
 

Constructor & Destructor Documentation

chrono::ChContinuumSPH::ChContinuumSPH ( double  m_refdensity = 1000,
double  mviscosity = 0.1,
double  mtension = 0 
)

Create a continuum isotropic elastoplastic material, where you can define also plastic and elastic max.

stress (yield limits for transition elastic->blastic and plastic->fracture).

Member Function Documentation

void chrono::ChContinuumSPH::Set_pressure_stiffness ( double  mst)

Set the pressure stiffness (should be infinite for water or other almost-incompressible fluids, but too large values can cause numerical troubles).