Rayleigh-type problem: 2D channel flow driven by traction bc. More...
Public Member Functions | |
RayleighTractionProblem (const unsigned &nx, const unsigned &ny, const double &lx, const double &ly) | |
Constructor: Pass number of elements in x and y directions and lengths. More... | |
void | actions_before_newton_solve () |
Update before solve is empty. More... | |
void | actions_after_newton_solve () |
Update after solve is empty. More... | |
void | actions_before_implicit_timestep () |
Actions before timestep (empty) More... | |
void | unsteady_run (DocInfo &doc_info) |
Run an unsteady simulation. More... | |
void | doc_solution (DocInfo &doc_info) |
Doc the solution. More... | |
void | set_initial_condition () |
Set initial condition (incl previous timesteps) according to specified function. More... | |
void | create_traction_elements (const unsigned &b, Mesh *const &bulk_mesh_pt, Mesh *const &surface_mesh_pt) |
Create traction elements on boundary b of the Mesh pointed to by bulk_mesh_pt and add them to the Mesh object pointed to by surface_mesh_pt. More... | |
Private Attributes | |
RectangularQuadMesh< ELEMENT > * | Bulk_mesh_pt |
Pointer to the "bulk" mesh. More... | |
Mesh * | Surface_mesh_pt |
Pointer to the "surface" mesh. More... | |
ofstream | Trace_file |
Trace file. More... | |
Rayleigh-type problem: 2D channel flow driven by traction bc.
Definition at line 125 of file rayleigh_traction_channel.cc.
RayleighTractionProblem< ELEMENT, TIMESTEPPER >::RayleighTractionProblem | ( | const unsigned & | nx, |
const unsigned & | ny, | ||
const double & | lx, | ||
const double & | ly | ||
) |
Constructor: Pass number of elements in x and y directions and lengths.
Problem constructor.
Definition at line 179 of file rayleigh_traction_channel.cc.
References ExactSoln::prescribed_traction(), Global_Parameters::Re, and Global_Parameters::ReSt.
|
inline |
Update after solve is empty.
Definition at line 138 of file rayleigh_traction_channel.cc.
|
inline |
Actions before timestep (empty)
Definition at line 141 of file rayleigh_traction_channel.cc.
|
inline |
Update before solve is empty.
Definition at line 135 of file rayleigh_traction_channel.cc.
void RayleighTractionProblem< ELEMENT, TIMESTEPPER >::create_traction_elements | ( | const unsigned & | b, |
Mesh *const & | bulk_mesh_pt, | ||
Mesh *const & | surface_mesh_pt | ||
) |
Create traction elements on boundary b of the Mesh pointed to by bulk_mesh_pt and add them to the Mesh object pointed to by surface_mesh_pt.
Create Navier-Stokes traction elements on the b-th boundary of the Mesh object pointed to by bulk_mesh_pt and add the elements to the Mesh object pointeed to by surface_mesh_pt.
Definition at line 424 of file rayleigh_traction_channel.cc.
void RayleighTractionProblem< ELEMENT, TIMESTEPPER >::doc_solution | ( | DocInfo & | doc_info | ) |
Doc the solution.
Definition at line 339 of file rayleigh_traction_channel.cc.
References ExactSoln::get_exact_u().
void RayleighTractionProblem< ELEMENT, TIMESTEPPER >::set_initial_condition |
Set initial condition (incl previous timesteps) according to specified function.
Set initial condition: Assign previous and current values from exact solution.
Definition at line 272 of file rayleigh_traction_channel.cc.
References ExactSoln::get_exact_u().
void RayleighTractionProblem< ELEMENT, TIMESTEPPER >::unsteady_run | ( | DocInfo & | doc_info | ) |
Run an unsteady simulation.
Unsteady run...
Definition at line 458 of file rayleigh_traction_channel.cc.
References Global_Parameters::Impulsive_start_flag, and Global_Parameters::Long_run_flag.
Referenced by main().
|
private |
Pointer to the "bulk" mesh.
Definition at line 163 of file rayleigh_traction_channel.cc.
|
private |
Pointer to the "surface" mesh.
Definition at line 166 of file rayleigh_traction_channel.cc.
|
private |
Trace file.
Definition at line 169 of file rayleigh_traction_channel.cc.