Go to the source code of this file.
◆ registerMooseObject()
◆ validParams< RichardsDensityVDW >()
Definition at line 17 of file RichardsDensityVDW.C.
20 params.addRequiredRangeCheckedParam<Real>(
23 "Parameter 'a' in the van der Waals expression (P + n^2 a/V^2)(V - nb) = nRT. "
24 "Example for methane 0.2303 Pa m^6 mol^-2");
25 params.addRequiredRangeCheckedParam<Real>(
28 "Parameter 'b' in the van der Waals expression (P + n^2 a/V^2)(V - nb) = nRT. "
29 "Example for methane 4.31E-5 m^3/mol");
30 params.addRequiredRangeCheckedParam<Real>(
31 "temperature",
"temperature > 0",
"Temperature in Kelvin");
32 params.addRequiredRangeCheckedParam<Real>(
35 "Molar mass of the gas. Example for methane 16.04246E-3 kg/mol");
36 params.addRangeCheckedParam<Real>(
"infinity_ratio",
39 "For P<0 the density is not physically defined, "
40 "but numerically it is advantageous to define "
41 "it: density(P=-infinity) = "
42 "-infinity_ratio*molar_mass, and density tends "
43 "exponentially towards this value as P -> "
44 "-infinity. (Units are mol/m^3).");
45 params.addClassDescription(
"Density of van der Waals gas.");