NTUBES_PHADKEB
This function computes tube count for a shell-and-tube bundle using Phadke’s method with pass correction behavior, pitch, tube size, and layout angle. It is a high-accuracy option for tube-count determination.
The method evaluates N = f(D_{bundle}, D_o, p, N_{tp}, \theta) and returns an integer count.
Excel Usage
=NTUBES_PHADKEB(DBundle, Do, pitch, Ntp, angle)
DBundle(float, required): Outer diameter of tube bundle (m).Do(float, required): Tube outer diameter (m).pitch(float, required): Tube pitch (m).Ntp(int, required): Number of tube passes (-).angle(int, optional, default: 30): Tube layout angle (degrees).
Returns (int): Total number of tubes that fit in the bundle (-).
Example 1: Phadkeb tube count example
Inputs:
| DBundle | Do | pitch | Ntp | angle |
|---|---|---|---|---|
| 1.184 | 0.028 | 0.036 | 2 | 45 |
Excel formula:
=NTUBES_PHADKEB(1.184, 0.028, 0.036, 2, 45)
Expected output:
782
Example 2: Phadkeb tube count with single pass
Inputs:
| DBundle | Do | pitch | Ntp | angle |
|---|---|---|---|---|
| 1.008 | 0.028 | 0.036 | 1 | 45 |
Excel formula:
=NTUBES_PHADKEB(1.008, 0.028, 0.036, 1, 45)
Expected output:
593
Example 3: Phadkeb tube count with four passes
Inputs:
| DBundle | Do | pitch | Ntp | angle |
|---|---|---|---|---|
| 1.2 | 0.025 | 0.03125 | 4 | 30 |
Excel formula:
=NTUBES_PHADKEB(1.2, 0.025, 0.03125, 4, 30)
Expected output:
1184
Example 4: Phadkeb tube count for smaller bundle
Inputs:
| DBundle | Do | pitch | Ntp | angle |
|---|---|---|---|---|
| 0.8 | 0.01905 | 0.025 | 2 | 30 |
Excel formula:
=NTUBES_PHADKEB(0.8, 0.01905, 0.025, 2, 30)
Expected output:
846
Python Code
Show Code
from ht.hx import Ntubes_Phadkeb as hx_Ntubes_Phadkeb
def Ntubes_Phadkeb(DBundle, Do, pitch, Ntp, angle=30):
"""
Calculate tube count from bundle diameter using Phadke's method.
See: https://ht.readthedocs.io/en/latest/ht.hx.html
This example function is provided as-is without any representation of accuracy.
Args:
DBundle (float): Outer diameter of tube bundle (m).
Do (float): Tube outer diameter (m).
pitch (float): Tube pitch (m).
Ntp (int): Number of tube passes (-).
angle (int, optional): Tube layout angle (degrees). Default is 30.
Returns:
int: Total number of tubes that fit in the bundle (-).
"""
try:
result = hx_Ntubes_Phadkeb(DBundle=DBundle, Do=Do, pitch=pitch, Ntp=Ntp, angle=angle)
return int(result)
except Exception as e:
return f"Error: {str(e)}"Online Calculator
Outer diameter of tube bundle (m).
Tube outer diameter (m).
Tube pitch (m).
Number of tube passes (-).
Tube layout angle (degrees).