Go to the source code of this file.
◆ validParams< TabulatedFluidProperties >()
Definition at line 23 of file TabulatedFluidProperties.C.
26 params.addParam<FileName>(
27 "fluid_property_file",
28 "fluid_properties.csv",
29 "Name of the csv file containing the tabulated fluid property data. If "
30 "no file exists and save_file = true, then one will be written to "
31 "fluid_properties.csv using the temperature and pressure range specified.");
32 params.addRangeCheckedParam<Real>(
"temperature_min",
34 "temperature_min > 0",
35 "Minimum temperature for tabulated data. Default is 300 K)");
36 params.addParam<Real>(
37 "temperature_max", 500.0,
"Maximum temperature for tabulated data. Default is 500 K");
38 params.addRangeCheckedParam<Real>(
"pressure_min",
41 "Minimum pressure for tabulated data. Default is 0.1 MPa)");
42 params.addParam<Real>(
43 "pressure_max", 50.0e6,
"Maximum pressure for tabulated data. Default is 50 MPa");
44 params.addRangeCheckedParam<
unsigned int>(
45 "num_T", 100,
"num_T > 0",
"Number of points to divide temperature range. Default is 100");
46 params.addRangeCheckedParam<
unsigned int>(
47 "num_p", 100,
"num_p > 0",
"Number of points to divide pressure range. Default is 100");
48 params.addRequiredParam<UserObjectName>(
"fp",
"The name of the FluidProperties UserObject");
49 MultiMooseEnum properties(
"density enthalpy internal_energy viscosity k cv cp entropy",
50 "density enthalpy internal_energy viscosity");
51 params.addParam<MultiMooseEnum>(
"interpolated_properties",
53 "Properties to interpolate if no data file is provided");
54 params.addParam<
bool>(
"save_file",
true,
"Whether to save the csv fluid properties file");
55 params.addClassDescription(
56 "Fluid properties using bicubic interpolation on tabulated values provided");