TURB_PRANDTL
This function computes turbulent internal-flow Nusselt number using the Prandtl correlation. It applies Reynolds number, Prandtl number, and Darcy friction factor through a compact semi-empirical formulation.
Excel Usage
=TURB_PRANDTL(Re, Pr, fd)
Re(float, required): Reynolds number (-).Pr(float, required): Prandtl number (-).fd(float, required): Darcy friction factor (-).
Returns (float): Turbulent Nusselt number for pipe flow (-).
Example 1: Prandtl example
Inputs:
| Re | Pr | fd |
|---|---|---|
| 100000 | 1.2 | 0.0185 |
Excel formula:
=TURB_PRANDTL(100000, 1.2, 0.0185)
Expected output:
256.073
Example 2: Higher Reynolds number
Inputs:
| Re | Pr | fd |
|---|---|---|
| 200000 | 0.8 | 0.02 |
Excel formula:
=TURB_PRANDTL(200000, 0.8, 0.02)
Expected output:
438.116
Example 3: Mid Reynolds number
Inputs:
| Re | Pr | fd |
|---|---|---|
| 50000 | 2 | 0.022 |
Excel formula:
=TURB_PRANDTL(50000, 2, 0.022)
Expected output:
188.844
Example 4: Lower Reynolds number
Inputs:
| Re | Pr | fd |
|---|---|---|
| 150000 | 1 | 0.017 |
Excel formula:
=TURB_PRANDTL(150000, 1, 0.017)
Expected output:
318.75
Python Code
Show Code
from ht.conv_internal import turbulent_Prandtl as ht_turbulent_Prandtl
def turb_prandtl(Re, Pr, fd):
"""
Calculate turbulent Nusselt number using the Prandtl correlation.
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 (-).
Returns:
float: Turbulent Nusselt number for pipe flow (-).
"""
try:
return ht_turbulent_Prandtl(Re=Re, Pr=Pr, fd=fd)
except Exception as e:
return f"Error: {str(e)}"Online Calculator
Reynolds number (-).
Prandtl number (-).
Darcy friction factor (-).