https://mooseframework.inl.gov
RichardsDensityConstBulk.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 
18 {
19 public:
21 
23 
28  Real density(Real p) const;
29 
34  Real ddensity(Real p) const;
35 
40  Real d2density(Real p) const;
41 
42 protected:
45 
48 };
Real _dens0
density = _dens0*exp(p/_bulk)
Real density(Real p) const
fluid density as a function of porepressure
Real d2density(Real p) const
second derivative of fluid density wrt porepressure
Real _bulk
density = _dens0*exp(p/_bulk)
Fluid density assuming constant bulk modulus.
static InputParameters validParams()
RichardsDensityConstBulk(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real ddensity(Real p) const
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...