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

◆ get_exact_u() [1/2]

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

◆ get_exact_u() [2/2]

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.

◆ get_source()

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.

Referenced by main().

◆ prescribed_flux_on_fixed_y_boundary()

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.

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

◆ step_position()

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.

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

Variable Documentation

◆ Alpha

double TanhSolnForUnsteadyHeat::Alpha

Parameter for steepness of step.

Definition at line 135 of file two_d_unsteady_heat_ALE.cc.

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

◆ Beta

double TanhSolnForUnsteadyHeat::Beta

Parameter for amplitude of step translation.

Definition at line 138 of file two_d_unsteady_heat_ALE.cc.

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

◆ Gamma

double TanhSolnForUnsteadyHeat::Gamma

Parameter for timescale of step translation.

Definition at line 141 of file two_d_unsteady_heat_ALE.cc.

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

◆ TanPhi

double TanhSolnForUnsteadyHeat::TanPhi

Parameter for angle of step.

Definition at line 144 of file two_d_unsteady_heat_ALE.cc.

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