Namespace for exact solution for AdvectionDiffusion equation with "sharp" step. More...
Functions | |
void | get_exact_u (const Vector< double > &x, Vector< double > &u) |
Exact solution as a Vector. More... | |
void | get_exact_u (const Vector< double > &x, double &u) |
Exact solution as a scalar. More... | |
void | source_function (const Vector< double > &x_vect, double &source) |
Source function required to make the solution above an exact solution. More... | |
void | wind_function (const Vector< double > &x, Vector< double > &wind) |
Wind. More... | |
void | tanh_profile (const Vector< double > &x, Vector< double > &u) |
Tanh profile for assignment of boundary conditons as a Vector. More... | |
void | tanh_profile (const Vector< double > &x, double &u) |
Tanh profile for assignment of boundary conditons as a Vector. More... | |
Variables | |
double | Peclet =200.0 |
Peclet number. More... | |
double | Alpha |
Parameter for steepness of step. More... | |
double | TanPhi |
Parameter for angle of step. More... | |
Namespace for exact solution for AdvectionDiffusion equation with "sharp" step.
Namespace for physical parameters and boundary conditions "sharp" step.
void TanhSolnForAdvectionDiffusion::get_exact_u | ( | const Vector< double > & | x, |
double & | u | ||
) |
Exact solution as a scalar.
Definition at line 65 of file two_d_adv_diff_adapt.cc.
void TanhSolnForAdvectionDiffusion::get_exact_u | ( | const Vector< double > & | x, |
Vector< double > & | u | ||
) |
Exact solution as a Vector.
Definition at line 59 of file two_d_adv_diff_adapt.cc.
Referenced by RefineableAdvectionDiffusionProblem< ELEMENT >::actions_before_newton_solve(), and RefineableAdvectionDiffusionProblem< ELEMENT >::doc_solution().
void TanhSolnForAdvectionDiffusion::source_function | ( | const Vector< double > & | x_vect, |
double & | source | ||
) |
void TanhSolnForAdvectionDiffusion::tanh_profile | ( | const Vector< double > & | x, |
double & | u | ||
) |
Tanh profile for assignment of boundary conditons as a Vector.
Definition at line 64 of file two_d_adv_diff_adapt2.cc.
void TanhSolnForAdvectionDiffusion::tanh_profile | ( | const Vector< double > & | x, |
Vector< double > & | u | ||
) |
Tanh profile for assignment of boundary conditons as a Vector.
Definition at line 58 of file two_d_adv_diff_adapt2.cc.
void TanhSolnForAdvectionDiffusion::wind_function | ( | const Vector< double > & | x, |
Vector< double > & | wind | ||
) |
Wind.
Wind: Recirculating cells.
Definition at line 84 of file two_d_adv_diff_adapt.cc.
Referenced by main().
double TanhSolnForAdvectionDiffusion::Alpha |
Parameter for steepness of step.
Parameter for steepness of step in tanh profile.
Definition at line 53 of file two_d_adv_diff_adapt.cc.
Referenced by get_exact_u(), main(), source_function(), and tanh_profile().
double TanhSolnForAdvectionDiffusion::Peclet =200.0 |
Peclet number.
Definition at line 50 of file two_d_adv_diff_adapt.cc.
Referenced by RefineableAdvectionDiffusionProblem< ELEMENT >::RefineableAdvectionDiffusionProblem(), and source_function().
double TanhSolnForAdvectionDiffusion::TanPhi |
Parameter for angle of step.
Parameter for angle of step in tanh profile.
Definition at line 56 of file two_d_adv_diff_adapt.cc.
Referenced by get_exact_u(), main(), source_function(), and tanh_profile().