LAST SEEN ONLINE:
NOV 22, 2026 11:36 UTC
LOCAL_TIME_SYNC:
--:--:-- | -- _
2026 · complete

Part 1: Introduction to Thermal CFD

An introduction to Thermal Computational Fluid Dynamics, exploring its applications, governing equations, thermal properties, and physical significance.

CFDHeat TransferFluid Mechanics

What is Thermal CFD?

Thermal Computational Fluid Dynamics (CFD) is a specialized branch of fluid mechanics that focuses on the numerical simulation of fluid flow combined with heat transfer. While traditional CFD might only be concerned with the velocity and pressure of a moving fluid, Thermal CFD introduces the energy equation, allowing us to predict temperature distributions, thermal gradients, and the exchange of heat between a fluid and its solid boundaries.

At its core, Thermal CFD solves the fundamental governing equations of fluid dynamics—the Navier-Stokes equations—coupled with the laws of thermodynamics. This coupling becomes especially critical in natural convection, where temperature changes significantly affect the fluid’s density, creating buoyancy forces that drive the flow.

(Reference: Incropera et al., Fundamentals of Heat and Mass Transfer)


The Governing Equations

To accurately model thermal flows, CFD solvers discretize and solve the following conservation laws.

1. Conservation of Mass (Continuity Equation)

For an incompressible flow, mass must be conserved.

∇⋅u=0\nabla \cdot \mathbf{u} = 0

Where u\mathbf{u} is the velocity vector.

2. Conservation of Momentum (Navier-Stokes with Boussinesq Approximation)

In natural convection scenarios (like the Differentially Heated Cavity), the density variations are small enough that we can assume density is constant everywhere except in the buoyancy term. This is known as the Boussinesq approximation:

∂u∂t+(u⋅∇)u=−1ρ0∇p+ν∇2u+gβ(T−Tref)\frac{\partial \mathbf{u}}{\partial t} + (\mathbf{u} \cdot \nabla)\mathbf{u} = -\frac{1}{\rho_0} \nabla p + \nu \nabla^2 \mathbf{u} + \mathbf{g} \beta (T - T_{ref})
  • pp: Kinematic pressure (Pressure / Density).
  • ν\nu: Kinematic viscosity.
  • gβ(T−Tref)\mathbf{g} \beta (T - T_{ref}): The Boussinesq buoyancy term driving the flow.

3. Conservation of Energy

The energy equation dictates how heat is advected by the fluid and diffused through thermal conductivity:

∂T∂t+∇⋅(uT)=α∇2T\frac{\partial T}{\partial t} + \nabla \cdot (\mathbf{u} T) = \alpha \nabla^2 T
  • TT: Temperature.
  • α\alpha: Thermal diffusivity (α=kρCp\alpha = \frac{k}{\rho C_p}).

(Reference: OpenFOAM User Guide: Standard Solvers)


Core Mechanisms of Heat Transfer

In Thermal CFD, heat transfer occurs primarily through three mechanisms:

1. Conduction

The transfer of heat through a stationary medium due to a temperature gradient, governed by Fourier’s Law:

q′′=−k∇Tq'' = -k \nabla T
  • q′′q'': Heat flux (W/m2W/m^2).
  • Physical Example: Holding a metal spoon in a pot of boiling water. The heat travels up the handle through conduction.

2. Convection

The transfer of heat by the macroscopic movement of a fluid, governed at boundaries by Newton’s Law of Cooling:

q′′=h(Ts−T∞)q'' = h (T_s - T_\infty)
  • hh: Convective heat transfer coefficient (W/m2⋅KW/m^2 \cdot K).
  • Physical Example: Blowing over a hot cup of coffee to cool it down (Forced Convection), or the warm air rising from a radiator to heat a room (Natural Convection).

3. Radiation

The transfer of energy via electromagnetic waves, governed by the Stefan-Boltzmann Law:

q′′=εσ(Ts4−Tsur4)q'' = \varepsilon \sigma (T_s^4 - T_{sur}^4)
  • σ\sigma: Stefan-Boltzmann constant (5.67×10−8W/m2⋅K45.67 \times 10^{-8} W/m^2 \cdot K^4).
  • Physical Example: Feeling the warmth of the sun on your skin, or the glowing red coils of an electric space heater.

Key Thermal Properties and Definitions

To accurately simulate thermal flows, we must define several critical properties of the fluid. In OpenFOAM’s constant/transportProperties, these are explicitly declared.

Thermal Conductivity (kk)

  • Definition: A measure of a material’s ability to conduct heat (W/m⋅KW/m \cdot K).
  • Equation / Relation: α=kρCp\alpha = \frac{k}{\rho C_p}
  • Physical Example: Copper (k≈400k \approx 400) transfers heat rapidly, which is why it is used in computer heat sinks. Wood (k≈0.1k \approx 0.1) acts as an insulator.

Specific Heat Capacity (CpC_p)

  • Definition: The amount of heat energy required to raise the temperature of one kilogram of the substance by one Kelvin (J/kg⋅KJ/kg \cdot K).
  • Equation / Relation: Q=mCpΔTQ = m C_p \Delta T
  • Physical Example: Water has a very high CpC_p (≈4184\approx 4184), meaning it can absorb a lot of heat without getting much hotter—this is why water is an excellent coolant for car engines and nuclear reactors. Iron has a low CpC_p (≈450\approx 450), so it heats up very quickly in the sun.

Kinematic Viscosity (ν\nu)

  • Definition: A measure of the fluid’s inherent resistance to flow under the influence of gravity (m2/sm^2/s).
  • Equation / Relation: ν=μρ\nu = \frac{\mu}{\rho}
  • Physical Example: Honey has a very high kinematic viscosity and flows sluggishly. Water has a low kinematic viscosity and splashes easily.

Thermal Expansion Coefficient (β\beta)

  • Definition: Describes how the volume of the fluid changes with temperature (1/K1/K).
  • Equation / Relation: ρ≈ρ0[1−β(T−T0)]\rho \approx \rho_0 [1 - \beta(T - T_0)]
  • Physical Example: The air inside a hot air balloon expands and becomes less dense as the burner heats it, creating the upward buoyant force that lifts the balloon.

Dimensionless Numbers: The Language of CFD

In fluid dynamics, we often use dimensionless numbers to characterize the flow regime without worrying about specific physical scales.

Prandtl Number (PrPr)

  • Definition: The ratio of momentum diffusivity to thermal diffusivity. It describes the relative thickness of the velocity and temperature boundary layers.
  • Equation:
Pr=να=CpμkPr = \frac{\nu}{\alpha} = \frac{C_p \mu}{k}
  • Physical Example: Air has Pr≈0.71Pr \approx 0.71, meaning momentum and heat diffuse at roughly the same rate. Engine oil has a huge Prandtl number (Pr>1000Pr > 1000); its momentum diffuses very quickly compared to heat, resulting in very thick velocity boundary layers but extremely thin thermal boundary layers.

Rayleigh Number (RaRa)

  • Definition: The ratio of buoyancy-driven forces to viscous forces. It dictates whether natural convection will be laminar or turbulent.
  • Equation:
Ra=gβ(Thot−Tcold)L3ναRa = \frac{g \beta (T_{hot} - T_{cold}) L^3}{\nu \alpha}
  • Physical Example:
    • Low RaRa (<103< 10^3): A sealed double-pane window. Viscous forces dominate, air remains mostly stationary, and heat transfers purely by conduction.
    • High RaRa (>109> 10^9): The Differentially Heated Cavity test case. Buoyancy forces dominate, creating a chaotic, highly convective turbulent loop.

(Reference: Versteeg & Malalasekera, An Introduction to Computational Fluid Dynamics)


Industrial Applications

Thermal CFD is ubiquitous across modern engineering disciplines:

  • Electronics Cooling: Designing heat sinks, optimizing fan placement, and ensuring smartphones and high-performance servers don’t overheat.
  • HVAC and Built Environment: Simulating airflow and temperature distribution in offices, data centers, and cleanrooms to ensure thermal comfort and energy efficiency.
  • Automotive and Aerospace: Analyzing under-hood thermal management, brake cooling, battery thermal management in EVs, and spacecraft thermal control.
  • Energy Sector: Optimizing heat exchangers, cooling towers, and modeling the thermal fluid dynamics inside nuclear reactors.

By mastering Thermal CFD, you unlock the ability to non-destructively test and optimize thermal systems, saving immense amounts of time and prototyping costs. In the next part of this series, we will bridge this theory with practice by setting up our first thermal simulation in OpenFOAM.

Related Projects