29 "Set to 1 for pressure measured in Pascals. Set to 1E6 for pressure measured in MPa. Etc.");
31 "measured in Pascals. NOTE: this expression is only valid to about " 32 "P=20MPa. Use van der Waals (RichardsDensityVDW) for higher " 48 return 0.1 * (std::exp(6.54576947608E-5 * p *
_p_unit) - 1);
55 return (0.00654576947608E-3 + 2.08715433094E-13 * p *
_p_unit) *
_p_unit;
57 return 0.1 * 6.54576947608E-5 *
_p_unit * std::exp(6.54576947608E-5 * p *
_p_unit);
Real ddensity(Real p) const
derivative of fluid density wrt porepressure
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.
static InputParameters validParams()
registerMooseObject("RichardsApp", RichardsDensityMethane20degC)
Real _p_unit
Unit of measurement for pressure (should be 1 for pressure in Pa, 1E6 for pressure in MPa...
Real density(Real p) const
fluid density as a function of porepressure
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
Base class for fluid density as a function of porepressure The functions density, ddensity and d2dens...
RichardsDensityMethane20degC(const InputParameters ¶meters)
MooseUnits pow(const MooseUnits &, int)
Real d2density(Real p) const
second derivative of fluid density wrt porepressure