www.mooseframework.org
PorousFlowCapillaryPressureBC.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 POROUSFLOWCAPILLARYPRESSUREBC_H
9 #define POROUSFLOWCAPILLARYPRESSUREBC_H
10 
12 
14 
15 template <>
17 
26 {
27 public:
28  PorousFlowCapillaryPressureBC(const InputParameters & parameters);
29 
30  virtual Real capillaryPressureCurve(Real saturation) const override;
31  virtual Real dCapillaryPressureCurve(Real saturation) const override;
32  virtual Real d2CapillaryPressureCurve(Real saturation) const override;
33 
34  virtual Real effectiveSaturation(Real pc) const override;
35  virtual Real dEffectiveSaturation(Real pc) const override;
36  virtual Real d2EffectiveSaturation(Real pc) const override;
37 
38 protected:
40  const Real _lambda;
42  const Real _pe;
43 };
44 
45 #endif // POROUSFLOWCAPILLARYPRESSUREBC_H
InputParameters validParams< PorousFlowCapillaryPressureBC >()
virtual Real effectiveSaturation(Real pc) const override
Effective saturation as a function of capillary pressure.
virtual Real dEffectiveSaturation(Real pc) const override
Derivative of effective saturation wrt capillary pressure.
const Real _lambda
Brooks-Corey exponent lambda.
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)
Brooks-Corey effective saturation, capillary pressure and relative permeability functions.
virtual Real d2EffectiveSaturation(Real pc) const override
Second derivative of effective saturation wrt capillary pressure.
const Real _pe
Threshold entry pressure.
virtual Real d2CapillaryPressureCurve(Real saturation) const override
Second derivative of raw capillary pressure wrt true saturation.
PorousFlowCapillaryPressureBC(const InputParameters &parameters)
void FORTRAN_CALL() saturation(double &P, double &T, int &N, int &nerr)
virtual Real dCapillaryPressureCurve(Real saturation) const override
Derivative of raw capillary pressure wrt true saturation.