www.mooseframework.org
PorousFlowCapillaryPressureConst.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 POROUSFLOWCAPILLARYPRESSURECONST_H
9 #define POROUSFLOWCAPILLARYPRESSURECONST_H
10 
12 
14 
15 template <>
17 
22 {
23 public:
24  PorousFlowCapillaryPressureConst(const InputParameters & parameters);
25 
26  virtual Real capillaryPressureCurve(Real saturation) const override;
27  virtual Real dCapillaryPressureCurve(Real saturation) const override;
28  virtual Real d2CapillaryPressureCurve(Real saturation) const override;
29 
30  virtual Real effectiveSaturation(Real pc) const override;
31  virtual Real dEffectiveSaturation(Real pc) const override;
32  virtual Real d2EffectiveSaturation(Real pc) const override;
33 
34 protected:
36  const Real _pc;
37 };
38 
39 #endif // POROUSFLOWCAPILLARYPRESSURECONST_H
InputParameters validParams< PorousFlowCapillaryPressureConst >()
PorousFlowCapillaryPressureConst(const InputParameters &parameters)
virtual Real effectiveSaturation(Real pc) const override
Effective saturation as a function of capillary pressure.
virtual Real d2EffectiveSaturation(Real pc) const override
Second derivative of effective saturation wrt capillary pressure.
Base class for capillary pressure for multiphase flow in porous media.
virtual Real capillaryPressureCurve(Real saturation) const override
Raw capillary pressure curve (does not include logarithmic extension)
const Real _pc
Constant capillary pressure (Pa)
virtual Real d2CapillaryPressureCurve(Real saturation) const override
Second derivative of raw capillary pressure wrt true saturation.
void FORTRAN_CALL() saturation(double &P, double &T, int &N, int &nerr)
virtual Real dEffectiveSaturation(Real pc) const override
Derivative of effective saturation wrt capillary pressure.
virtual Real dCapillaryPressureCurve(Real saturation) const override
Derivative of raw capillary pressure wrt true saturation.