www.mooseframework.org
PorousFlowBroadbridgeWhite.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 
12 #include "MooseTypes.h"
13 #include "MooseError.h"
14 
24 {
31 Real LambertW(Real z);
32 
43 Real effectiveSaturation(Real pc, Real c, Real sn, Real ss, Real las);
44 
54 Real dEffectiveSaturation(Real pc, Real c, Real sn, Real ss, Real las);
55 
65 Real d2EffectiveSaturation(Real pc, Real c, Real sn, Real ss, Real las);
66 
77 Real relativePermeability(Real s, Real c, Real sn, Real ss, Real kn, Real ks);
78 
89 Real dRelativePermeability(Real s, Real c, Real sn, Real ss, Real kn, Real ks);
90 
101 Real d2RelativePermeability(Real s, Real c, Real sn, Real ss, Real kn, Real ks);
102 }
103 
PorousFlowBroadbridgeWhite::d2RelativePermeability
Real d2RelativePermeability(Real s, Real c, Real sn, Real ss, Real kn, Real ks)
Second derivative of relative permeability with respect to saturation.
Definition: PorousFlowBroadbridgeWhite.C:155
PorousFlowBroadbridgeWhite::LambertW
Real LambertW(Real z)
Provides the Lambert W function, which satisfies W(z) * exp(W(z)) = z.
Definition: PorousFlowBroadbridgeWhite.C:16
PorousFlowBroadbridgeWhite
Broadbridge-White version of relative permeability, and effective saturation as a function of capilla...
Definition: PorousFlowBroadbridgeWhite.h:23
PorousFlowBroadbridgeWhite::dRelativePermeability
Real dRelativePermeability(Real s, Real c, Real sn, Real ss, Real kn, Real ks)
Derivative of relative permeability with respect to saturation.
Definition: PorousFlowBroadbridgeWhite.C:140
PorousFlowBroadbridgeWhite::d2EffectiveSaturation
Real d2EffectiveSaturation(Real pc, Real c, Real sn, Real ss, Real las)
Second derivative of effective saturation wrt capillary pressure.
Definition: PorousFlowBroadbridgeWhite.C:114
PorousFlowBroadbridgeWhite::dEffectiveSaturation
Real dEffectiveSaturation(Real pc, Real c, Real sn, Real ss, Real las)
Derivative of effective saturation wrt capillary pressure.
Definition: PorousFlowBroadbridgeWhite.C:104
PorousFlowBroadbridgeWhite::relativePermeability
Real relativePermeability(Real s, Real c, Real sn, Real ss, Real kn, Real ks)
Relative permeability as a function of saturation.
Definition: PorousFlowBroadbridgeWhite.C:125
PorousFlowBroadbridgeWhite::effectiveSaturation
Real effectiveSaturation(Real pc, Real c, Real sn, Real ss, Real las)
Effective saturation as a function of capillary pressure If pc>=0 this will yield 1,...
Definition: PorousFlowBroadbridgeWhite.C:94