Functions | Variables
oomph::PressureAdvectionDiffusionValidation Namespace Reference

//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// More...

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

Detailed Description

//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////

Namespace for exact solution for pressure advection diffusion problem

Function Documentation

◆ get_exact_u() [1/2]

void oomph::PressureAdvectionDiffusionValidation::get_exact_u ( const Vector< double > &  x,
double &  u 
)

Exact solution as a scalar.

Definition at line 79 of file navier_stokes_preconditioners.cc.

References Flag, and Peclet.

◆ get_exact_u() [2/2]

void oomph::PressureAdvectionDiffusionValidation::get_exact_u ( const Vector< double > &  x,
Vector< double > &  u 
)

Exact solution as a Vector.

Definition at line 63 of file navier_stokes_preconditioners.cc.

References Flag, Peclet, and wind_function().

Referenced by oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::doc_solution().

◆ source_function()

double oomph::PressureAdvectionDiffusionValidation::source_function ( const Vector< double > &  x_vect)

Source function required to make the solution above an exact solution.

Definition at line 93 of file navier_stokes_preconditioners.cc.

References Flag, and Peclet.

Referenced by oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::validate().

◆ wind_function()

void oomph::PressureAdvectionDiffusionValidation::wind_function ( const Vector< double > &  x,
Vector< double > &  wind 
)

Variable Documentation

◆ Flag

unsigned oomph::PressureAdvectionDiffusionValidation::Flag = 0

◆ Peclet

double oomph::PressureAdvectionDiffusionValidation::Peclet = 0.0

Peclet number – overwrite with actual Reynolds number.

Definition at line 45 of file navier_stokes_preconditioners.cc.

Referenced by get_exact_u(), source_function(), and oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::validate().