Go to the documentation of this file.
20 params.addRequiredParam<Real>(
"lambda",
"The Brooks-Corey exponent of the phase");
21 params.addParam<
bool>(
"nw_phase",
false,
"Set true if this is the non-wetting phase");
22 params.addClassDescription(
"Brooks-Corey relative permeability");
27 const InputParameters & parameters)
29 _lambda(getParam<Real>(
"lambda")),
30 _is_nonwetting(getParam<bool>(
"nw_phase"))
Real relativePermeabilityNW(Real seff, Real lambda)
Relative permeability of the non-wetting phase as a function of effective saturation.
const bool _is_nonwetting
Flag that is set to true if this is the non-wetting (gas) phase.
Real dRelativePermeabilityNW(Real seff, Real lambda)
Derivative of relative permeability of the non-wetting phase wrt to effective saturation.
Real dRelativePermeabilityW(Real seff, Real lambda)
Derivative of relative permeability of the wetting phase wrt to effective saturation.
Material to calculate Brooks-Corey relative permeability of an arbitrary phase given the effective sa...
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
const Real _lambda
Brooks-Corey exponent lambda.
registerMooseObject("PorousFlowApp", PorousFlowRelativePermeabilityBC)
Base class for PorousFlow relative permeability materials.
Real relativePermeabilityW(Real seff, Real lambda)
Relative permeability of the wetting phase as a function of effective saturation.
virtual Real relativePermeability(Real seff) const override
Relative permeability equation (must be overriden in derived class)
PorousFlowRelativePermeabilityBC(const InputParameters ¶meters)
InputParameters validParams< PorousFlowRelativePermeabilityBC >()
InputParameters validParams< PorousFlowRelativePermeabilityBase >()