Go to the documentation of this file.
21 params.addRequiredParam<Real>(
"slope",
"Density = slope*(p - p0)");
22 params.addRequiredParam<Real>(
"p0",
"Density = slope*(p - p0)");
23 params.addClassDescription(
"Fluid density of ideal gas. Density = slope*(p - p0)");
28 :
RichardsDensity(parameters), _slope(getParam<Real>(
"slope")), _p0(getParam<Real>(
"p0"))
Real _p0
density = _slope*(p - _p0)
Fluid density of an ideal gas.
Real d2density(Real) const
second derivative of fluid density wrt porepressure
RichardsDensityIdeal(const InputParameters ¶meters)
Real _slope
density = _slope*(p - _p0)
Real ddensity(Real) const
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...
InputParameters validParams< RichardsDensityIdeal >()
registerMooseObject("RichardsApp", RichardsDensityIdeal)
Real density(Real p) const
fluid density as a function of porepressure