chrono::fsi::tdpf::ChFsiInterfaceTDPF Class Reference

Description

Custom FSI interface between a Chrono multibody system and the TDPF-based fluid system.

#include <ChFsiInterfaceTDPF.h>

Inheritance diagram for chrono::fsi::tdpf::ChFsiInterfaceTDPF:
Collaboration diagram for chrono::fsi::tdpf::ChFsiInterfaceTDPF:

Public Member Functions

 ChFsiInterfaceTDPF (ChSystem *sysMBS, ChFsiFluidSystemTDPF *sysTDPF)
 
virtual void ExchangeSolidStates () override
 Exchange solid phase state information between the MBS and fluid system.
 
virtual void ExchangeSolidForces () override
 Exchange solid phase force information between the multibody and fluid systems.
 
- Public Member Functions inherited from chrono::fsi::ChFsiInterface
void SetVerbose (bool verbose)
 
void AttachMultibodySystem (ChSystem *sys)
 
std::shared_ptr< FsiBodyAddFsiBody (std::shared_ptr< ChBody > body, std::shared_ptr< utils::ChBodyGeometry > geometry, bool check_embedded)
 Add a rigid body. More...
 
virtual void Initialize ()
 Initialize the FSI interface.
 
unsigned int GetNumBodies () const
 Get the number of FSI bodies.
 
const std::vector< std::shared_ptr< FsiBody > > & GetBodies () const
 Get read-only access to the set of bodies added to the FSI interface.
 
std::vector< std::shared_ptr< FsiBody > > & GetBodies ()
 Get writable access to the set of bodies added to the FSI interface.
 
const ChVector3dGetFsiBodyForce (size_t i) const
 Return the FSI applied force on the body with specified index. More...
 
const ChVector3dGetFsiBodyTorque (size_t i) const
 Return the FSI applied torque on the body with specified index. More...
 
void AllocateStateVectors (std::vector< FsiBodyState > &body_states) const
 Utility function to allocate state vectors.
 
void AllocateForceVectors (std::vector< FsiBodyForce > &body_forces) const
 Utility function to allocate force vectors.
 
bool CheckStateVectors (const std::vector< FsiBodyState > &body_states) const
 Utility function to check sizes of state vectors.
 
bool CheckForceVectors (const std::vector< FsiBodyForce > &body_forces) const
 Utility function to check sizes of force vectors.
 
void StoreSolidStates (std::vector< FsiBodyState > &body_states)
 Utility function to get current solid phase states from the multibody system in the provided structures. More...
 
void LoadSolidForces (std::vector< FsiBodyForce > &body_forces)
 Utility function to apply forces in the provided structures to the multibody system. More...
 

Additional Inherited Members

- Protected Member Functions inherited from chrono::fsi::ChFsiInterface
 ChFsiInterface (ChSystem *sysMBS, ChFsiFluidSystem *sysCFD)
 
- Protected Attributes inherited from chrono::fsi::ChFsiInterface
bool m_verbose
 
bool m_initialized
 
NodeDirectionsMode m_node_directions_mode
 
ChSystemm_sysMBS
 
ChFsiFluidSystemm_sysCFD
 
std::vector< std::shared_ptr< FsiBody > > m_fsi_bodies
 rigid bodies exposed to the FSI system
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_fsi/tdpf/ChFsiInterfaceTDPF.h
  • /builds/uwsbel/chrono/src/chrono_fsi/tdpf/ChFsiInterfaceTDPF.cpp