www.mooseframework.org
RichardsDensityVDW.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "RichardsDensity.h"
13 
32 {
33 public:
35 
37 
42  Real density(Real p) const;
43 
48  Real ddensity(Real p) const;
49 
54  Real d2density(Real p) const;
55 
56 protected:
59 
62 
65 
68 
71 
74 
77 
80 
83 
89  Real densityVDW(Real p) const;
90 };
Real density(Real p) const
fluid density as a function of porepressure
RichardsDensityVDW(const InputParameters &parameters)
Real densityVDW(Real p) const
Density according to the van der Waals expression This is modified to yield density(p) as noted above...
Real _infinity_ratio
density at P=-infinity is _infinity_ratio*_molar_mass
static InputParameters validParams()
Real _b
van der Waals b
Real _a
van der Waals a
Real _slope0
(1/_molar_mass)*d(density)/dP at P=0
Real _vdw0
density at P=0 according to the van der Waals expression
Real _rt
R*T (gas constant * temperature)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Density of a gas according to the van der Waals expression (P + n^2 a/V^2)(V - nb) = nRT How density ...
Real d2density(Real p) const
second derivative of fluid density wrt porepressure
const InputParameters & parameters() const
Base class for fluid density as a function of porepressure The functions density, ddensity and d2dens...
Real _molar_mass
molar mass of gas
Real ddensity(Real p) const
derivative of fluid density wrt porepressure