IS_HEATING_TEMP
This function determines the direction of heat transfer between a wall and a flowing fluid using bulk and wall temperatures. It returns whether the wall causes net heating of the bulk stream.
The criterion is based on the temperature difference:
\Delta T = T_{wall} - T
When \Delta T > 0, heat flows from wall to fluid and the function returns True; otherwise it returns False.
Excel Usage
=IS_HEATING_TEMP(T, T_wall)
T(float, required): Temperature of the flowing fluid away from the wall (K).T_wall(float, required): Temperature of the wall (K).
Returns (bool): True when the bulk fluid is being heated.
Example 1: Wall hotter than bulk fluid
Inputs:
| T | T_wall |
|---|---|
| 298.15 | 350 |
Excel formula:
=IS_HEATING_TEMP(298.15, 350)
Expected output:
true
Example 2: Wall cooler than bulk fluid
Inputs:
| T | T_wall |
|---|---|
| 350 | 300 |
Excel formula:
=IS_HEATING_TEMP(350, 300)
Expected output:
false
Example 3: Equal wall and bulk temperatures
Inputs:
| T | T_wall |
|---|---|
| 320 | 320 |
Excel formula:
=IS_HEATING_TEMP(320, 320)
Expected output:
false
Example 4: Slight temperature rise at the wall
Inputs:
| T | T_wall |
|---|---|
| 310 | 315 |
Excel formula:
=IS_HEATING_TEMP(310, 315)
Expected output:
true
Python Code
Show Code
from ht.core import is_heating_temperature as ht_is_heating_temperature
def is_heating_temp(T, T_wall):
"""
Determine whether a wall heats or cools a flow from temperatures.
See: https://ht.readthedocs.io/en/latest/ht.core.html
This example function is provided as-is without any representation of accuracy.
Args:
T (float): Temperature of the flowing fluid away from the wall (K).
T_wall (float): Temperature of the wall (K).
Returns:
bool: True when the bulk fluid is being heated.
"""
try:
return ht_is_heating_temperature(T, T_wall)
except Exception as e:
return f"Error: {str(e)}"Online Calculator
Temperature of the flowing fluid away from the wall (K).
Temperature of the wall (K).