Rayleigh-type problem: 2D channel whose upper wall oscillates periodically. More...
Public Member Functions | |
RayleighProblem (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 () |
void | actions_after_newton_solve () |
Update after solve is empty. More... | |
void | actions_before_implicit_timestep () |
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... | |
Private Member Functions | |
void | fix_pressure (const unsigned &e, const unsigned &pdof, const double &pvalue) |
Fix pressure in element e at pressure dof pdof and set to pvalue. More... | |
Private Attributes | |
ofstream | Trace_file |
Trace file. More... | |
Rayleigh-type problem: 2D channel whose upper wall oscillates periodically.
Definition at line 120 of file rayleigh_channel.cc.
RayleighProblem< ELEMENT, TIMESTEPPER >::RayleighProblem | ( | 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 187 of file rayleigh_channel.cc.
References Global_Parameters::Re, and Global_Parameters::ReSt.
|
inline |
Update after solve is empty.
Definition at line 133 of file rayleigh_channel.cc.
|
inline |
Definition at line 136 of file rayleigh_channel.cc.
References ExactSoln::get_exact_u().
|
inline |
Definition at line 130 of file rayleigh_channel.cc.
void RayleighProblem< ELEMENT, TIMESTEPPER >::doc_solution | ( | DocInfo & | doc_info | ) |
Doc the solution.
Definition at line 332 of file rayleigh_channel.cc.
References ExactSoln::get_exact_u().
|
inlineprivate |
Fix pressure in element e at pressure dof pdof and set to pvalue.
Definition at line 169 of file rayleigh_channel.cc.
void RayleighProblem< 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 253 of file rayleigh_channel.cc.
References ExactSoln::get_exact_u().
void RayleighProblem< ELEMENT, TIMESTEPPER >::unsteady_run | ( | DocInfo & | doc_info | ) |
Run an unsteady simulation.
Unsteady run...
Definition at line 417 of file rayleigh_channel.cc.
References Global_Parameters::Impulsive_start_flag, and Global_Parameters::Long_run_flag.
Referenced by main().
|
private |
Trace file.
Definition at line 178 of file rayleigh_channel.cc.