www.mooseframework.org
PorousFlowCapillaryPressureBW.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 POROUSFLOWCAPILLARYPRESSUREBW_H
9 #define POROUSFLOWCAPILLARYPRESSUREBW_H
10 
12 
14 
15 template <>
17 
22 {
23 public:
24  PorousFlowCapillaryPressureBW(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 _sn;
38  const Real _ss;
40  const Real _c;
42  const Real _las;
43 };
44 
45 #endif // POROUSFLOWCAPILLARYPRESSUREBW_H
virtual Real effectiveSaturation(Real pc) const override
Effective saturation as a function of capillary pressure.
InputParameters validParams< PorousFlowCapillaryPressureBW >()
virtual Real dEffectiveSaturation(Real pc) const override
Derivative of effective saturation wrt capillary pressure.
PorousFlowCapillaryPressureBW(const InputParameters &parameters)
const Real _las
BWs lambda_s parameter multiplied by fluid density * gravity (>0)
virtual Real capillaryPressureCurve(Real saturation) const override
Raw capillary pressure curve (does not include logarithmic extension)
Base class for capillary pressure for multiphase flow in porous media.
const Real _ss
BW&#39;s Ss parameter.
const Real _sn
BW&#39;s Sn parameter (initial saturation)
const Real _c
BW&#39;s C parameter (>1)
virtual Real d2EffectiveSaturation(Real pc) const override
Second derivative of effective saturation wrt capillary pressure.
virtual Real d2CapillaryPressureCurve(Real saturation) const override
Second derivative of raw capillary pressure wrt true saturation.
virtual Real dCapillaryPressureCurve(Real saturation) const override
Derivative of raw capillary pressure wrt true saturation.
void FORTRAN_CALL() saturation(double &P, double &T, int &N, int &nerr)
Capillary pressure of Broadbridge and White.