chrono::fsi::DepthPressurePropertiesCallback Class Reference
Description
Predefined SPH particle initial properties callback (depth-based pressure).
#include <ChFsiProblemSPH.h>
Inheritance diagram for chrono::fsi::DepthPressurePropertiesCallback:
Collaboration diagram for chrono::fsi::DepthPressurePropertiesCallback:
Public Member Functions | |
DepthPressurePropertiesCallback (const ChFluidSystemSPH &sysSPH, double zero_height) | |
virtual void | set (const ChVector3d &pos) override |
Set values for particle properties. More... | |
Public Member Functions inherited from chrono::fsi::ChFsiProblemSPH::ParticlePropertiesCallback | |
ParticlePropertiesCallback (const ChFluidSystemSPH &sysSPH) | |
ParticlePropertiesCallback (const ParticlePropertiesCallback &other)=default | |
Additional Inherited Members | |
Public Attributes inherited from chrono::fsi::ChFsiProblemSPH::ParticlePropertiesCallback | |
const ChFluidSystemSPH & | sysSPH |
double | p0 |
double | rho0 |
double | mu0 |
ChVector3d | v0 |
Member Function Documentation
◆ set()
|
inlineoverridevirtual |
Set values for particle properties.
The default implementation sets pressure and velocity to zero and constant density and viscosity. If an override is provided, it must set all particle properties.
Reimplemented from chrono::fsi::ChFsiProblemSPH::ParticlePropertiesCallback.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_fsi/sph/ChFsiProblemSPH.h