chrono::fsi::DepthPressurePropertiesCallback Class Reference
Description
Predefined SPH particle initial properties callback (depth-based pressure).
#include <ChFsiProblem.h>
Inheritance diagram for chrono::fsi::DepthPressurePropertiesCallback:
Collaboration diagram for chrono::fsi::DepthPressurePropertiesCallback:
Public Member Functions | |
DepthPressurePropertiesCallback (const ChSystemFsi &sysFSI, double zero_height) | |
virtual void | set (const ChVector3d &pos) override |
Set values for particle properties. More... | |
Public Member Functions inherited from chrono::fsi::ChFsiProblem::ParticlePropertiesCallback | |
ParticlePropertiesCallback (const ChSystemFsi &sysFSI) | |
ParticlePropertiesCallback (const ParticlePropertiesCallback &other)=default | |
Additional Inherited Members | |
Public Attributes inherited from chrono::fsi::ChFsiProblem::ParticlePropertiesCallback | |
const ChSystemFsi & | sysFSI |
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::ChFsiProblem::ParticlePropertiesCallback.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_fsi/ChFsiProblem.h