Functions | Variables
TanhSolnForUnsteadyHeat Namespace Reference

Functions

double step_position (const double &time)
 Position of step (x-axis intercept) More...
 
void get_exact_u (const double &time, const Vector< double > &x, Vector< double > &u)
 Exact solution as a Vector. More...
 
void get_exact_u (const double &time, const Vector< double > &x, double &u)
 Exact solution as a scalar. More...
 
void get_source (const double &time, const Vector< double > &x, double &source)
 Source function to make it an exact solution. More...
 
void prescribed_flux_on_fixed_y_boundary (const double &time, const Vector< double > &x, double &flux)
 Flux required by the exact solution on a boundary on which y is fixed. More...
 

Variables

double Alpha
 Parameter for steepness of step. More...
 
double Beta
 Parameter for amplitude of step translation. More...
 
double Gamma
 Parameter for timescale of step translation. More...
 
double TanPhi
 Parameter for angle of step. More...
 

Detailed Description

Namespace for exact solution of unsteady heat equation with sharp step

Function Documentation

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

Exact solution as a scalar.

Definition at line 163 of file two_d_unsteady_heat_ALE.cc.

References Alpha, Beta, Gamma, and TanPhi.

void TanhSolnForUnsteadyHeat::get_source ( const double &  time,
const Vector< double > &  x,
double &  source 
)

Source function to make it an exact solution.

Definition at line 172 of file two_d_unsteady_heat_ALE.cc.

References Alpha, Beta, Gamma, and TanPhi.

Referenced by main().

void TanhSolnForUnsteadyHeat::prescribed_flux_on_fixed_y_boundary ( const double &  time,
const Vector< double > &  x,
double &  flux 
)

Flux required by the exact solution on a boundary on which y is fixed.

Definition at line 189 of file two_d_unsteady_heat_ALE.cc.

References Alpha, Beta, Gamma, and TanPhi.

Referenced by RefineableUnsteadyHeatProblem< ELEMENT >::actions_after_adapt(), and RefineableUnsteadyHeatProblem< ELEMENT >::RefineableUnsteadyHeatProblem().

double TanhSolnForUnsteadyHeat::step_position ( const double &  time)

Position of step (x-axis intercept)

Definition at line 147 of file two_d_unsteady_heat_ALE.cc.

References Beta, and Gamma.

Referenced by RefineableUnsteadyHeatProblem< ELEMENT >::doc_solution().

Variable Documentation

double TanhSolnForUnsteadyHeat::Alpha
double TanhSolnForUnsteadyHeat::Beta
double TanhSolnForUnsteadyHeat::Gamma
double TanhSolnForUnsteadyHeat::TanPhi