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

Go to the source code of this file.

Classes

class  RichardsDensityMethane20degC
 Methane density - a quadratic fit to expressions in: "Results of (pressure, density, temperature) measurements on methane and on nitrogen in the temperature range from 273.15K to 323.15K at pressures up to 12MPa using new apparatus for accurate gas-density" This is only valid for p>=0, which is the physical region. More...
 

Functions

template<>
InputParameters validParams< RichardsDensityMethane20degC > ()
 

Function Documentation

◆ validParams< RichardsDensityMethane20degC >()

template<>
InputParameters validParams< RichardsDensityMethane20degC > ( )

Definition at line 24 of file RichardsDensityMethane20degC.C.

25 {
26  InputParameters params = validParams<RichardsDensity>();
27  params.addParam<Real>(
28  "p_unit",
29  1,
30  "Set to 1 for pressure measured in Pascals. Set to 1E6 for pressure measured in MPa. Etc.");
31  params.addClassDescription("Methane density (kg/m^3) at 20degC. Pressure is assumed to be "
32  "measured in Pascals. NOTE: this expression is only valid to about "
33  "P=20MPa. Use van der Waals (RichardsDensityVDW) for higher "
34  "pressures.");
35  return params;
36 }
validParams< RichardsDensity >
InputParameters validParams< RichardsDensity >()
Definition: RichardsDensity.C:16