Classes | Functions
WedgeFunction.h File Reference

Go to the source code of this file.


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


InputParameters validParams< WedgeFunction > ()

Function Documentation

InputParameters validParams< WedgeFunction > ( )

Definition at line 12 of file WedgeFunction.C.

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