Unstructured solid problem. More...
Public Member Functions | |
UnstructuredSolidProblem () | |
Constructor: More... | |
~UnstructuredSolidProblem () | |
Destructor (empty) More... | |
void | set_incompressible () |
Set the problem to be incompressible. More... | |
void | doc_solution (DocInfo &doc_info) |
Doc the solution. More... | |
double | get_strain_energy () |
Calculate the strain energy. More... | |
void | actions_before_adapt () |
Remove Traction Mesh. More... | |
void | actions_after_adapt () |
Add on the traction elements after adaptation. More... | |
Private Attributes | |
RefineableSolidTriangleMesh< ELEMENT > * | Solid_mesh_pt |
Bulk mesh. More... | |
SolidMesh * | Traction_mesh_pt |
Pointer to mesh of traction elements. More... | |
TriangleMeshPolygon * | Outer_boundary_polyline_pt |
Triangle mesh polygon for outer boundary. More... | |
bool | Incompressible |
Boolean flag used in an incompressible problem. More... | |
Unstructured solid problem.
Definition at line 89 of file unstructured_adaptive_solid.cc.
UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem | ( | ) |
Constructor:
Constructor for unstructured solid problem.
Definition at line 137 of file unstructured_adaptive_solid.cc.
References UnstructuredSolidProblem< ELEMENT >::actions_after_adapt(), UnstructuredSolidProblem< ELEMENT >::Outer_boundary_polyline_pt, UnstructuredSolidProblem< ELEMENT >::Solid_mesh_pt, and UnstructuredSolidProblem< ELEMENT >::Traction_mesh_pt.
|
inline |
Destructor (empty)
Definition at line 98 of file unstructured_adaptive_solid.cc.
void UnstructuredSolidProblem< ELEMENT >::actions_after_adapt | ( | ) |
Add on the traction elements after adaptation.
Need to add on the traction elements after adaptation.
Definition at line 352 of file unstructured_adaptive_solid.cc.
References Global_Physical_Variables::constant_pressure(), Global_Physical_Variables::Constitutive_law_pt, UnstructuredSolidProblem< ELEMENT >::Incompressible, UnstructuredSolidProblem< ELEMENT >::set_incompressible(), UnstructuredSolidProblem< ELEMENT >::Solid_mesh_pt, and UnstructuredSolidProblem< ELEMENT >::Traction_mesh_pt.
Referenced by UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().
void UnstructuredSolidProblem< ELEMENT >::actions_before_adapt | ( | ) |
Remove Traction Mesh.
Actions before adapt: remove the traction elements in the surface mesh.
Definition at line 335 of file unstructured_adaptive_solid.cc.
References UnstructuredSolidProblem< ELEMENT >::Traction_mesh_pt.
void UnstructuredSolidProblem< ELEMENT >::doc_solution | ( | DocInfo & | doc_info | ) |
Doc the solution.
Definition at line 274 of file unstructured_adaptive_solid.cc.
References UnstructuredSolidProblem< ELEMENT >::Solid_mesh_pt, and UnstructuredSolidProblem< ELEMENT >::Traction_mesh_pt.
Referenced by main().
double UnstructuredSolidProblem< ELEMENT >::get_strain_energy | ( | ) |
Calculate the strain energy.
Calculate the strain energy in the entire elastic solid.
Definition at line 313 of file unstructured_adaptive_solid.cc.
References UnstructuredSolidProblem< ELEMENT >::Solid_mesh_pt.
Referenced by main().
|
inline |
Set the problem to be incompressible.
Definition at line 101 of file unstructured_adaptive_solid.cc.
Referenced by UnstructuredSolidProblem< ELEMENT >::actions_after_adapt(), and main().
|
private |
Boolean flag used in an incompressible problem.
Definition at line 127 of file unstructured_adaptive_solid.cc.
Referenced by UnstructuredSolidProblem< ELEMENT >::actions_after_adapt().
|
private |
Triangle mesh polygon for outer boundary.
Definition at line 124 of file unstructured_adaptive_solid.cc.
Referenced by UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().
|
private |
Bulk mesh.
Definition at line 118 of file unstructured_adaptive_solid.cc.
Referenced by UnstructuredSolidProblem< ELEMENT >::actions_after_adapt(), UnstructuredSolidProblem< ELEMENT >::doc_solution(), UnstructuredSolidProblem< ELEMENT >::get_strain_energy(), and UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().
|
private |
Pointer to mesh of traction elements.
Definition at line 121 of file unstructured_adaptive_solid.cc.
Referenced by UnstructuredSolidProblem< ELEMENT >::actions_after_adapt(), UnstructuredSolidProblem< ELEMENT >::actions_before_adapt(), UnstructuredSolidProblem< ELEMENT >::doc_solution(), and UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().