www.mooseframework.org
Functions
FluidPropertiesInterrogator.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("FluidPropertiesApp", FluidPropertiesInterrogator)
 
template<>
InputParameters validParams< FluidPropertiesInterrogator > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "FluidPropertiesApp"  ,
FluidPropertiesInterrogator   
)

◆ validParams< FluidPropertiesInterrogator >()

template<>
InputParameters validParams< FluidPropertiesInterrogator > ( )

Definition at line 21 of file FluidPropertiesInterrogator.C.

22 {
23  InputParameters params = validParams<GeneralUserObject>();
24  params.addRequiredParam<UserObjectName>("fp",
25  "The name of the fluid properties object to query.");
26  params.addParam<bool>("json", false, "Output in JSON format");
27  params.addParam<Real>("rho", "Density");
28  params.addParam<Real>("rhou", "Momentum density; rho * u");
29  params.addParam<Real>("rhoE", "Total energy density; rho * E");
30  params.addParam<Real>("e", "Specific internal energy");
31  params.addParam<Real>("p", "Pressure");
32  params.addParam<Real>("T", "Temperature");
33  params.addParam<Real>("vel", "Velocity");
34  params.addParam<std::vector<Real>>("x_ncg", "Mass fractions of NCGs");
35  params.addRequiredParam<unsigned int>("precision", "Precision for printing values");
36 
37  params.addClassDescription(
38  "User object for querying a single-phase or two-phase fluid properties object");
39 
40  return params;
41 }