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)
 

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 ()
 
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 112 of file unstructured_adaptive_2d_fsi.cc.

Constructor & Destructor Documentation

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

Constructor:

Constructor for unstructured solid problem.

Definition at line 500 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.

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

Destructor (empty)

Definition at line 121 of file unstructured_adaptive_2d_fsi.cc.

Member Function Documentation

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

Actions before adapt.

Definition at line 127 of file unstructured_adaptive_2d_fsi.cc.

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 289 of file unstructured_adaptive_2d_fsi.cc.

References Global_Physical_Variables::Q.

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 344 of file unstructured_adaptive_2d_fsi.cc.

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 324 of file unstructured_adaptive_2d_fsi.cc.

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 416 of file unstructured_adaptive_2d_fsi.cc.

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

Doc the solution.

Definition at line 892 of file unstructured_adaptive_2d_fsi.cc.

Referenced by main().

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

Calculate the fluid dissipation.

Definition at line 453 of file unstructured_adaptive_2d_fsi.cc.

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 435 of file unstructured_adaptive_2d_fsi.cc.

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 276 of file unstructured_adaptive_2d_fsi.cc.

References Global_Physical_Variables::Q.

Member Data Documentation

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

Bulk fluid mesh.

Definition at line 473 of file unstructured_adaptive_2d_fsi.cc.

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 487 of file unstructured_adaptive_2d_fsi.cc.

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 478 of file unstructured_adaptive_2d_fsi.cc.

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

Definition at line 490 of file unstructured_adaptive_2d_fsi.cc.

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 469 of file unstructured_adaptive_2d_fsi.cc.

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 484 of file unstructured_adaptive_2d_fsi.cc.

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 481 of file unstructured_adaptive_2d_fsi.cc.


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