Generic problem class that will form the base class for both spine and elastic mesh-updates of the problem. Templated by the bulk element and interface element types. More...
Public Member Functions | |
InclinedPlaneProblem (const unsigned &nx, const unsigned &ny, const double &length) | |
Generic Constructor (empty) More... | |
void | solve_steady () |
Solve the steady problem. More... | |
void | timestep (const double &dt, const unsigned &n_tsteps) |
Take n_tsteps timesteps of size dt. More... | |
void | actions_before_implicit_timestep () |
Actions before the timestep (update the time-dependent boundary conditions) More... | |
void | make_traction_elements () |
Function to add the traction boundary elements to boundaries 3(inlet) and 1(outlet) of the mesh. More... | |
void | make_free_surface_elements () |
void | complete_build () |
Complete the build of the problem setting all standard parameters and boundary conditions. More... | |
~InclinedPlaneProblem () | |
Generic desructor to clean up the memory allocated in the problem. More... | |
Protected Attributes | |
Mesh * | Bulk_mesh_pt |
Bulk fluid mesh. More... | |
Mesh * | Traction_mesh_pt |
Mesh for the traction elements that are added at inlet and outlet. More... | |
Mesh * | Surface_mesh_pt |
Mesh for the free surface elements. More... | |
Mesh * | Point_mesh_pt |
Mesh for the point elements at each end of the free surface. More... | |
std::string | Output_prefix |
Prefix for output files. More... | |
Generic problem class that will form the base class for both spine and elastic mesh-updates of the problem. Templated by the bulk element and interface element types.
Definition at line 138 of file inclined_plane.cc.
|
inline |
Generic Constructor (empty)
Definition at line 161 of file inclined_plane.cc.
|
inline |
Generic desructor to clean up the memory allocated in the problem.
Definition at line 385 of file inclined_plane.cc.
|
inline |
Actions before the timestep (update the time-dependent boundary conditions)
Definition at line 173 of file inclined_plane.cc.
References Global_Physical_Variables::K.
|
inline |
Complete the build of the problem setting all standard parameters and boundary conditions.
Definition at line 300 of file inclined_plane.cc.
References Global_Physical_Variables::G(), Global_Physical_Variables::Re, and Global_Physical_Variables::ReInvFr.
|
inline |
Definition at line 239 of file inclined_plane.cc.
References Global_Physical_Variables::Ca, Global_Physical_Variables::Inlet_Angle, Global_Physical_Variables::wall_unit_normal_inlet_fct(), and Global_Physical_Variables::wall_unit_normal_outlet_fct().
|
inline |
Function to add the traction boundary elements to boundaries 3(inlet) and 1(outlet) of the mesh.
Definition at line 193 of file inclined_plane.cc.
References Global_Physical_Variables::hydrostatic_pressure_inlet(), and Global_Physical_Variables::hydrostatic_pressure_outlet().
void InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >::solve_steady |
Solve the steady problem.
Definition at line 411 of file inclined_plane.cc.
References Global_Physical_Variables::Alpha, and Global_Physical_Variables::ReInvFr.
Referenced by main().
void InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >::timestep | ( | const double & | dt, |
const unsigned & | n_tsteps | ||
) |
Take n_tsteps timesteps of size dt.
Perform n_tsteps timesteps of size dt.
Definition at line 443 of file inclined_plane.cc.
References Global_Physical_Variables::Re.
Referenced by main().
|
protected |
Bulk fluid mesh.
Definition at line 144 of file inclined_plane.cc.
|
protected |
Prefix for output files.
Definition at line 156 of file inclined_plane.cc.
|
protected |
Mesh for the point elements at each end of the free surface.
Definition at line 153 of file inclined_plane.cc.
|
protected |
Mesh for the free surface elements.
Definition at line 150 of file inclined_plane.cc.
|
protected |
Mesh for the traction elements that are added at inlet and outlet.
Definition at line 147 of file inclined_plane.cc.