Skip to content

Temperature Condition

The temperature condition prescribes a fixed temperature on a boundary or within a volume: $$ T = T_0. $$

  • \(T\) - boundary or volume temperature [K]
  • \(T_0\) - prescribed temperature value [K]

Applicability

This condition is used when the temperature is known a priori, such as at interfaces with large thermal reservoirs, controlled heating elements, or regions maintained at a fixed temperature. It can be applied either on boundaries or over volumetric regions.

Typical use cases

  • Isothermal boundaries
  • Perfect thermal contact with a temperature-controlled surface

Example

condition = TemperatureCondition.Constant(
    name = "My Temperature Condition",
    marker = my_marker,
    temperature = 343.0,
)
cff_temperature = CffConstantScalar(value=343.0)

condition = TemperatureCondition(
    name = "My Temperature Condition",
    marker = my_marker,
    temperature = cff_temperature,
)