32 Real Re_limit = std::max(Re, 10.0);
35 std::pow(2.457 * std::log(1.0 / (
std::pow(7.0 / Re_limit, 0.9) + 0.27 * roughness / Dh)), 16);
47 ADReal a =
pow(2.457 *
log(1.0 / (
pow(7.0 / Re_limit, 0.9) + 0.27 * roughness / Dh)), 16);
49 return 2.0 *
pow(
pow(8.0 / Re_limit, 12) + 1.0 /
pow(
a +
b, 1.5), 1.0 / 12.0);
DualNumber< Real, DNDerivativeType, true > ADReal
auto max(const L &left, const R &right)
Real DarcyFrictionFactor(const Real &f_F)
Computes Darcy friction factor from Fanning friction factor.
Real FanningFrictionFactorChurchill(Real Re, Real roughness, Real D_h)
Computes Fanning friction factor using Churchill correlation.
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)