Public Member Functions | |
RefineableRotatingCylinderProblem (const double &length, const double &height) | |
Constructor: Pass flag to indicate if you want a constant source function or the tanh profile. | |
void | actions_after_newton_solve () |
Update the problem specs after solve (empty) | |
void | actions_before_newton_solve () |
Update the problem specs before solve: | |
void | actions_before_adapt () |
Strip off the interface before adaptation. | |
void | actions_after_adapt () |
void | finish_problem_setup () |
Complete problem setup: Setup element-specific things (source fct pointers etc.) | |
void | set_boundary_conditions () |
void | solve () |
void | create_volume_constraint_elements () |
Create the volume constraint elements. | |
void | delete_volume_constraint_elements () |
void | create_free_surface_elements () |
void | delete_free_surface_elements () |
Public Attributes | |
double | Re |
double | Ca |
double | ReInvFr |
double | Bo |
double | Omega |
double | Volume |
double | Angle |
Vector< double > | G |
RefineableCylinderAndInterfaceMesh< ELEMENT > * | Bulk_mesh_pt |
Mesh * | Surface_mesh_pt |
Mesh * | Point_mesh_pt |
Mesh * | Volume_constraint_mesh_pt |
The volume constraint mesh. | |
Private Attributes | |
double | Length |
double | Height |
ConstitutiveLaw * | Constitutive_law_pt |
Data * | Traded_pressure_data_pt |
Definition at line 722 of file adaptive_interface.cc.
RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem | ( | const double & | length, |
const double & | height | ||
) |
Constructor: Pass flag to indicate if you want a constant source function or the tanh profile.
Constructor for adaptive Poisson problem in deformable fish-shaped domain. Pass bool to indicate if we want a constant source function or the one that produces a tanh step.
Set the initial value of the ReInvFr = Bo/Ca
Build a linear solver: Use HSL's MA42 frontal solver
Switch off full doc for frontal solver
Definition at line 910 of file adaptive_interface.cc.
References RefineableRotatingCylinderProblem< ELEMENT >::Bo, RefineableRotatingCylinderProblem< ELEMENT >::Bulk_mesh_pt, RefineableRotatingCylinderProblem< ELEMENT >::Ca, RefineableRotatingCylinderProblem< ELEMENT >::Constitutive_law_pt, RefineableRotatingCylinderProblem< ELEMENT >::finish_problem_setup(), RefineableRotatingCylinderProblem< ELEMENT >::G, Global_Physical_Variables::Nu, RefineableRotatingCylinderProblem< ELEMENT >::Point_mesh_pt, RefineableCylinderAndInterfaceMesh< ELEMENT >::RefineableCylinderAndInterfaceMesh(), RefineableRotatingCylinderProblem< ELEMENT >::ReInvFr, RefineableRotatingCylinderProblem< ELEMENT >::Surface_mesh_pt, RefineableRotatingCylinderProblem< ELEMENT >::Traded_pressure_data_pt, RefineableRotatingCylinderProblem< ELEMENT >::Volume_constraint_mesh_pt, and Global_Physical_Variables::Wall_normal.
|
inline |
Definition at line 761 of file adaptive_interface.cc.
References RefineableRotatingCylinderProblem< ELEMENT >::finish_problem_setup().
|
inline |
Update the problem specs after solve (empty)
Definition at line 749 of file adaptive_interface.cc.
|
inline |
Strip off the interface before adaptation.
Definition at line 755 of file adaptive_interface.cc.
References RefineableRotatingCylinderProblem< ELEMENT >::delete_free_surface_elements(), and RefineableRotatingCylinderProblem< ELEMENT >::delete_volume_constraint_elements().
|
inline |
Update the problem specs before solve:
Definition at line 752 of file adaptive_interface.cc.
References RefineableRotatingCylinderProblem< ELEMENT >::set_boundary_conditions().
|
inline |
|
inline |
Create the volume constraint elements.
Definition at line 784 of file adaptive_interface.cc.
References RefineableRotatingCylinderProblem< ELEMENT >::Bulk_mesh_pt, RefineableRotatingCylinderProblem< ELEMENT >::Traded_pressure_data_pt, RefineableRotatingCylinderProblem< ELEMENT >::Volume, and RefineableRotatingCylinderProblem< ELEMENT >::Volume_constraint_mesh_pt.
|
inline |
Definition at line 883 of file adaptive_interface.cc.
References RefineableRotatingCylinderProblem< ELEMENT >::Point_mesh_pt, and RefineableRotatingCylinderProblem< ELEMENT >::Surface_mesh_pt.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::actions_before_adapt().
|
inline |
Definition at line 822 of file adaptive_interface.cc.
References RefineableRotatingCylinderProblem< ELEMENT >::Volume_constraint_mesh_pt.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::actions_before_adapt().
void RefineableRotatingCylinderProblem< ELEMENT >::finish_problem_setup | ( | ) |
Complete problem setup: Setup element-specific things (source fct pointers etc.)
Complete build of Poisson problem: Loop over elements and setup pointers to source function.
Definition at line 1001 of file adaptive_interface.cc.
References RefineableCylinderAndInterfaceMesh< ELEMENT >::RefineableCylinderAndInterfaceMesh(), and Global_Physical_Variables::wall_unit_normal_fct().
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::actions_after_adapt(), and RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem().
void RefineableRotatingCylinderProblem< ELEMENT >::set_boundary_conditions | ( | ) |
Definition at line 1137 of file adaptive_interface.cc.
References CylinderAndInterfaceDomain::centre_x, CylinderAndInterfaceDomain::centre_y, and CylinderAndInterfaceMesh< ELEMENT >::domain_pt().
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::actions_before_newton_solve().
void RefineableRotatingCylinderProblem< ELEMENT >::solve | ( | ) |
Definition at line 1162 of file adaptive_interface.cc.
References RefineableCylinderAndInterfaceMesh< ELEMENT >::RefineableCylinderAndInterfaceMesh().
double RefineableRotatingCylinderProblem< ELEMENT >::Angle |
Definition at line 740 of file adaptive_interface.cc.
Definition at line 734 of file adaptive_interface.cc.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem().
RefineableCylinderAndInterfaceMesh<ELEMENT>* RefineableRotatingCylinderProblem< ELEMENT >::Bulk_mesh_pt |
Definition at line 768 of file adaptive_interface.cc.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::create_free_surface_elements(), RefineableRotatingCylinderProblem< ELEMENT >::create_volume_constraint_elements(), and RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem().
Definition at line 734 of file adaptive_interface.cc.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem().
|
private |
Definition at line 728 of file adaptive_interface.cc.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem().
Definition at line 742 of file adaptive_interface.cc.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem().
|
private |
Definition at line 725 of file adaptive_interface.cc.
|
private |
Definition at line 725 of file adaptive_interface.cc.
double RefineableRotatingCylinderProblem< ELEMENT >::Omega |
Definition at line 736 of file adaptive_interface.cc.
Mesh* RefineableRotatingCylinderProblem< ELEMENT >::Point_mesh_pt |
Definition at line 774 of file adaptive_interface.cc.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::create_free_surface_elements(), RefineableRotatingCylinderProblem< ELEMENT >::delete_free_surface_elements(), and RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem().
Definition at line 734 of file adaptive_interface.cc.
double RefineableRotatingCylinderProblem< ELEMENT >::ReInvFr |
Definition at line 734 of file adaptive_interface.cc.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem().
Mesh* RefineableRotatingCylinderProblem< ELEMENT >::Surface_mesh_pt |
Definition at line 771 of file adaptive_interface.cc.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::create_free_surface_elements(), RefineableRotatingCylinderProblem< ELEMENT >::delete_free_surface_elements(), and RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem().
|
private |
Definition at line 730 of file adaptive_interface.cc.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::create_volume_constraint_elements(), and RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem().
double RefineableRotatingCylinderProblem< ELEMENT >::Volume |
Definition at line 738 of file adaptive_interface.cc.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::create_volume_constraint_elements().
Mesh* RefineableRotatingCylinderProblem< ELEMENT >::Volume_constraint_mesh_pt |
The volume constraint mesh.
Definition at line 777 of file adaptive_interface.cc.
Referenced by RefineableRotatingCylinderProblem< ELEMENT >::create_volume_constraint_elements(), RefineableRotatingCylinderProblem< ELEMENT >::delete_volume_constraint_elements(), and RefineableRotatingCylinderProblem< ELEMENT >::RefineableRotatingCylinderProblem().