Go to the documentation of this file.
27 params.addParam<Real>(
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 "
49 return 0.1 * (std::exp(6.54576947608E-5 * p *
_p_unit) - 1);
56 return (0.00654576947608E-3 + 2.08715433094E-13 * p *
_p_unit) *
_p_unit;
58 return 0.1 * 6.54576947608E-5 *
_p_unit * std::exp(6.54576947608E-5 * p *
_p_unit);
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
Real density(Real p) const
fluid density as a function of porepressure
RichardsDensityMethane20degC(const InputParameters ¶meters)
InputParameters validParams< RichardsDensityMethane20degC >()
Real _p_unit
Unit of measurement for pressure (should be 1 for pressure in Pa, 1E6 for pressure in MPa,...
registerMooseObject("RichardsApp", RichardsDensityMethane20degC)
Real ddensity(Real p) const
derivative of fluid density wrt porepressure
Real d2density(Real p) const
second derivative of fluid density wrt porepressure
InputParameters validParams< RichardsDensity >()
Base class for fluid density as a function of porepressure The functions density, ddensity and d2dens...
Methane density - a quadratic fit to expressions in: "Results of (pressure, density,...