www.mooseframework.org
RichardsDensityMethane20degC.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef RICHARDSDENSITYMETHANE20DEGC_H
9 #define RICHARDSDENSITYMETHANE20DEGC_H
10 
11 #include "RichardsDensity.h"
12 
14 
15 template <>
17 
30 {
31 public:
32  RichardsDensityMethane20degC(const InputParameters & parameters);
33 
38  Real density(Real p) const;
39 
44  Real ddensity(Real p) const;
45 
50  Real d2density(Real p) const;
51 
52 private:
54  Real _p_unit;
55 };
56 
57 #endif // RICHARDSDENSITYMETHANE20DEGC_H
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.
InputParameters validParams< RichardsDensityMethane20degC >()
Real d2density(Real p) const
second derivative of fluid density wrt porepressure
Real _p_unit
Unit of measurement for pressure (should be 1 for pressure in Pa, 1E6 for pressure in MPa...
Real ddensity(Real p) const
derivative of fluid density wrt porepressure
Real density(Real p) const
fluid density as a function of porepressure
Base class for fluid density as a function of porepressure The functions density, ddensity and d2dens...
RichardsDensityMethane20degC(const InputParameters &parameters)