DBUNDLE_NT_PHADK
This function computes the tube bundle diameter required to fit a specified number of tubes using the Phadke method, accounting for pitch, tube diameter, pass count, and layout angle. It is a reverse sizing operation of tube-count calculations.
The solver finds D_{bundle} such that N_{tubes}(D_{bundle}, D_o, p, N_{tp}, \theta) = N_{target}.
Excel Usage
=DBUNDLE_NT_PHADK(Ntubes, Do, pitch, Ntp, angle)
Ntubes(int, required): Total number of tubes (-).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 (float): Outer diameter of tube bundle (m).
Example 1: Phadkeb bundle diameter example
Inputs:
| Ntubes | Do | pitch | Ntp | angle |
|---|---|---|---|---|
| 782 | 0.028 | 0.036 | 2 | 45 |
Excel formula:
=DBUNDLE_NT_PHADK(782, 0.028, 0.036, 2, 45)
Expected output:
1.18794
Example 2: Phadkeb estimate for smaller bundle
Inputs:
| Ntubes | Do | pitch | Ntp | angle |
|---|---|---|---|---|
| 300 | 0.01905 | 0.025 | 1 | 30 |
Excel formula:
=DBUNDLE_NT_PHADK(300, 0.01905, 0.025, 1, 30)
Expected output:
0.46905
Example 3: Phadkeb estimate with four passes
Inputs:
| Ntubes | Do | pitch | Ntp | angle |
|---|---|---|---|---|
| 900 | 0.025 | 0.03125 | 4 | 30 |
Excel formula:
=DBUNDLE_NT_PHADK(900, 0.025, 0.03125, 4, 30)
Expected output:
1.05767
Example 4: Phadkeb estimate with 90 degree layout
Inputs:
| Ntubes | Do | pitch | Ntp | angle |
|---|---|---|---|---|
| 600 | 0.022 | 0.028 | 2 | 90 |
Excel formula:
=DBUNDLE_NT_PHADK(600, 0.022, 0.028, 2, 90)
Expected output:
0.81396
Python Code
Show Code
from ht.hx import DBundle_for_Ntubes_Phadkeb as hx_DBundle_for_Ntubes_Phadkeb
def DBundle_Nt_Phadk(Ntubes, Do, pitch, Ntp, angle=30):
"""
Calculate tube bundle diameter for a given tube count 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:
Ntubes (int): Total number of tubes (-).
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:
float: Outer diameter of tube bundle (m).
"""
try:
result = hx_DBundle_for_Ntubes_Phadkeb(Ntubes=Ntubes, Do=Do, pitch=pitch, Ntp=Ntp, angle=angle)
return result
except Exception as e:
return f"Error: {str(e)}"Online Calculator
Total number of tubes (-).
Tube outer diameter (m).
Tube pitch (m).
Number of tube passes (-).
Tube layout angle (degrees).