get_temperature_extremum#

PostProcessorIcepak.get_temperature_extremum(assignment: str, max_min: Literal['Max', 'Min'], location: Literal['Surface', 'Volume'], setup: str | None = None, time: str | None = None) Tuple[Tuple[float, float, float], float]#

Calculates the position and value of the temperature maximum or minimum.

Parameters:
assignmentstr

The name of the object to calculate the temperature extremum for.

max_minLiteral[“Max”, “Min”]

“Max” for maximum, “Min” for minimum.

locationLiteral[“Surface”, “Volume”]

“Surface” for surface, “Volume” for volume.

timeOptional[str]

Time at which to retrieve results if setup is transient. Default is None.

setupOptional[str]

The name of the setup to use. If None, the first available setup is used. Default is None.

Returns:
Tuple[Tuple[float, float, float], float]
A tuple containing:
  • A tuple of three floats representing the (x, y, z) coordinates of the maximum point.

  • A float representing the value associated with the maximum point.