Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT > Class Template Reference

Unstructured FSI problem. More...

Inheritance diagram for UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >:

Public Member Functions

 UnstructuredFSIProblem ()
 Constructor: More...
 
 ~UnstructuredFSIProblem ()
 Destructor (empty) More...
 
void doc_solution (DocInfo &doc_info)
 Doc the solution. More...
 
void actions_before_adapt ()
 Actions before adapt. More...
 
void actions_after_adapt ()
 Actions after adapt. More...
 
void output_strain_and_dissipation (std::ostream &trace)
 Output function to compute the strain energy in the solid and the dissipation in the fluid and write to the output stream trace. More...
 

Public Attributes

RefineableSolidTriangleMesh< FLUID_ELEMENT > * Fluid_mesh_pt
 Bulk fluid mesh. More...
 

Private Member Functions

void create_fsi_traction_elements ()
 Create the traction element. More...
 
void delete_fsi_traction_elements ()
 Delete the traction elements. More...
 
void create_lagrange_multiplier_elements ()
 Create the multipliers that add lagrange multipliers to the fluid elements that apply the solid displacement conditions. More...
 
void delete_lagrange_multiplier_elements ()
 Delete the traction elements. More...
 
double get_solid_strain_energy ()
 Calculate the strain energy of the solid. More...
 
double get_fluid_dissipation ()
 Calculate the fluid dissipation. More...
 

Private Attributes

RefineableSolidTriangleMesh< SOLID_ELEMENT > * Solid_mesh_pt
 Bulk solid mesh. More...
 
Vector< SolidMesh * > Lagrange_multiplier_mesh_pt
 Vector of pointers to mesh of Lagrange multiplier elements. More...
 
Vector< SolidMesh * > Traction_mesh_pt
 Vectors of pointers to mesh of traction elements. More...
 
TriangleMeshPolygon * Solid_outer_boundary_polyline_pt
 Triangle mesh polygon for outer boundary. More...
 
TriangleMeshPolygon * Fluid_outer_boundary_polyline_pt
 Triangle mesh polygon for outer boundary. More...
 
Vector< MeshAsGeomObject * > Solid_fsi_boundary_pt
 

Detailed Description

template<class FLUID_ELEMENT, class SOLID_ELEMENT>
class UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >

Unstructured FSI problem.

Definition at line 108 of file unstructured_adaptive_2d_fsi.cc.

Constructor & Destructor Documentation

◆ UnstructuredFSIProblem()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::UnstructuredFSIProblem

Constructor:

Constructor for unstructured solid problem.

Definition at line 496 of file unstructured_adaptive_2d_fsi.cc.

References Global_Physical_Variables::Constitutive_law_pt, Global_Physical_Variables::Mesh_constitutive_law_pt, and Global_Physical_Variables::Re.

◆ ~UnstructuredFSIProblem()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::~UnstructuredFSIProblem ( )
inline

Destructor (empty)

Definition at line 117 of file unstructured_adaptive_2d_fsi.cc.

Member Function Documentation

◆ actions_after_adapt()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
void UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::actions_after_adapt ( )
inline

◆ actions_before_adapt()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
void UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::actions_before_adapt ( )
inline

Actions before adapt.

Definition at line 123 of file unstructured_adaptive_2d_fsi.cc.

◆ create_fsi_traction_elements()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
void UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::create_fsi_traction_elements ( )
inlineprivate

Create the traction element.

Definition at line 285 of file unstructured_adaptive_2d_fsi.cc.

References Global_Physical_Variables::Q.

◆ create_lagrange_multiplier_elements()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
void UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::create_lagrange_multiplier_elements ( )
inlineprivate

Create the multipliers that add lagrange multipliers to the fluid elements that apply the solid displacement conditions.

Definition at line 340 of file unstructured_adaptive_2d_fsi.cc.

◆ delete_fsi_traction_elements()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
void UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::delete_fsi_traction_elements ( )
inlineprivate

Delete the traction elements.

Definition at line 320 of file unstructured_adaptive_2d_fsi.cc.

◆ delete_lagrange_multiplier_elements()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
void UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::delete_lagrange_multiplier_elements ( )
inlineprivate

Delete the traction elements.

Definition at line 412 of file unstructured_adaptive_2d_fsi.cc.

◆ doc_solution()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
void UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::doc_solution ( DocInfo &  doc_info)

Doc the solution.

Definition at line 887 of file unstructured_adaptive_2d_fsi.cc.

Referenced by main().

◆ get_fluid_dissipation()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
double UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::get_fluid_dissipation ( )
inlineprivate

Calculate the fluid dissipation.

Definition at line 449 of file unstructured_adaptive_2d_fsi.cc.

◆ get_solid_strain_energy()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
double UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::get_solid_strain_energy ( )
inlineprivate

Calculate the strain energy of the solid.

Definition at line 431 of file unstructured_adaptive_2d_fsi.cc.

◆ output_strain_and_dissipation()

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
void UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::output_strain_and_dissipation ( std::ostream &  trace)
inline

Output function to compute the strain energy in the solid and the dissipation in the fluid and write to the output stream trace.

Definition at line 272 of file unstructured_adaptive_2d_fsi.cc.

References Global_Physical_Variables::Q.

Member Data Documentation

◆ Fluid_mesh_pt

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
RefineableSolidTriangleMesh<FLUID_ELEMENT>* UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::Fluid_mesh_pt

Bulk fluid mesh.

Definition at line 469 of file unstructured_adaptive_2d_fsi.cc.

◆ Fluid_outer_boundary_polyline_pt

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
TriangleMeshPolygon* UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::Fluid_outer_boundary_polyline_pt
private

Triangle mesh polygon for outer boundary.

Definition at line 483 of file unstructured_adaptive_2d_fsi.cc.

◆ Lagrange_multiplier_mesh_pt

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
Vector<SolidMesh*> UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::Lagrange_multiplier_mesh_pt
private

Vector of pointers to mesh of Lagrange multiplier elements.

Definition at line 474 of file unstructured_adaptive_2d_fsi.cc.

◆ Solid_fsi_boundary_pt

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
Vector<MeshAsGeomObject*> UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::Solid_fsi_boundary_pt
private

Definition at line 486 of file unstructured_adaptive_2d_fsi.cc.

◆ Solid_mesh_pt

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
RefineableSolidTriangleMesh<SOLID_ELEMENT>* UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::Solid_mesh_pt
private

Bulk solid mesh.

Definition at line 465 of file unstructured_adaptive_2d_fsi.cc.

◆ Solid_outer_boundary_polyline_pt

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
TriangleMeshPolygon* UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::Solid_outer_boundary_polyline_pt
private

Triangle mesh polygon for outer boundary.

Definition at line 480 of file unstructured_adaptive_2d_fsi.cc.

◆ Traction_mesh_pt

template<class FLUID_ELEMENT , class SOLID_ELEMENT >
Vector<SolidMesh*> UnstructuredFSIProblem< FLUID_ELEMENT, SOLID_ELEMENT >::Traction_mesh_pt
private

Vectors of pointers to mesh of traction elements.

Definition at line 477 of file unstructured_adaptive_2d_fsi.cc.


The documentation for this class was generated from the following file: