LEGACY_S_PIPE_NORM

Backward-compatible wrapper for the shape factor of a long isothermal pipe normal to a plane. It keeps legacy naming and returns the same geometric conduction factor.

The shape-factor heat-rate form is:

Q = Sk(T_1 - T_2)

Excel Usage

=LEGACY_S_PIPE_NORM(D, L)
  • D (float, required): Pipe diameter (m).
  • L (float, required): Pipe length (m).

Returns (float): Shape factor (m).

Example 1: Example normal pipe

Inputs:

D L
1 100

Excel formula:

=LEGACY_S_PIPE_NORM(1, 100)

Expected output:

104.869

Example 2: Shorter pipe length

Inputs:

D L
0.5 20

Excel formula:

=LEGACY_S_PIPE_NORM(0.5, 20)

Expected output:

24.7605

Example 3: Slender pipe geometry

Inputs:

D L
0.1 10

Excel formula:

=LEGACY_S_PIPE_NORM(0.1, 10)

Expected output:

10.4869

Example 4: Moderate geometry values

Inputs:

D L
0.8 40

Excel formula:

=LEGACY_S_PIPE_NORM(0.8, 40)

Expected output:

47.4353

Python Code

Show Code
from ht.conduction import S_isothermal_pipe_normal_to_plane as ht_S_isothermal_pipe_normal_to_plane

def legacy_S_pipe_norm(D, L):
    """
    Deprecated alias for S_pipe_norm_plane.

    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).
        L (float): Pipe length (m).

    Returns:
        float: Shape factor (m).
    """
    try:
        return ht_S_isothermal_pipe_normal_to_plane(D=D, L=L)
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator

Pipe diameter (m).
Pipe length (m).