chrono::fsi::sph::DepthPressurePropertiesCallback Class Reference
Description
Predefined SPH particle initial properties callback (depth-based pressure).
#include <ChFsiProblemSPH.h>
Inheritance diagram for chrono::fsi::sph::DepthPressurePropertiesCallback:

Collaboration diagram for chrono::fsi::sph::DepthPressurePropertiesCallback:

Public Member Functions | |
| DepthPressurePropertiesCallback (double zero_height) | |
| virtual void | set (const ChFsiFluidSystemSPH &sysSPH, const ChVector3d &pos) override |
| Set values for particle properties. More... | |
Public Member Functions inherited from chrono::fsi::sph::ChFsiProblemSPH::ParticlePropertiesCallback | |
| ParticlePropertiesCallback (const ParticlePropertiesCallback &other)=default | |
Additional Inherited Members | |
Public Attributes inherited from chrono::fsi::sph::ChFsiProblemSPH::ParticlePropertiesCallback | |
| double | p0 |
| double | rho0 |
| double | mu0 |
| ChVector3d | v0 |
| double | pre_pressure_scale0 |
Member Function Documentation
◆ set()
|
inlineoverridevirtual |
Set values for particle properties.
The default implementation sets pressure to zero, except for CRM with MCC rheology in which case the pressure is set to 1e3. The default velocity is zero and density and viscosity are constant. If an override is provided, it must set all particle properties.
Reimplemented from chrono::fsi::sph::ChFsiProblemSPH::ParticlePropertiesCallback.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_fsi/sph/ChFsiProblemSPH.h
Public Member Functions inherited from