D_BAFFLE_HOLES
This function computes the recommended baffle hole diameter from tube outer diameter and unsupported span based on TEMA guidance. The hole diameter is set slightly above tube outside diameter to allow assembly and tolerance.
The relation is an empirical standard mapping d_b = f(D_o, L_{unsupported}).
Excel Usage
=D_BAFFLE_HOLES(Do, L_unsupported)
Do(float, required): Tube outer diameter (m).L_unsupported(float, required): Unsupported tube length between baffles (m).
Returns (float): Baffle hole diameter (m).
Example 1: Baffle hole for large tube and long span
Inputs:
| Do | L_unsupported |
|---|---|
| 0.0508 | 0.75 |
Excel formula:
=D_BAFFLE_HOLES(0.0508, 0.75)
Expected output:
0.0516
Example 2: Baffle hole for small tube and short span
Inputs:
| Do | L_unsupported |
|---|---|
| 0.01905 | 0.3 |
Excel formula:
=D_BAFFLE_HOLES(0.01905, 0.3)
Expected output:
0.01985
Example 3: Baffle hole for small tube and long span
Inputs:
| Do | L_unsupported |
|---|---|
| 0.01905 | 1.5 |
Excel formula:
=D_BAFFLE_HOLES(0.01905, 1.5)
Expected output:
0.01945
Example 4: Baffle hole for mid size tube
Inputs:
| Do | L_unsupported |
|---|---|
| 0.025 | 0.6 |
Excel formula:
=D_BAFFLE_HOLES(0.025, 0.6)
Expected output:
0.0258
Python Code
Show Code
from ht.hx import D_baffle_holes as hx_D_baffle_holes
def D_baffle_holes(Do, L_unsupported):
"""
Calculate baffle hole diameter for tubes using TEMA guidance.
See: https://ht.readthedocs.io/en/latest/ht.hx.html
This example function is provided as-is without any representation of accuracy.
Args:
Do (float): Tube outer diameter (m).
L_unsupported (float): Unsupported tube length between baffles (m).
Returns:
float: Baffle hole diameter (m).
"""
try:
result = hx_D_baffle_holes(Do=Do, L_unsupported=L_unsupported)
return result
except Exception as e:
return f"Error: {str(e)}"Online Calculator
Tube outer diameter (m).
Unsupported tube length between baffles (m).