![]() |
|
Functions | |
| void | wind_function (const Vector< double > &x, Vector< double > &wind) |
| Wind. More... | |
| 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... | |
| double | source_function (const Vector< double > &x_vect) |
| Source function required to make the solution above an exact solution. More... | |
Variables | |
| unsigned | Flag = 0 |
| Flag for solution. More... | |
| double | Peclet = 0.0 |
| Peclet number – overwrite with actual Reynolds number. More... | |
//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// Namespace for exact solution for pressure advection diffusion problem
| void oomph::PressureAdvectionDiffusionValidation::get_exact_u | ( | const Vector< double > & | x, |
| double & | u | ||
| ) |
Exact solution as a scalar.
References Flag, Peclet, Eigen::bfloat16_impl::pow(), and plotDoE::x.
| void oomph::PressureAdvectionDiffusionValidation::get_exact_u | ( | const Vector< double > & | x, |
| Vector< double > & | u | ||
| ) |
Exact solution as a Vector.
References Flag, Peclet, Eigen::bfloat16_impl::pow(), wind_function(), and plotDoE::x.
Referenced by oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::doc_solution().
| double oomph::PressureAdvectionDiffusionValidation::source_function | ( | const Vector< double > & | x_vect | ) |
Source function required to make the solution above an exact solution.
References cos(), Flag, Peclet, Eigen::bfloat16_impl::pow(), sin(), TestProblem::source(), and plotDoE::x.
Referenced by oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::validate().
| void oomph::PressureAdvectionDiffusionValidation::wind_function | ( | const Vector< double > & | x, |
| Vector< double > & | wind | ||
| ) |
Wind.
References cos(), Flag, sin(), and plotDoE::x.
Referenced by get_exact_u(), and oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::pin_all_non_pressure_dofs().
| unsigned oomph::PressureAdvectionDiffusionValidation::Flag = 0 |
Flag for solution.
Referenced by CombCanSpineMesh< ELEMENT, INTERFACE_ELEMENT >::build_single_layer_mesh(), CombTipSpineMesh< ELEMENT, INTERFACE_ELEMENT >::build_single_layer_mesh(), get_exact_u(), source_function(), test_reference(), oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::validate(), and wind_function().
| double oomph::PressureAdvectionDiffusionValidation::Peclet = 0.0 |
Peclet number – overwrite with actual Reynolds number.
Referenced by get_exact_u(), source_function(), and oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::validate().