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. More...
#include <RichardsDensityMethane20degC.h>
Public Member Functions | |
RichardsDensityMethane20degC (const InputParameters ¶meters) | |
Real | density (Real p) const |
fluid density as a function of porepressure More... | |
Real | ddensity (Real p) const |
derivative of fluid density wrt porepressure More... | |
Real | d2density (Real p) const |
second derivative of fluid density wrt porepressure More... | |
void | initialize () |
void | execute () |
void | finalize () |
Private Attributes | |
Real | _p_unit |
Unit of measurement for pressure (should be 1 for pressure in Pa, 1E6 for pressure in MPa, etc) More... | |
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.
I extend to the p>0 domain with an exponential, which will probably be sampled as the newton interative process converges towards the solution. NOTE: this expression is only valid to about P=20MPa. Use van der Waals (RichardsDensityVDW) for higher pressures.
Definition at line 30 of file RichardsDensityMethane20degC.h.
RichardsDensityMethane20degC::RichardsDensityMethane20degC | ( | const InputParameters & | parameters | ) |
Definition at line 38 of file RichardsDensityMethane20degC.C.
|
virtual |
second derivative of fluid density wrt porepressure
p | porepressure |
Implements RichardsDensity.
Definition at line 62 of file RichardsDensityMethane20degC.C.
|
virtual |
derivative of fluid density wrt porepressure
p | porepressure |
Implements RichardsDensity.
Definition at line 53 of file RichardsDensityMethane20degC.C.
|
virtual |
fluid density as a function of porepressure
p | porepressure |
Implements RichardsDensity.
Definition at line 44 of file RichardsDensityMethane20degC.C.
|
inherited |
Definition at line 34 of file RichardsDensity.C.
|
inherited |
Definition at line 39 of file RichardsDensity.C.
|
inherited |
Definition at line 29 of file RichardsDensity.C.
|
private |
Unit of measurement for pressure (should be 1 for pressure in Pa, 1E6 for pressure in MPa, etc)
Definition at line 55 of file RichardsDensityMethane20degC.h.
Referenced by d2density(), ddensity(), and density().