www.mooseframework.org
PorousFlowCapillaryPressureBW.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 
23 {
24 public:
25  PorousFlowCapillaryPressureBW(const InputParameters & parameters);
26 
27  virtual Real capillaryPressureCurve(Real saturation, unsigned qp = 0) const override;
28  virtual Real dCapillaryPressureCurve(Real saturation, unsigned qp = 0) const override;
29  virtual Real d2CapillaryPressureCurve(Real saturation, unsigned qp = 0) const override;
30 
31  virtual Real effectiveSaturation(Real pc, unsigned qp = 0) const override;
32  virtual Real dEffectiveSaturation(Real pc, unsigned qp = 0) const override;
33  virtual Real d2EffectiveSaturation(Real pc, unsigned qp = 0) const override;
34 
35 protected:
37  const Real _sn;
39  const Real _ss;
41  const Real _c;
43  const Real _las;
44 };
45 
PorousFlowCapillaryPressure
Base class for capillary pressure for multiphase flow in porous media.
Definition: PorousFlowCapillaryPressure.h:39
PorousFlowCapillaryPressureBW::_ss
const Real _ss
BW's Ss parameter.
Definition: PorousFlowCapillaryPressureBW.h:39
PorousFlowCapillaryPressureBW::capillaryPressureCurve
virtual Real capillaryPressureCurve(Real saturation, unsigned qp=0) const override
Raw capillary pressure curve (does not include logarithmic extension)
Definition: PorousFlowCapillaryPressureBW.C:64
PorousFlowCapillaryPressureBW::dEffectiveSaturation
virtual Real dEffectiveSaturation(Real pc, unsigned qp=0) const override
Derivative of effective saturation wrt capillary pressure.
Definition: PorousFlowCapillaryPressureBW.C:91
PorousFlowCapillaryPressure.h
PorousFlowCapillaryPressureBW::_sn
const Real _sn
BW's Sn parameter (initial saturation)
Definition: PorousFlowCapillaryPressureBW.h:37
PorousFlowCapillaryPressureBW::PorousFlowCapillaryPressureBW
PorousFlowCapillaryPressureBW(const InputParameters &parameters)
Definition: PorousFlowCapillaryPressureBW.C:45
PorousFlowCapillaryPressureBW::_c
const Real _c
BW's C parameter (>1)
Definition: PorousFlowCapillaryPressureBW.h:41
PorousFlowCapillaryPressureBW::_las
const Real _las
BWs lambda_s parameter multiplied by fluid density * gravity (>0)
Definition: PorousFlowCapillaryPressureBW.h:43
PorousFlowCapillaryPressureBW::dCapillaryPressureCurve
virtual Real dCapillaryPressureCurve(Real saturation, unsigned qp=0) const override
Derivative of raw capillary pressure wrt true saturation.
Definition: PorousFlowCapillaryPressureBW.C:71
PorousFlowCapillaryPressureBW::d2CapillaryPressureCurve
virtual Real d2CapillaryPressureCurve(Real saturation, unsigned qp=0) const override
Second derivative of raw capillary pressure wrt true saturation.
Definition: PorousFlowCapillaryPressureBW.C:78
PorousFlowCapillaryPressureBW::d2EffectiveSaturation
virtual Real d2EffectiveSaturation(Real pc, unsigned qp=0) const override
Second derivative of effective saturation wrt capillary pressure.
Definition: PorousFlowCapillaryPressureBW.C:97
PorousFlowCapillaryPressureBW
Capillary pressure of Broadbridge and White.
Definition: PorousFlowCapillaryPressureBW.h:22
validParams< PorousFlowCapillaryPressureBW >
InputParameters validParams< PorousFlowCapillaryPressureBW >()
Definition: PorousFlowCapillaryPressureBW.C:17
PorousFlowCapillaryPressureBW::effectiveSaturation
virtual Real effectiveSaturation(Real pc, unsigned qp=0) const override
Effective saturation as a function of capillary pressure.
Definition: PorousFlowCapillaryPressureBW.C:85
PorousFlowCapillaryPressure::saturation
Real saturation(Real pc, unsigned qp=0) const
Saturation as a function of capillary pressure.
Definition: PorousFlowCapillaryPressure.C:97