S_PIPE_ECC_TO_PIPE

Computes the conduction shape factor between two eccentric isothermal cylindrical surfaces. The result is used with conductivity and temperature difference to estimate heat rate in 2D conduction approximations.

The shape-factor heat-rate model is:

Q = Sk(T_1 - T_2)

Excel Usage

=S_PIPE_ECC_TO_PIPE(D_one, D_two, Z, L)
  • D_one (float, required): Diameter of inner pipe (m).
  • D_two (float, required): Diameter of outer pipe (m).
  • Z (float, required): Offset between pipe centers (m).
  • L (float, optional, default: 1): Pipe length (m).

Returns (float): Shape factor (m).

Example 1: Example eccentric pipes

Inputs:

D_one D_two Z L
0.1 0.4 0.05 10

Excel formula:

=S_PIPE_ECC_TO_PIPE(0.1, 0.4, 0.05, 10)

Expected output:

47.7098

Example 2: Unit length eccentric pipes

Inputs:

D_one D_two Z
0.2 0.6 0.08

Excel formula:

=S_PIPE_ECC_TO_PIPE(0.2, 0.6, 0.08)

Expected output:

6.19483

Example 3: Larger offset with longer length

Inputs:

D_one D_two Z L
0.15 0.5 0.12 5

Excel formula:

=S_PIPE_ECC_TO_PIPE(0.15, 0.5, 0.12, 5)

Expected output:

34.9225

Example 4: Small diameter pipes

Inputs:

D_one D_two Z L
0.05 0.2 0.03 2

Excel formula:

=S_PIPE_ECC_TO_PIPE(0.05, 0.2, 0.03, 2)

Expected output:

9.78228

Python Code

Show Code
from ht.conduction import S_isothermal_pipe_eccentric_to_isothermal_pipe as ht_S_isothermal_pipe_eccentric_to_isothermal_pipe

def S_pipe_ecc_to_pipe(D_one, D_two, Z, L=1):
    """
    Compute the shape factor for eccentric 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 inner pipe (m).
        D_two (float): Diameter of outer pipe (m).
        Z (float): Offset between pipe centers (m).
        L (float, optional): Pipe length (m). Default is 1.

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

Online Calculator

Diameter of inner pipe (m).
Diameter of outer pipe (m).
Offset between pipe centers (m).
Pipe length (m).