www.mooseframework.org
Functions
TabulatedFluidProperties.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< TabulatedFluidProperties > ()
 

Function Documentation

template<>
InputParameters validParams< TabulatedFluidProperties > ( )

Definition at line 18 of file TabulatedFluidProperties.C.

19 {
20  InputParameters params = validParams<SinglePhaseFluidPropertiesPT>();
21  params.addParam<FileName>("fluid_property_file",
22  "fluid_properties.csv",
23  "Name of the csv file containing the tabulated fluid property data");
24  params.addRangeCheckedParam<Real>("temperature_min",
25  300.0,
26  "temperature_min > 0",
27  "Minimum temperature for tabulated data. Default is 300 K)");
28  params.addParam<Real>(
29  "temperature_max", 500.0, "Maximum temperature for tabulated data. Default is 500 K");
30  params.addRangeCheckedParam<Real>("pressure_min",
31  1.0e5,
32  "pressure_min > 0",
33  "Minimum pressure for tabulated data. Default is 0.1 MPa)");
34  params.addParam<Real>(
35  "pressure_max", 50.0e6, "Maximum pressure for tabulated data. Default is 50 MPa");
36  params.addRangeCheckedParam<unsigned int>(
37  "num_T", 100, "num_T > 0", "Number of points to divide temperature range. Default is 100");
38  params.addRangeCheckedParam<unsigned int>(
39  "num_p", 100, "num_p > 0", "Number of points to divide pressure range. Default is 100");
40  params.addRequiredParam<UserObjectName>("fp", "The name of the FluidProperties UserObject");
41  params.addClassDescription(
42  "Fluid properties using bicubic spline interpolation on tabulated values provided");
43  return params;
44 }
InputParameters validParams< SinglePhaseFluidPropertiesPT >()