www.mooseframework.org
RichardsDensityConstBulk.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 RICHARDSDENSITYCONSTBULK_H
9 #define RICHARDSDENSITYCONSTBULK_H
10 
11 #include "RichardsDensity.h"
12 
14 
15 template <>
17 
22 {
23 public:
24  RichardsDensityConstBulk(const InputParameters & parameters);
25 
30  Real density(Real p) const;
31 
36  Real ddensity(Real p) const;
37 
42  Real d2density(Real p) const;
43 
44 protected:
46  Real _dens0;
47 
49  Real _bulk;
50 };
51 
52 #endif // RICHARDSDENSITYCONSTBULK_H
Real _dens0
density = _dens0*exp(p/_bulk)
Real _bulk
density = _dens0*exp(p/_bulk)
Fluid density assuming constant bulk modulus.
RichardsDensityConstBulk(const InputParameters &parameters)
Real d2density(Real p) const
second derivative of fluid density wrt porepressure
InputParameters validParams< RichardsDensityConstBulk >()
Base class for fluid density as a function of porepressure The functions density, ddensity and d2dens...
Real ddensity(Real p) const
derivative of fluid density wrt porepressure
Real density(Real p) const
fluid density as a function of porepressure