NUSSELT
Excel Usage
=NUSSELT(h, L, k)
h(float, required): Heat transfer coefficient [W/m^2/K]L(float, required): Characteristic length [m]k(float, required): Thermal conductivity of fluid [W/m/K]
Returns (float): Nusselt number [-]
Examples
Example 1: High heat transfer coefficient
Inputs:
| h | L | k |
|---|---|---|
| 1000 | 1.2 | 300 |
Excel formula:
=NUSSELT(1000, 1.2, 300)
Expected output:
4
Example 2: Low heat transfer coefficient
Inputs:
| h | L | k |
|---|---|---|
| 10000 | 0.01 | 4000 |
Excel formula:
=NUSSELT(10000, 0.01, 4000)
Expected output:
0.025
Example 3: Natural convection case
Inputs:
| h | L | k |
|---|---|---|
| 50 | 0.5 | 25 |
Excel formula:
=NUSSELT(50, 0.5, 25)
Expected output:
1
Example 4: Forced convection case
Inputs:
| h | L | k |
|---|---|---|
| 5000 | 0.1 | 50 |
Excel formula:
=NUSSELT(5000, 0.1, 50)
Expected output:
10
Python Code
from fluids.core import Nusselt as fluids_Nusselt
def nusselt(h, L, k):
"""
Calculate the Nusselt number.
See: https://fluids.readthedocs.io/fluids.core.html#fluids.core.Nusselt
This example function is provided as-is without any representation of accuracy.
Args:
h (float): Heat transfer coefficient [W/m^2/K]
L (float): Characteristic length [m]
k (float): Thermal conductivity of fluid [W/m/K]
Returns:
float: Nusselt number [-]
"""
try:
h_val = float(h)
L_val = float(L)
k_val = float(k)
if k_val <= 0 or L_val <= 0 or h_val < 0:
return "Error: Thermal conductivity and characteristic length must be positive, heat transfer coefficient must be non-negative"
result = fluids_Nusselt(h_val, L_val, k_val)
return float(result)
except Exception as e:
return f"Error: {str(e)}"