chrono::fsi::ChFsiInterfaceGeneric Class Reference

Description

Generic FSI interface between a Chrono multibody system and a fluid system.

This implementation relies on copying data to intermediate buffers.

#include <ChFsiInterface.h>

Inheritance diagram for chrono::fsi::ChFsiInterfaceGeneric:
Collaboration diagram for chrono::fsi::ChFsiInterfaceGeneric:

Public Member Functions

 ChFsiInterfaceGeneric (ChSystem *sysMBS, ChFsiFluidSystem *sysCFD)
 
virtual void Initialize () override
 Initialize the generic FSI interface.
 
- 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...
 
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/ChFsiInterface.h
  • /builds/uwsbel/chrono/src/chrono_fsi/ChFsiInterface.cpp