Public Member Functions | Protected Attributes | List of all members
InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT > Class Template Reference

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...

Inheritance diagram for InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >:

Public Member Functions

 InclinedPlaneProblem (const unsigned &nx, const unsigned &ny, const double &length)
 Generic Constructor (empty)
 
void solve_steady ()
 Solve the steady problem.
 
void timestep (const double &dt, const unsigned &n_tsteps)
 Take n_tsteps timesteps of size dt.
 
void actions_before_implicit_timestep ()
 Actions before the timestep (update the time-dependent boundary conditions)
 
void make_traction_elements ()
 Function to add the traction boundary elements to boundaries 3(inlet) and 1(outlet) of the mesh.
 
void make_free_surface_elements ()
 
void complete_build ()
 Complete the build of the problem setting all standard parameters and boundary conditions.
 
 ~InclinedPlaneProblem ()
 Generic desructor to clean up the memory allocated in the problem.
 

Protected Attributes

MeshBulk_mesh_pt
 Bulk fluid mesh.
 
MeshTraction_mesh_pt
 Mesh for the traction elements that are added at inlet and outlet.
 
MeshSurface_mesh_pt
 Mesh for the free surface elements.
 
MeshPoint_mesh_pt
 Mesh for the point elements at each end of the free surface.
 
std::string Output_prefix
 Prefix for output files.
 

Detailed Description

template<class ELEMENT, class INTERFACE_ELEMENT>
class InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >

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.

Constructor & Destructor Documentation

◆ InclinedPlaneProblem()

Generic Constructor (empty)

Definition at line 161 of file inclined_plane.cc.

◆ ~InclinedPlaneProblem()

Member Function Documentation

◆ actions_before_implicit_timestep()

void InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >::actions_before_implicit_timestep ( )
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.

◆ complete_build()

Complete the build of the problem setting all standard parameters and boundary conditions.

Definition at line 300 of file inclined_plane.cc.

References InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >::Bulk_mesh_pt.

◆ make_free_surface_elements()

void InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >::make_free_surface_elements ( )
inline

◆ make_traction_elements()

void InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >::make_traction_elements ( )
inline

◆ solve_steady()

Solve the steady problem.

Definition at line 411 of file inclined_plane.cc.

◆ timestep()

Take n_tsteps timesteps of size dt.

Perform n_tsteps timesteps of size dt.

Definition at line 443 of file inclined_plane.cc.

Member Data Documentation

◆ Bulk_mesh_pt

◆ Output_prefix

std::string InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >::Output_prefix
protected

Prefix for output files.

Definition at line 156 of file inclined_plane.cc.

◆ Point_mesh_pt

◆ Surface_mesh_pt

◆ Traction_mesh_pt

Mesh* InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >::Traction_mesh_pt
protected

Mesh for the traction elements that are added at inlet and outlet.

Definition at line 147 of file inclined_plane.cc.

Referenced by InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >::make_traction_elements(), and InclinedPlaneProblem< ELEMENT, INTERFACE_ELEMENT >::~InclinedPlaneProblem().


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