TURBULENT_DITTUS

This function calculates turbulent internal-flow Nusselt number using the Dittus-Boelter correlation. It supports heating or cooling mode and either revised or original coefficient conventions.

The relation has the form:

Nu = m\,Re^{0.8}Pr^n

where m and n depend on mode and coefficient convention. The result is a dimensionless convective heat-transfer indicator.

Excel Usage

=TURBULENT_DITTUS(Re, Pr, heating, revised)
  • Re (float, required): Reynolds number (dimensionless).
  • Pr (float, required): Prandtl number (dimensionless).
  • heating (bool, optional, default: true): Whether the process is heating.
  • revised (bool, optional, default: true): Whether to use revised coefficients.

Returns (float): Nusselt number (dimensionless), or an error message if invalid.

Example 1: Example with heating

Inputs:

Re Pr
100000 1.2

Excel formula:

=TURBULENT_DITTUS(100000, 1.2)

Expected output:

247.4

Example 2: Example with cooling

Inputs:

Re Pr heating
100000 1.2 false

Excel formula:

=TURBULENT_DITTUS(100000, 1.2, FALSE)

Expected output:

242.931

Example 3: Using unrevised coefficients

Inputs:

Re Pr revised
50000 0.8 false

Excel formula:

=TURBULENT_DITTUS(50000, 0.8, FALSE)

Expected output:

127.649

Example 4: Cooling with unrevised coefficients

Inputs:

Re Pr heating revised
200000 1.5 false false

Excel formula:

=TURBULENT_DITTUS(200000, 1.5, FALSE, FALSE)

Expected output:

521.071

Python Code

Show Code
from ht.boiling_flow import turbulent_Dittus_Boelter as ht_turbulent_Dittus_Boelter

def turbulent_Dittus(Re, Pr, heating=True, revised=True):
    """
    Compute the Dittus-Boelter turbulent Nusselt number.

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

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

    Args:
        Re (float): Reynolds number (dimensionless).
        Pr (float): Prandtl number (dimensionless).
        heating (bool, optional): Whether the process is heating. Default is True.
        revised (bool, optional): Whether to use revised coefficients. Default is True.

    Returns:
        float: Nusselt number (dimensionless), or an error message if invalid.
    """
    try:
        return ht_turbulent_Dittus_Boelter(Re=Re, Pr=Pr, heating=heating, revised=revised)
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator

Reynolds number (dimensionless).
Prandtl number (dimensionless).
Whether the process is heating.
Whether to use revised coefficients.