chrono::fsi::ChFsiProblemSPH::ParticlePropertiesCallback Class Reference
Description
Interface for callback to set initial particle pressure, density, viscosity, and velocity.
#include <ChFsiProblemSPH.h>
Inheritance diagram for chrono::fsi::ChFsiProblemSPH::ParticlePropertiesCallback:
Collaboration diagram for chrono::fsi::ChFsiProblemSPH::ParticlePropertiesCallback:
Public Member Functions | |
ParticlePropertiesCallback (const ChFluidSystemSPH &sysSPH) | |
ParticlePropertiesCallback (const ParticlePropertiesCallback &other)=default | |
virtual void | set (const ChVector3d &pos) |
Set values for particle properties. More... | |
Public Attributes | |
const ChFluidSystemSPH & | sysSPH |
double | p0 |
double | rho0 |
double | mu0 |
ChVector3d | v0 |
Member Function Documentation
◆ set()
|
inlinevirtual |
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 in chrono::fsi::DepthPressurePropertiesCallback.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_fsi/sph/ChFsiProblemSPH.h