21 params.
addClassDescription(
"This Material calculates relative permeability of the fluid phase, " 22 "using the simple Corey model ((S-S_res)/(1-sum(S_res)))^n");
30 _n(this->template getParam<
Real>(
"n"))
45 return _n *
std::pow(seff, _n - 1.0);
static InputParameters validParams()
Material to calculate Corey-type relative permeability of an arbitrary phase given the effective satu...
static InputParameters validParams()
virtual Real dRelativePermeability(Real seff) const override
Derivative of relative permeability with respect to effective saturation.
Base class for PorousFlow relative permeability materials.
virtual GenericReal< is_ad > relativePermeability(GenericReal< is_ad > seff) const override
Relative permeability equation (must be overriden in derived class)
PorousFlowRelativePermeabilityCoreyTempl(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
typename Moose::GenericType< Real, is_ad > GenericReal
MooseUnits pow(const MooseUnits &, int)
registerMooseObject("PorousFlowApp", PorousFlowRelativePermeabilityCorey)