Functions | Variables
TanhSolnForAdvectionDiffusion Namespace Reference

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

Detailed Description

Namespace for exact solution for AdvectionDiffusion equation with "sharp" step

Namespace for physical parameters and boundary conditions "sharp" step

Function Documentation

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

Exact solution as a scalar.

Definition at line 69 of file two_d_adv_diff_adapt.cc.

References Alpha, and TanPhi.

void TanhSolnForAdvectionDiffusion::source_function ( const Vector< double > &  x_vect,
double &  source 
)

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

Zero source function.

Definition at line 75 of file two_d_adv_diff_adapt.cc.

References Alpha, Peclet, and TanPhi.

Referenced by main().

void TanhSolnForAdvectionDiffusion::tanh_profile ( const Vector< double > &  x,
Vector< double > &  u 
)

Tanh profile for assignment of boundary conditons as a Vector.

Definition at line 62 of file two_d_adv_diff_adapt2.cc.

References Alpha, and TanPhi.

void TanhSolnForAdvectionDiffusion::tanh_profile ( const Vector< double > &  x,
double &  u 
)

Tanh profile for assignment of boundary conditons as a Vector.

Definition at line 68 of file two_d_adv_diff_adapt2.cc.

References Alpha, and TanPhi.

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

Wind.

Wind: Recirculating cells.

Definition at line 88 of file two_d_adv_diff_adapt.cc.

Referenced by main().

Variable Documentation

double TanhSolnForAdvectionDiffusion::Alpha

Parameter for steepness of step.

Parameter for steepness of step in tanh profile.

Definition at line 57 of file two_d_adv_diff_adapt.cc.

Referenced by get_exact_u(), main(), source_function(), and tanh_profile().

double TanhSolnForAdvectionDiffusion::Peclet =200.0
double TanhSolnForAdvectionDiffusion::TanPhi

Parameter for angle of step.

Parameter for angle of step in tanh profile.

Definition at line 60 of file two_d_adv_diff_adapt.cc.

Referenced by get_exact_u(), main(), source_function(), and tanh_profile().