Go to the documentation of this file.
20 params.addRequiredParam<Real>(
"lambda",
"Brooks-Corey exponent lambda");
21 params.addRequiredRangeCheckedParam<Real>(
22 "pe",
"pe > 0",
"Brooks-Corey entry pressure. Must be positive");
23 params.addClassDescription(
"Brooks-Corey capillary pressure");
29 _lambda(getParam<Real>(
"lambda")),
30 _pe(getParam<Real>(
"pe"))
Real capillaryPressure(Real seff, Real pe, Real lambda, Real pc_max)
Capillary pressure as a function of effective saturation.
virtual Real capillaryPressureCurve(Real saturation, unsigned qp=0) const override
Raw capillary pressure curve (does not include logarithmic extension)
Real dEffectiveSaturation(Real pc, Real pe, Real lambda)
Derivative of effective saturation wrt porepressure.
Real d2EffectiveSaturation(Real pc, Real pe, Real lambda)
Second derivative of effective saturation wrt porepressure.
Real effectiveSaturation(Real pc, Real pe, Real lambda)
Effective saturation as a function of capillary pressure Note: seff = 1 for p >= 0.
virtual Real d2EffectiveSaturation(Real pc, unsigned qp=0) const override
Second 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.
registerMooseObject("PorousFlowApp", PorousFlowCapillaryPressureBC)
Real d2CapillaryPressure(Real seff, Real pe, Real lambda, Real pc_max)
Second derivative of capillary pressure wrt effective saturation.
virtual Real dCapillaryPressureCurve(Real saturation, unsigned qp=0) const override
Derivative of raw capillary pressure wrt true saturation.
Real effectiveSaturationFromSaturation(Real saturation) const
Effective saturation of liquid phase given liquid saturation and residual liquid saturation.
virtual Real d2CapillaryPressureCurve(Real saturation, unsigned qp=0) const override
Second derivative of raw capillary pressure wrt true saturation.
virtual Real effectiveSaturation(Real pc, unsigned qp=0) const override
Effective saturation as a function of capillary pressure.
Brooks-Corey effective saturation, capillary pressure and relative permeability functions.
const Real _pe
Threshold entry pressure.
InputParameters validParams< PorousFlowCapillaryPressureBC >()
const Real _pc_max
Maximum capillary pressure (Pa). Note: must be <= 0.
PorousFlowCapillaryPressureBC(const InputParameters ¶meters)
virtual Real dEffectiveSaturation(Real pc, unsigned qp=0) const override
Derivative of effective saturation wrt capillary pressure.
InputParameters validParams< PorousFlowCapillaryPressure >()
Real dCapillaryPressure(Real seff, Real pe, Real lambda, Real pc_max)
Derivative of capillary pressure wrt effective saturation.
Real saturation(Real pc, unsigned qp=0) const
Saturation as a function of capillary pressure.
const Real _dseff_ds
Derivative of effective saturation with respect to saturation.