Base class for an FSI-aware fluid solver.
|
void | SetVerbose (bool verbose) |
| Enable/disable verbose terminal output (default: true).
|
|
virtual void | SetGravitationalAcceleration (const ChVector3d &gravity)=0 |
| Set gravity for the fluid syatem.
|
|
void | SetStepSize (double step) |
| Set integration step size.
|
|
virtual void | Initialize () |
| Initialize the fluid system with no FSI support.
|
|
void | DoStepDynamics (double step) |
| Function to integrate the FSI fluid system in time.
|
|
double | GetSimTime () const |
| Get current simulation time.
|
|
double | GetStepSize () const |
| Get the integration step size.
|
|
double | GetRtf () const |
| Get current estimated RTF (real time factor).
|
|
double | GetTimerStep () const |
| Return the time in seconds for fluid dynamics over the last step.
|
|
virtual void | OnDoStepDynamics (double time, double step)=0 |
| Function to integrate the FSI fluid system from time to time + step .
|
|
virtual void | OnExchangeSolidForces ()=0 |
| Additional actions taken before applying fluid forces to the solid phase.
|
|
virtual void | OnExchangeSolidStates ()=0 |
| Additional actions taken after loading new solid phase states.
|
|
virtual void | LoadSolidStates (const std::vector< FsiBodyState > &body_states, const std::vector< FsiMeshState > &mesh1D_states, const std::vector< FsiMeshState > &mesh2D_states)=0 |
| Load FSI body and mesh node states from the given vectors. More...
|
|
virtual void | StoreSolidForces (std::vector< FsiBodyForce > body_forces, std::vector< FsiMeshForce > mesh1D_forces, std::vector< FsiMeshForce > mesh2D_forces)=0 |
| Store the body and mesh node forces to the given vectors. More...
|
|
|
void | UseNodeDirections (bool val) |
|
virtual void | OnAddFsiBody (std::shared_ptr< FsiBody > fsi_body, bool check_embedded) |
| Solver-specific actions taken when a rigid solid is added as an FSI object.
|
|
virtual void | OnAddFsiMesh1D (std::shared_ptr< FsiMesh1D > mesh, bool check_embedded) |
| Solver-specific actions taken when a 1D deformable solid is added as an FSI object.
|
|
virtual void | OnAddFsiMesh2D (std::shared_ptr< FsiMesh2D > mesh, bool check_embedded) |
| Solver-specific actions taken when a 2D deformable solid is added as an FSI object.
|
|
virtual void | Initialize (const std::vector< FsiBodyState > &body_states, const std::vector< FsiMeshState > &mesh1D_states, const std::vector< FsiMeshState > &mesh2D_states)=0 |
| Initialize the fluid system using initial states of solid FSI objects. More...
|
|