//////////////////////////////////////////////////////// //////////////////////////////////////////////////////// More...
Public Member Functions | |
BubbleInChannelProblem () | |
Constructor. More... | |
~BubbleInChannelProblem () | |
Destructor. More... | |
void | actions_before_adapt () |
Actions before adapt: Wipe the mesh of free surface elements. More... | |
void | actions_after_adapt () |
Actions after adapt: Rebuild the mesh of free surface elements. More... | |
void | actions_after_newton_solve () |
Update the after solve (empty) More... | |
void | actions_before_newton_solve () |
Update the problem specs before solve. More... | |
void | complete_problem_setup () |
Set boundary conditions and complete the build of all elements. More... | |
void | doc_solution (const std::string &comment="") |
Doc the solution. More... | |
void | compute_error_estimate (double &max_err, double &min_err) |
Compute the error estimates and assign to elements for plotting. More... | |
Private Types | |
enum | { Inflow_boundary_id =0 , Upper_wall_boundary_id =1 , Outflow_boundary_id =2 , Bottom_wall_boundary_id =3 , First_bubble_boundary_id =4 , Second_bubble_boundary_id =5 } |
Enumeration of mesh boundaries. More... | |
Private Member Functions | |
void | create_free_surface_elements () |
Create free surface elements. More... | |
void | delete_free_surface_elements () |
Delete free surface elements. More... | |
void | create_volume_constraint_elements () |
Create elements that impose volume constraint on the bubble. More... | |
void | delete_volume_constraint_elements () |
Delete volume constraint elements. More... | |
Private Attributes | |
Mesh * | Free_surface_mesh_pt |
Pointers to mesh of free surface elements. More... | |
Mesh * | Volume_constraint_mesh_pt |
Pointer to mesh containing elements that impose volume constraint. More... | |
RefineableSolidTriangleMesh< ELEMENT > * | Fluid_mesh_pt |
Pointer to Fluid_mesh. More... | |
Vector< TriangleMeshPolygon * > | Bubble_polygon_pt |
Vector storing pointer to the bubble polygons. More... | |
TriangleMeshPolygon * | Outer_boundary_polyline_pt |
Triangle mesh polygon for outer boundary. More... | |
Data * | Bubble_pressure_data_pt |
Pointer to a global bubble pressure datum. More... | |
VolumeConstraintElement * | Vol_constraint_el_pt |
Pointer to element that imposes volume constraint for bubble. More... | |
//////////////////////////////////////////////////////// ////////////////////////////////////////////////////////
Problem class to simulate inviscid bubble propagating along 2D channel
Definition at line 424 of file adaptive_bubble_in_channel.cc.
|
private |
Enumeration of mesh boundaries.
Enumerator | |
---|---|
Inflow_boundary_id | |
Upper_wall_boundary_id | |
Outflow_boundary_id | |
Bottom_wall_boundary_id | |
First_bubble_boundary_id | |
Second_bubble_boundary_id |
Definition at line 601 of file adaptive_bubble_in_channel.cc.
BubbleInChannelProblem< ELEMENT >::BubbleInChannelProblem |
Constructor.
Definition at line 619 of file adaptive_bubble_in_channel.cc.
References Problem_Parameter::Ca, Problem_Parameter::Doc_info, Problem_Parameter::Length, Problem_Parameter::Radius, and Problem_Parameter::Volume.
|
inline |
Destructor.
Definition at line 433 of file adaptive_bubble_in_channel.cc.
References Problem_Parameter::Constitutive_law_pt.
|
inline |
Actions after adapt: Rebuild the mesh of free surface elements.
Definition at line 493 of file adaptive_bubble_in_channel.cc.
|
inline |
Update the after solve (empty)
Definition at line 511 of file adaptive_bubble_in_channel.cc.
|
inline |
Actions before adapt: Wipe the mesh of free surface elements.
Definition at line 480 of file adaptive_bubble_in_channel.cc.
|
inline |
Update the problem specs before solve.
Definition at line 514 of file adaptive_bubble_in_channel.cc.
void BubbleInChannelProblem< ELEMENT >::complete_problem_setup |
Set boundary conditions and complete the build of all elements.
Definition at line 1003 of file adaptive_bubble_in_channel.cc.
References Problem_Parameter::Constitutive_law_pt, Problem_Parameter::Inflow_veloc_magnitude, and Problem_Parameter::Re.
Referenced by main().
void BubbleInChannelProblem< ELEMENT >::compute_error_estimate | ( | double & | max_err, |
double & | min_err | ||
) |
Compute the error estimates and assign to elements for plotting.
Compute error estimates and assign to elements for plotting.
Definition at line 1237 of file adaptive_bubble_in_channel.cc.
|
private |
Create free surface elements.
Create elements that impose the kinematic and dynamic bcs for the pseudo-solid fluid mesh.
Definition at line 900 of file adaptive_bubble_in_channel.cc.
References Problem_Parameter::Ca.
|
private |
Create elements that impose volume constraint on the bubble.
Definition at line 958 of file adaptive_bubble_in_channel.cc.
|
inlineprivate |
Delete free surface elements.
Definition at line 539 of file adaptive_bubble_in_channel.cc.
|
inlineprivate |
Delete volume constraint elements.
Definition at line 561 of file adaptive_bubble_in_channel.cc.
void BubbleInChannelProblem< ELEMENT >::doc_solution | ( | const std::string & | comment = "" | ) |
Doc the solution.
Definition at line 1156 of file adaptive_bubble_in_channel.cc.
References Problem_Parameter::Doc_info, Problem_Parameter::Norm_file, Problem_Parameter::Trace_file, and Problem_Parameter::Volume.
Referenced by main().
|
private |
Vector storing pointer to the bubble polygons.
Definition at line 589 of file adaptive_bubble_in_channel.cc.
|
private |
Pointer to a global bubble pressure datum.
Definition at line 595 of file adaptive_bubble_in_channel.cc.
|
private |
Pointer to Fluid_mesh.
Definition at line 586 of file adaptive_bubble_in_channel.cc.
|
private |
Pointers to mesh of free surface elements.
Definition at line 580 of file adaptive_bubble_in_channel.cc.
|
private |
Triangle mesh polygon for outer boundary.
Definition at line 592 of file adaptive_bubble_in_channel.cc.
|
private |
Pointer to element that imposes volume constraint for bubble.
Definition at line 598 of file adaptive_bubble_in_channel.cc.
|
private |
Pointer to mesh containing elements that impose volume constraint.
Definition at line 583 of file adaptive_bubble_in_channel.cc.