S_PIPE_TO_PIPE

Computes the conduction shape factor between two isothermal parallel pipes. The factor summarizes geometric influence on heat transfer for simplified steady-state conduction models.

It is used in:

Q = Sk(T_1 - T_2)

Excel Usage

=S_PIPE_TO_PIPE(D_one, D_two, W, L)
  • D_one (float, required): Diameter of one pipe (m).
  • D_two (float, required): Diameter of the other pipe (m).
  • W (float, required): Center-to-center distance (m).
  • L (float, optional, default: 1): Pipe length (m).

Returns (float): Shape factor (m).

Example 1: Example pipe pair

Inputs:

D_one D_two W L
0.1 0.2 1 1

Excel formula:

=S_PIPE_TO_PIPE(0.1, 0.2, 1, 1)

Expected output:

1.18871

Example 2: Wider spacing and longer length

Inputs:

D_one D_two W L
0.15 0.25 1.5 2

Excel formula:

=S_PIPE_TO_PIPE(0.15, 0.25, 1.5, 2)

Expected output:

2.29685

Example 3: Short length spacing

Inputs:

D_one D_two W L
0.08 0.12 0.6 0.8

Excel formula:

=S_PIPE_TO_PIPE(0.08, 0.12, 0.6, 0.8)

Expected output:

1.00611

Example 4: Moderate geometry values

Inputs:

D_one D_two W L
0.2 0.3 1.2 1.5

Excel formula:

=S_PIPE_TO_PIPE(0.2, 0.3, 1.2, 1.5)

Expected output:

2.0753

Python Code

Show Code
from ht.conduction import S_isothermal_pipe_to_isothermal_pipe as ht_S_isothermal_pipe_to_isothermal_pipe

def S_pipe_to_pipe(D_one, D_two, W, L=1):
    """
    Compute the shape factor for two isothermal pipes.

    See: https://ht.readthedocs.io/en/latest/ht.conduction.html

    This example function is provided as-is without any representation of accuracy.

    Args:
        D_one (float): Diameter of one pipe (m).
        D_two (float): Diameter of the other pipe (m).
        W (float): Center-to-center distance (m).
        L (float, optional): Pipe length (m). Default is 1.

    Returns:
        float: Shape factor (m).
    """
    try:
        return ht_S_isothermal_pipe_to_isothermal_pipe(
            D1=D_one,
            D2=D_two,
            W=W,
            L=L,
        )
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator

Diameter of one pipe (m).
Diameter of the other pipe (m).
Center-to-center distance (m).
Pipe length (m).