chrono::fsi::ChFsiInterface Class Reference

Description

Base class for processing the interface between chrono and fsi modules.

Inherits chrono::fsi::ChFsiGeneral.

Public Member Functions

 ChFsiInterface (SimParams *other_paramsH, FsiBodiesDataH *other_fsiBodiesH, chrono::ChSystem *other_mphysicalSystem, std::vector< std::shared_ptr< chrono::ChBody >> *other_fsiBodeisPtr, thrust::host_vector< int2 > *other_CableElementsNodesH, thrust::device_vector< int2 > *other_CableElementsNodes, thrust::host_vector< int4 > *other_ShellElementsNodesH, thrust::device_vector< int4 > *other_ShellElementsNodes, thrust::device_vector< Real3 > *other_rigid_FSI_ForcesD, thrust::device_vector< Real3 > *other_rigid_FSI_TorquesD, thrust::device_vector< Real3 > *other_Flex_FSI_ForcesD)
 
 ~ChFsiInterface ()
 Destructor of the FSI interface.
 
virtual void Add_Rigid_ForceTorques_To_ChSystem ()
 Reads the surface-integrated pressure and viscous forces form the fluid dynamics system, and add these forces and torques as external forces to the ChSystem bodies. More...
 
virtual void Copy_External_To_ChSystem ()
 Uses an external configuration to set the generalized coordinates of the ChSystem.
 
virtual void Copy_ChSystem_to_External ()
 Uses the generalized coordinates of the ChSystem to set the configuration state in the FSI system.
 
virtual void Copy_fsiBodies_ChSystem_to_FluidSystem (FsiBodiesDataD *fsiBodiesD)
 
virtual void ResizeChronoBodiesData ()
 
 ChFsiInterface (SimParams *other_paramsH, FsiBodiesDataH *other_fsiBodiesH, FsiMeshDataH *other_fsiMeshH, chrono::ChSystem *other_mphysicalSystem, std::vector< std::shared_ptr< chrono::ChBody >> *other_fsiBodeisPtr, std::vector< std::shared_ptr< fea::ChNodeFEAxyzD >> *other_fsiNodesPtr, std::vector< std::shared_ptr< fea::ChElementCableANCF >> *other_fsiCablesPtr, std::vector< std::shared_ptr< fea::ChElementShellANCF >> *other_fsiShellsPtr, std::shared_ptr< chrono::fea::ChMesh > other_fsiMesh, thrust::host_vector< int2 > *other_CableElementsNodesH, thrust::device_vector< int2 > *other_CableElementsNodes, thrust::host_vector< int4 > *other_ShellElementsNodesH, thrust::device_vector< int4 > *other_ShellElementsNodes, thrust::device_vector< Real3 > *other_rigid_FSI_ForcesD, thrust::device_vector< Real3 > *other_rigid_FSI_TorquesD, thrust::device_vector< Real3 > *other_Flex_FSI_ForcesD)
 
virtual void SetFsiMesh (std::shared_ptr< chrono::fea::ChMesh > other_fsi_mesh)
 
virtual void Add_Flex_Forces_To_ChSystem ()
 
virtual void ResizeChronoNodesData ()
 
virtual void ResizeChronoCablesData (std::vector< std::vector< int >> CableElementsNodesSTDVector, thrust::host_vector< int2 > *CableElementsNodesH)
 
virtual void ResizeChronoShellsData (std::vector< std::vector< int >> ShellElementsNodesSTDVector, thrust::host_vector< int4 > *ShellElementsNodesH)
 
virtual void ResizeChronoFEANodesData ()
 
virtual void Copy_fsiNodes_ChSystem_to_FluidSystem (FsiMeshDataD *FsiMeshD)
 

Member Function Documentation

virtual void chrono::fsi::ChFsiInterface::Add_Rigid_ForceTorques_To_ChSystem ( )
virtual

Reads the surface-integrated pressure and viscous forces form the fluid dynamics system, and add these forces and torques as external forces to the ChSystem bodies.