LEGACY_S_SPH_PLANE

Backward-compatible wrapper for the sphere-to-plane conduction shape factor. It preserves legacy naming while returning the same geometric factor for steady-state conduction approximations.

The shape-factor form is:

Q = Sk(T_1 - T_2)

Excel Usage

=LEGACY_S_SPH_PLANE(D, Z)
  • D (float, required): Sphere diameter (m).
  • Z (float, required): Distance to plane (m).

Returns (float): Shape factor (m).

Example 1: Example sphere to plane

Inputs:

D Z
1 100

Excel formula:

=LEGACY_S_SPH_PLANE(1, 100)

Expected output:

6.29893

Example 2: Closer plane distance

Inputs:

D Z
0.4 4

Excel formula:

=LEGACY_S_SPH_PLANE(0.4, 4)

Expected output:

2.57772

Example 3: Small sphere near plane

Inputs:

D Z
0.2 2

Excel formula:

=LEGACY_S_SPH_PLANE(0.2, 2)

Expected output:

1.28886

Example 4: Moderate geometry values

Inputs:

D Z
0.6 8

Excel formula:

=LEGACY_S_SPH_PLANE(0.6, 8)

Expected output:

3.84195

Python Code

Show Code
from ht.conduction import S_isothermal_sphere_to_plane as ht_S_isothermal_sphere_to_plane

def legacy_S_sph_plane(D, Z):
    """
    Deprecated alias for S_sphere_to_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): Sphere diameter (m).
        Z (float): Distance to plane (m).

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

Online Calculator

Sphere diameter (m).
Distance to plane (m).