21 params.
addRequiredParam<Real>(
"lambda",
"The Brooks-Corey exponent of the phase");
22 params.
addParam<
bool>(
"nw_phase",
false,
"Set true if this is the non-wetting phase");
31 _lambda(this->template getParam<Real>(
"lambda")),
32 _is_nonwetting(this->template getParam<bool>(
"nw_phase"))
Moose::GenericType< Real, is_ad > GenericReal
registerMooseObject("PorousFlowApp", PorousFlowRelativePermeabilityBC)
Material to calculate Brooks-Corey relative permeability of an arbitrary phase given the effective sa...
static InputParameters validParams()
PorousFlowRelativePermeabilityBCTempl(const InputParameters ¶meters)
virtual GenericReal< is_ad > relativePermeability(GenericReal< is_ad > seff) const override
Relative permeability equation (must be overriden in derived class)
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
Base class for PorousFlow relative permeability materials.
static InputParameters validParams()
Real dRelativePermeabilityNW(Real seff, Real lambda)
Derivative of relative permeability of the non-wetting phase wrt to effective saturation.
T relativePermeabilityW(const T &seff, Real lambda)
Relative permeability of the wetting phase as a function of effective saturation.
Real dRelativePermeabilityW(Real seff, Real lambda)
Derivative of relative permeability of the wetting phase wrt to effective saturation.
T relativePermeabilityNW(const T &seff, Real lambda)
Relative permeability of the non-wetting phase as a function of effective saturation.