S_PIPE_TWO_PLANES
Computes the conduction shape factor for an isothermal pipe centered between two parallel isothermal planes at equal spacing. This captures geometry in compact conduction calculations.
The shape-factor model is:
Q = Sk(T_1 - T_2)
Excel Usage
=S_PIPE_TWO_PLANES(D, Z, L)
D(float, required): Pipe diameter (m).Z(float, required): Distance to each plane (m).L(float, optional, default: 1): Pipe length (m).
Returns (float): Shape factor (m).
Example 1: Example pipe between planes
Inputs:
| D | Z | L |
|---|---|---|
| 0.1 | 5 | 1 |
Excel formula:
=S_PIPE_TWO_PLANES(0.1, 5, 1)
Expected output:
1.29637
Example 2: Unit length with smaller spacing
Inputs:
| D | Z |
|---|---|
| 0.2 | 3 |
Excel formula:
=S_PIPE_TWO_PLANES(0.2, 3)
Expected output:
1.72484
Example 3: Larger pipe diameter
Inputs:
| D | Z | L |
|---|---|---|
| 0.5 | 10 | 2 |
Excel formula:
=S_PIPE_TWO_PLANES(0.5, 10, 2)
Expected output:
3.19719
Example 4: Moderate geometry values
Inputs:
| D | Z | L |
|---|---|---|
| 0.3 | 6 | 1.5 |
Excel formula:
=S_PIPE_TWO_PLANES(0.3, 6, 1.5)
Expected output:
2.39789
Python Code
Show Code
from ht.conduction import S_isothermal_pipe_to_two_planes as ht_S_isothermal_pipe_to_two_planes
def S_pipe_two_planes(D, Z, L=1):
"""
Compute the shape factor for a pipe between two planes.
See: https://ht.readthedocs.io/en/latest/ht.conduction.html
This example function is provided as-is without any representation of accuracy.
Args:
D (float): Pipe diameter (m).
Z (float): Distance to each plane (m).
L (float, optional): Pipe length (m). Default is 1.
Returns:
float: Shape factor (m).
"""
try:
return ht_S_isothermal_pipe_to_two_planes(D=D, Z=Z, L=L)
except Exception as e:
return f"Error: {str(e)}"Online Calculator
Pipe diameter (m).
Distance to each plane (m).
Pipe length (m).