TURB_DIPPREY

This function computes turbulent Nusselt number for rough internal pipe flow using the Dipprey–Sabersky correlation. It uses Reynolds number, Prandtl number, friction factor, and roughness to estimate convective transfer with rough-wall effects.

Excel Usage

=TURB_DIPPREY(Re, Pr, fd, eD)
  • Re (float, required): Reynolds number (-).
  • Pr (float, required): Prandtl number (-).
  • fd (float, required): Darcy friction factor (-).
  • eD (float, required): Relative roughness (-).

Returns (float): Turbulent Nusselt number for rough pipes (-).

Example 1: Dipprey-Sabersky example

Inputs:

Re Pr fd eD
100000 1.2 0.0185 0.001

Excel formula:

=TURB_DIPPREY(100000, 1.2, 0.0185, 0.001)

Expected output:

288.334

Example 2: Higher Reynolds number

Inputs:

Re Pr fd eD
200000 0.9 0.02 0.0005

Excel formula:

=TURB_DIPPREY(200000, 0.9, 0.02, 0.0005)

Expected output:

490.292

Example 3: Mid Reynolds number

Inputs:

Re Pr fd eD
60000 2 0.022 0.002

Excel formula:

=TURB_DIPPREY(60000, 2, 0.022, 0.002)

Expected output:

303.111

Example 4: Lower Reynolds number

Inputs:

Re Pr fd eD
150000 1 0.017 0.0008

Excel formula:

=TURB_DIPPREY(150000, 1, 0.017, 0.0008)

Expected output:

336.971

Python Code

Show Code
from ht.conv_internal import turbulent_Dipprey_Sabersky as ht_turbulent_Dipprey_Sabersky

def turb_dipprey(Re, Pr, fd, eD):
    """
    Calculate turbulent Nusselt number using Dipprey-Sabersky.

    See: https://ht.readthedocs.io/en/latest/ht.conv_internal.html

    This example function is provided as-is without any representation of accuracy.

    Args:
        Re (float): Reynolds number (-).
        Pr (float): Prandtl number (-).
        fd (float): Darcy friction factor (-).
        eD (float): Relative roughness (-).

    Returns:
        float: Turbulent Nusselt number for rough pipes (-).
    """
    try:
        return ht_turbulent_Dipprey_Sabersky(Re=Re, Pr=Pr, fd=fd, eD=eD)
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator

Reynolds number (-).
Prandtl number (-).
Darcy friction factor (-).
Relative roughness (-).