www.mooseframework.org
Classes | Functions
WedgeFunction.h File Reference

Go to the source code of this file.

Classes

class  WedgeFunction
 Function object for tests/ins/jeffery_hamel responsible for setting the exact value of the velocity and pressure variables. More...
 

Functions

template<>
InputParameters validParams< WedgeFunction > ()
 

Function Documentation

◆ validParams< WedgeFunction >()

template<>
InputParameters validParams< WedgeFunction > ( )

Definition at line 16 of file WedgeFunction.C.

17 {
18  InputParameters params = validParams<Function>();
19  params.addClassDescription("Function object for tests/ins/jeffery_hamel responsible for setting "
20  "the exact value of the velocity and pressure variables.");
21  params.addRequiredParam<Real>(
22  "alpha_degrees", "The wedge half-angle size (in degrees) used in computing 'f' below.");
23  params.addRequiredParam<Real>("Re", "The Reynolds number used in computing 'f' below.");
24  params.addRequiredRangeCheckedParam<unsigned int>(
25  "var_num",
26  "var_num<3",
27  "The variable (0==vel_x, 1==vel_y, 2==p) we are computing the exact solution for.");
28  params.addRequiredParam<Real>("mu", "dynamic viscosity");
29  params.addRequiredParam<Real>("rho", "density");
30  params.addRequiredParam<Real>("K", "Constant obtained by interating the Jeffery-Hamel ODE once.");
31  params.addRequiredParam<FunctionName>(
32  "f", "The pre-computed semi-analytic exact solution f(theta) as a PiecewiseLinear function.");
33  params.addClassDescription(
34  "Function which computes the exact solution for Jeffery-Hamel flow in a wedge.");
35  return params;
36 }