QMAX_BOIL_METHODS

This function lists which critical-heat-flux correlations are available for nucleate boiling given the current set of inputs.

It applies an availability filter of the form:

\mathcal{M}_{q_{\max}} = g(\rho_l, \rho_g, \sigma, H_{vap}, D, P, P_c, \text{range flags})

The result is returned as a single-column 2D list suitable for Excel dynamic array output.

Excel Usage

=QMAX_BOIL_METHODS(rhol, rhog, sigma, Hvap, D, P, Pc, check_ranges)
  • rhol (float, optional, default: null): Density of the liquid (kg/m^3).
  • rhog (float, optional, default: null): Density of the produced gas (kg/m^3).
  • sigma (float, optional, default: null): Surface tension of liquid (N/m).
  • Hvap (float, optional, default: null): Heat of vaporization of the fluid (J/kg).
  • D (float, optional, default: null): Tube diameter (m).
  • P (float, optional, default: null): Saturation pressure of fluid (Pa).
  • Pc (float, optional, default: null): Critical pressure of fluid (Pa).
  • check_ranges (bool, optional, default: false): Whether to filter for methods valid for the inputs (-).

Returns (list[list]): Available method names as a single-column list, or an error message if invalid.

Example 1: Tube bundle with diameter

Inputs:

D sigma Hvap rhol rhog
0.0127 0.0082 272000 567 18.09

Excel formula:

=QMAX_BOIL_METHODS(0.0127, 0.0082, 272000, 567, 18.09)

Expected output:

Serth-HEDH
Zuber
Example 2: No diameter specified

Inputs:

sigma Hvap rhol rhog
0.0082 272000 567 18.09

Excel formula:

=QMAX_BOIL_METHODS(0.0082, 272000, 567, 18.09)

Expected output:

"Zuber"

Example 3: Pressure inputs available

Inputs:

P Pc
310300 2550000

Excel formula:

=QMAX_BOIL_METHODS(310300, 2550000)

Expected output:

"HEDH-Montinsky"

Example 4: Filter methods with range checks

Inputs:

D sigma Hvap rhol rhog check_ranges
0.015 0.01 280000 700 12 true

Excel formula:

=QMAX_BOIL_METHODS(0.015, 0.01, 280000, 700, 12, TRUE)

Expected output:

Serth-HEDH
Zuber

Python Code

Show Code
from ht.boiling_nucleic import qmax_boiling_methods as ht_qmax_boiling_methods

def qmax_boil_methods(rhol=None, rhog=None, sigma=None, Hvap=None, D=None, P=None, Pc=None, check_ranges=False):
    """
    List available nucleate boiling critical heat flux correlations.

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

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

    Args:
        rhol (float, optional): Density of the liquid (kg/m^3). Default is None.
        rhog (float, optional): Density of the produced gas (kg/m^3). Default is None.
        sigma (float, optional): Surface tension of liquid (N/m). Default is None.
        Hvap (float, optional): Heat of vaporization of the fluid (J/kg). Default is None.
        D (float, optional): Tube diameter (m). Default is None.
        P (float, optional): Saturation pressure of fluid (Pa). Default is None.
        Pc (float, optional): Critical pressure of fluid (Pa). Default is None.
        check_ranges (bool, optional): Whether to filter for methods valid for the inputs (-). Default is False.

    Returns:
        list[list]: Available method names as a single-column list, or an error message if invalid.
    """
    try:
        methods = ht_qmax_boiling_methods(
            rhol=rhol,
            rhog=rhog,
            sigma=sigma,
            Hvap=Hvap,
            D=D,
            P=P,
            Pc=Pc,
            check_ranges=check_ranges,
        )
        return [[method] for method in methods]
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator

Density of the liquid (kg/m^3).
Density of the produced gas (kg/m^3).
Surface tension of liquid (N/m).
Heat of vaporization of the fluid (J/kg).
Tube diameter (m).
Saturation pressure of fluid (Pa).
Critical pressure of fluid (Pa).
Whether to filter for methods valid for the inputs (-).