20 return std::pow(pc / pe, -lambda);
29 return -lambda * std::pow(pc / pe, -lambda - 1.0) / pe;
38 return lambda * (lambda + 1.0) * std::pow(pc / pe, -lambda - 2.0) / pe / pe;
49 return std::min(pe * std::pow(seff, -1.0 / lambda), pc_max);
55 if (seff <= 0.0 || seff > 1.0)
63 return -pe * std::pow(seff, -1.0 / lambda - 1.0) / lambda;
70 if (seff <= 0.0 || seff > 1.0)
78 return (lambda + 1.0) * pe * std::pow(seff, -1.0 / lambda - 2.0) / lambda / lambda;
86 if (seff <= 0.0 || seff >= 1.0)
89 return (2.0 + 3.0 * lambda) * std::pow(seff, (2.0 + 2.0 * lambda) / lambda) / lambda;
96 if (seff <= 0.0 || seff >= 1.0)
99 return seff * (2.0 + (seff * (2.0 + 3.0 * lambda) - 2.0 * lambda) *
100 std::pow(1.0 - seff, 2.0 / lambda) / lambda);
Brooks-Corey effective saturation, capillary pressure and relative permeability functions.
Real dRelativePermeabilityNW(Real seff, Real lambda)
Derivative of relative permeability of the non-wetting phase wrt to effective saturation.
Real capillaryPressure(Real seff, Real pe, Real lambda, Real pc_max)
Capillary pressure as a function of effective saturation.
Real d2EffectiveSaturation(Real pc, Real pe, Real lambda)
Second derivative of effective saturation wrt porepressure.
Real dCapillaryPressure(Real seff, Real pe, Real lambda, Real pc_max)
Derivative of capillary pressure wrt effective saturation.
Real dRelativePermeabilityW(Real seff, Real lambda)
Derivative of relative permeability of the wetting phase wrt to effective saturation.
Real dEffectiveSaturation(Real pc, Real pe, Real lambda)
Derivative of effective saturation wrt porepressure.
Real d2CapillaryPressure(Real seff, Real pe, Real lambda, Real pc_max)
Second derivative of capillary pressure wrt effective saturation.
Real effectiveSaturation(Real pc, Real pe, Real lambda)
Effective saturation as a function of capillary pressure Note: seff = 1 for p >= 0.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real