www.mooseframework.org
PorousFlowCapillaryPressureBC.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
13 
15 
16 template <>
18 
27 {
28 public:
29  PorousFlowCapillaryPressureBC(const InputParameters & parameters);
30 
31  virtual Real capillaryPressureCurve(Real saturation, unsigned qp = 0) const override;
32  virtual Real dCapillaryPressureCurve(Real saturation, unsigned qp = 0) const override;
33  virtual Real d2CapillaryPressureCurve(Real saturation, unsigned qp = 0) const override;
34 
35  virtual Real effectiveSaturation(Real pc, unsigned qp = 0) const override;
36  virtual Real dEffectiveSaturation(Real pc, unsigned qp = 0) const override;
37  virtual Real d2EffectiveSaturation(Real pc, unsigned qp = 0) const override;
38 
39 protected:
41  const Real _lambda;
43  const Real _pe;
44 };
45 
PorousFlowCapillaryPressureBC::capillaryPressureCurve
virtual Real capillaryPressureCurve(Real saturation, unsigned qp=0) const override
Raw capillary pressure curve (does not include logarithmic extension)
Definition: PorousFlowCapillaryPressureBC.C:35
PorousFlowCapillaryPressureBC::d2EffectiveSaturation
virtual Real d2EffectiveSaturation(Real pc, unsigned qp=0) const override
Second derivative of effective saturation wrt capillary pressure.
Definition: PorousFlowCapillaryPressureBC.C:69
PorousFlowCapillaryPressureBC::_lambda
const Real _lambda
Brooks-Corey exponent lambda.
Definition: PorousFlowCapillaryPressureBC.h:41
PorousFlowCapillaryPressure
Base class for capillary pressure for multiphase flow in porous media.
Definition: PorousFlowCapillaryPressure.h:39
PorousFlowCapillaryPressure.h
PorousFlowCapillaryPressureBC::dCapillaryPressureCurve
virtual Real dCapillaryPressureCurve(Real saturation, unsigned qp=0) const override
Derivative of raw capillary pressure wrt true saturation.
Definition: PorousFlowCapillaryPressureBC.C:42
PorousFlowCapillaryPressureBC::d2CapillaryPressureCurve
virtual Real d2CapillaryPressureCurve(Real saturation, unsigned qp=0) const override
Second derivative of raw capillary pressure wrt true saturation.
Definition: PorousFlowCapillaryPressureBC.C:49
PorousFlowCapillaryPressureBC::effectiveSaturation
virtual Real effectiveSaturation(Real pc, unsigned qp=0) const override
Effective saturation as a function of capillary pressure.
Definition: PorousFlowCapillaryPressureBC.C:57
PorousFlowCapillaryPressureBC
Brooks-Corey effective saturation, capillary pressure and relative permeability functions.
Definition: PorousFlowCapillaryPressureBC.h:26
PorousFlowCapillaryPressureBC::_pe
const Real _pe
Threshold entry pressure.
Definition: PorousFlowCapillaryPressureBC.h:43
validParams< PorousFlowCapillaryPressureBC >
InputParameters validParams< PorousFlowCapillaryPressureBC >()
Definition: PorousFlowCapillaryPressureBC.C:17
PorousFlowCapillaryPressureBC::PorousFlowCapillaryPressureBC
PorousFlowCapillaryPressureBC(const InputParameters &parameters)
Definition: PorousFlowCapillaryPressureBC.C:27
PorousFlowCapillaryPressureBC::dEffectiveSaturation
virtual Real dEffectiveSaturation(Real pc, unsigned qp=0) const override
Derivative of effective saturation wrt capillary pressure.
Definition: PorousFlowCapillaryPressureBC.C:63
PorousFlowCapillaryPressure::saturation
Real saturation(Real pc, unsigned qp=0) const
Saturation as a function of capillary pressure.
Definition: PorousFlowCapillaryPressure.C:97