https://mooseframework.inl.gov
RichardsDensityIdeal.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 
33  Real ddensity(Real /*p*/) const;
34 
38  Real d2density(Real /*p*/) const;
39 
40 protected:
43 
46 };
RichardsDensityIdeal(const InputParameters &parameters)
Real _slope
density = _slope*(p - _p0)
Real d2density(Real) const
second derivative of fluid density wrt porepressure
Real ddensity(Real) const
derivative of fluid density wrt porepressure
Real density(Real p) const
fluid density as a function of porepressure
Fluid density of an ideal gas.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
Real _p0
density = _slope*(p - _p0)
const InputParameters & parameters() const
Base class for fluid density as a function of porepressure The functions density, ddensity and d2dens...