Thermal Analysis
Professor, I've been doing structural FEA for a while, but my manager just asked me to run a thermal analysis on our electronics enclosure. Where do I even start?
Good news — the workflow maps naturally from structural. You still mesh the geometry, assign material properties, apply boundary conditions, and solve a field equation. The difference is that your unknown field is temperature instead of displacement, and instead of stress you care about heat flux. The whole thing is governed by the energy balance equation: heat stored = heat conducted in + internal heat generated.
Is there a governing equation I can actually look at? Something like the stiffness equation in structural?
Absolutely. The general heat equation is: $$\rho c_p \frac{\partial T}{\partial t} = \nabla \cdot (k \nabla T) + Q$$ Read it left to right: $\rho c_p \partial T/\partial t$ is the rate of thermal energy storage — density times specific heat times temperature rate of change. On the right, $\nabla \cdot (k \nabla T)$ is net heat flowing in by conduction. And $Q$ is internal heat generation — Joule heating from electrical current, chemical reactions, laser energy, whatever applies to your problem.
So if the system reaches steady state — temperature not changing anymore — that left side becomes zero?
Exactly. When $\partial T/\partial t = 0$, you get $\nabla \cdot (k \nabla T) + Q = 0$ — Poisson's equation, a well-behaved linear PDE. For your electronics enclosure dissipating constant power, steady-state is usually the right starting point. You want to know: what is the worst-case chip temperature after the device has been running for hours?
And transient analysis would be for something like a soldering reflow process, where the temperature profile over time matters?
Perfect example. Reflow soldering has a precise temperature ramp — preheat, soak, reflow peak, cool-down — and you need the full time history to confirm every solder joint reaches liquidus temperature without damaging surrounding components. Other classic transient cases: fire resistance of a structural beam, thermal shock in a turbine blade on engine startup, or a satellite cycling between sunlight and eclipse every 90 minutes. Whenever the time history itself matters, you go transient.
I keep seeing "three heat transfer modes" — conduction, convection, radiation. What makes each one different from a simulation standpoint?
They're physically very different, and that affects how you model them. Conduction is heat diffusing through solid material via Fourier's law: $$\mathbf{q} = -k \nabla T$$ The heat flux vector points down the temperature gradient, scaled by conductivity $k$. This is always active inside a solid — no special setup needed beyond assigning $k$. Convection is heat exchanged at a surface with a moving fluid, approximated by Newton's cooling law: $$q = h(T_s - T_\infty)$$ Here $h$ is the convection coefficient in W/m²K. Getting $h$ right is the hardest part of most practical thermal models — it comes from empirical correlations, handbooks, or a coupled CFD run. Radiation is electromagnetic heat exchange: $$q = \varepsilon \sigma (T_s^4 - T_{\text{surr}}^4)$$ That $T^4$ dependence makes it strongly nonlinear. Radiation is negligible for a 60°C enclosure but completely dominates in furnaces, turbines, or spacecraft.
For my electronics enclosure specifically, which modes should I include?
Conduction and convection — those are the two that dominate. Conduction carries heat from chip junction through the PCB, heat spreader, and chassis walls. Convection — either natural (buoyancy-driven) or forced air from a fan — removes it from the outer surface. Radiation from a metal box at 60–80°C can contribute maybe 5–15% of total heat removal depending on surface emissivity and geometry. Include it if you want a thorough result, but start without it to get your baseline.
What makes a thermal analysis "nonlinear"? I assumed it was simpler than structural since I don't have plasticity or contact…
It can be surprisingly nonlinear. Two main sources: first, temperature-dependent material properties. If $k(T)$ changes significantly across your temperature range — for steel from 20°C to 1000°C, conductivity can drop by 50% — then $k$ is a function of the unknown $T$ and you need Newton-Raphson iteration. Second, radiation: that $T^4$ term is inherently nonlinear and requires iterative linearization at every time step. Phase change is another nasty nonlinearity — the latent heat spike near the melting point needs very careful time step control to capture accurately.
My colleague mentioned "thermal-structural coupling." Is that just running thermal first and then structural separately?
That's sequential coupling — the most common approach. Run thermal, export the nodal temperature field, import it into the structural model as a body load, solve for thermal stresses. Works well when deformation doesn't affect temperatures. But truly coupled problems exist: Joule heating in a power bus bar where electrical resistance depends on temperature, which changes current distribution, which changes heating. Or conjugate heat transfer in CFD, where solid and fluid temperatures influence each other at every interface. Those require simultaneous solution — or at least tight iterative coupling between solvers.
What about software choices? There seem to be a lot of options for thermal analysis specifically.
The landscape really does span the whole CAE ecosystem. For general solid thermal and thermal-structural: Ansys Mechanical, Abaqus, MSC Nastran. For electronics cooling specifically: Ansys Icepak and Siemens Flotherm have purpose-built component libraries that make PCB and server thermal modeling much faster than a general FEA tool. For conjugate heat transfer with full CFD: OpenFOAM's chtMultiRegionFoam, Ansys Fluent, STAR-CCM+. And for spacecraft with complex radiation networks: Thermal Desktop or ESATAN-TMS, which specialize in view-factor computation for orbit thermal environments.
One thing I keep seeing is "view factor" in the radiation context. Can you explain what that actually is?
The view factor $F_{ij}$ is the fraction of radiation emitted from surface $i$ that geometrically arrives at surface $j$ — purely geometric, no material properties involved. Two large parallel plates facing each other: $F_{12} = 1$. A convex surface in free space: $F_{11} = 0$ (can't see itself). For complex 3D geometries like heat sink fins or spacecraft components, computing view factors requires numerical integration or Monte Carlo ray-tracing, which gets computationally expensive. That's why radiation is often the most CPU-intensive part of a thermal analysis despite appearing simple in equation form.
How do I know if my thermal model is giving correct results? Is there a quick sanity check?
Always do a global energy balance first. If your model has 100 W of heat generation, and you integrate the total heat flux leaving through all boundary surfaces, you should get 100 W out. Any imbalance means a mistake in boundary conditions. Second, compare against simple analytical solutions — the 1D slab formula $Q = kA\Delta T / L$, or Newton's law for a lumped body. If your 3D FEA result is within a few percent of the simplified hand calculation for a geometry where that simplification is valid, you're on track. Only then refine the mesh and add complexity.
What's the thermal equivalent of mesh sensitivity in structural? Do I need to do mesh convergence for temperature too?
Yes, absolutely — especially for heat flux rather than temperature. Temperature converges relatively quickly with mesh refinement, but heat flux (the gradient of temperature) converges more slowly, just like stress converges more slowly than displacement in structural. Wherever you care most about heat flux accuracy — near a thermal contact, at the base of a fin, inside a narrow gap — that's where you need the finest mesh. A good habit: run three meshes with roughly 2× element count each time, and check that the peak heat flux or maximum temperature change is less than 5% between the last two. That's your mesh-converged solution.
What Is Thermal Analysis in CAE?
Thermal analysis predicts temperature distributions and heat flow patterns within and between physical systems using numerical methods. It is essential across virtually every engineering sector — electronics cooling, aerospace thermal protection, automotive powertrain and battery management, chemical process equipment, building energy simulation, and industrial manufacturing.
At its core, thermal analysis solves the energy conservation equation. For a solid continuum with thermal conductivity $k$, density $\rho$, specific heat $c_p$, and volumetric heat generation $Q$:
$$\rho c_p \frac{\partial T}{\partial t} = \nabla \cdot (k \nabla T) + Q$$
This equation, combined with boundary conditions representing the three modes of heat transfer, governs virtually all engineering thermal problems. In matrix form after FEM discretization: $[C]\{\dot{T}\} + [K]\{T\} = \{Q\}$, structurally analogous to the dynamic structural equation.
Industry Applications
- Electronics & semiconductors: Junction temperature prediction, PCB thermal management, heat sink and cold plate optimization, Joule heating in power devices, thermal interface material (TIM) selection
- Automotive: Engine block and exhaust manifold thermal loads, brake disc thermal fade, EV battery thermal management, electric motor cooling
- Aerospace: Re-entry heat shield design, gas turbine blade cooling, spacecraft thermal control, cryogenic propellant tanks
- Power generation: Nuclear fuel rod analysis, heat exchanger design, steam turbine thermal gradients, transformer cooling
- Manufacturing: Casting solidification, welding heat-affected zone prediction, polymer injection molding cooling, additive manufacturing thermal cycles
- Buildings & HVAC: Envelope thermal performance, passive solar design, fire resistance assessment, indoor air quality simulation
The Three Modes of Heat Transfer
1. Conduction — Fourier's Law
Conduction is the transfer of thermal energy through a medium by molecular interaction, without bulk material motion. Inside any solid, it is the dominant heat transfer mechanism.
$$\mathbf{q} = -k \nabla T \quad [\text{W/m}^2]$$
Heat flux $\mathbf{q}$ flows opposite to the temperature gradient. For an isotropic material, $k$ is a scalar; for composites and crystalline materials, it becomes a second-order tensor $\mathbf{k}$. In FEM, Fourier's law is discretized into a symmetric conductivity matrix $[K]$ — directly analogous to the structural stiffness matrix. Typical conductivities: copper ~400, aluminum ~200, steel ~50, glass ~1.0, polymer ~0.2, still air ~0.026 W/mK. Material choices span nearly 5 orders of magnitude.
2. Convection — Newton's Cooling Law
Convection transfers heat between a solid surface and an adjacent fluid in motion. It is applied as a surface boundary condition:
$$q = h(T_s - T_\infty) \quad [\text{W/m}^2]$$
The convection coefficient $h$ (film coefficient) encapsulates all fluid flow complexity — turbulence, velocity profiles, fluid thermophysical properties. Obtaining an accurate $h$ is the most common challenge in applied thermal modeling.
| Scenario | Typical h [W/m²K] |
|---|---|
| Free convection in air (natural cooling) | 2–25 |
| Forced convection in air (fan-cooled) | 25–250 |
| Forced convection in water | 500–10,000 |
| Boiling water | 2,000–50,000 |
| Condensing steam | 5,000–100,000 |
3. Radiation — Stefan-Boltzmann Law
Radiation transfers energy by electromagnetic waves and requires no medium. The net heat flux from a gray diffuse surface with emissivity $\varepsilon$ to surroundings at $T_\text{surr}$:
$$q = \varepsilon \sigma (T_s^4 - T_\text{surr}^4) \quad [\text{W/m}^2]$$
where $\sigma = 5.67 \times 10^{-8}$ W/m²K⁴. Between two surfaces with view factor $F_{12}$:
$$q_{1\to 2} = \frac{\sigma(T_1^4 - T_2^4)}{\dfrac{1-\varepsilon_1}{\varepsilon_1 A_1} + \dfrac{1}{A_1 F_{12}} + \dfrac{1-\varepsilon_2}{\varepsilon_2 A_2}}$$
The $T^4$ nonlinearity makes radiation critical above ~500°C and in any vacuum environment. It is negligible below ~200°C for most engineering purposes.
Steady-State vs. Transient Analysis
| Criterion | Steady-State | Transient |
|---|---|---|
| Time term | $\partial T/\partial t = 0$ | $\partial T/\partial t \neq 0$ |
| Governing equation | $\nabla \cdot (k\nabla T) + Q = 0$ | $\rho c_p \partial T/\partial t = \nabla \cdot (k\nabla T) + Q$ |
| Solver matrix | $[K]\{T\} = \{Q\}$ | $[C]\{\dot{T}\} + [K]\{T\} = \{Q\}$ |
| Key material data | $k$ only | $k$, $\rho c_p$ (thermal diffusivity $\alpha = k/\rho c_p$) |
| Typical use | Worst-case temperature at continuous operation | Thermal shock, startup, reflow, fire resistance |
| Computational cost | Single matrix solve | Many time steps — 10×–1000× more expensive |
Decision rule: compute the thermal time constant $\tau = \rho c_p V / (hA)$ for your component. If your operating period $\gg \tau$, steady-state is sufficient. If your loading duration is comparable to $\tau$, use transient analysis.
Linear vs. Nonlinear Thermal Analysis
A thermal analysis is linear when material properties are constant and boundary conditions are temperature-independent. The system $[K]\{T\} = \{Q\}$ is then solved in a single step — fast and robust.
Nonlinearity sources:
- Temperature-dependent $k(T)$, $c_p(T)$: Makes $[K]$ a function of $\{T\}$. Requires Newton-Raphson iteration at each time step. Common for metals at elevated temperatures, polymers near $T_g$, and composites.
- Radiation BCs: $T^4$ dependence always requires linearization and iteration. Never skippable in high-temperature or space applications.
- Phase change: Latent heat modeled as a very large $c_p$ spike near the melting temperature. Requires small time steps and adaptive schemes near the mushy zone.
- Contact conductance: Thermal resistance across contacting surfaces depends on contact pressure — requires coupled thermal-structural iteration.
Coupled Analysis Types
Thermal-Structural Coupling (Thermo-Mechanical)
Temperature change $\Delta T$ causes thermal strain $\varepsilon_\text{th} = \alpha \Delta T$, inducing stresses in constrained structures. Sequential approach: solve thermal → import $T(x,y,z)$ as body load into structural solver → compute thermal stress and deformation. Fully coupled approach: required when structural deformation changes thermal boundary conditions (contact gap width, radiation view factors).
Conjugate Heat Transfer (CHT)
Simultaneously solves Navier-Stokes with energy equation in the fluid and Fourier's equation in the solid, with continuity of temperature and heat flux enforced at the fluid-solid interface. Required for accurate electronics cooling, turbine blade internal cooling, and any application where the simplified convection coefficient $h$ is not known a priori.
Joule Heating (Electro-Thermal Coupling)
Volumetric heat generation from electrical current: $Q = \mathbf{J} \cdot \mathbf{E} = \sigma_e |\nabla \phi|^2$ where $\sigma_e(T)$ is the temperature-dependent electrical conductivity. Since $\sigma_e$ varies with $T$, current distribution and heating are coupled — a temperature rise changes resistance, which redistributes current, which changes the heating pattern. Common in power electronics, busbars, and induction heating simulation.
Thermal-Optical Radiation Networks
Used primarily in spacecraft thermal control: each surface is a node, connected by radiative conductors ($F_{ij} \varepsilon A$) and conductive conductors. Thermal Desktop (Cullimore & Ring), ESATAN-TMS, and Systema-Thermica implement dedicated radiation network solvers with orbital environment models (solar flux, albedo, Earth IR).
Software for Thermal Analysis
| Software | Approach | Best For |
|---|---|---|
| Ansys Mechanical | FEM, thermal-structural coupling | General thermal, thermal stress in structures |
| Ansys Icepak | FVM, electronics component library | PCB, server rack, power electronics cooling |
| Siemens Flotherm | Grid-based FVM, compact thermal models | Electronics cooling, early-stage thermal design |
| Abaqus | FEM, fully coupled, UMATHT subroutine | Nonlinear thermal-structural, manufacturing |
| OpenFOAM | FVM, chtMultiRegionFoam solver, free | Conjugate heat transfer, custom CHT workflows |
| Ansys Fluent / STAR-CCM+ | FVM, full CHT, turbulence, phase change | CFD-heavy thermal problems |
| Thermal Desktop | Radiation network, orbital environment | Spacecraft, satellite thermal control |
| CalculiX | FEM, free/open-source, Abaqus-compatible | Academic, budget-constrained projects |
Browse Thermal Analysis Topics
New to thermal simulation? Start with Steady-State Conduction — the most fundamental thermal analysis type.
Learning Roadmap
| Level | Topics | Recommended Path |
|---|---|---|
| Beginner | Fourier's law, thermal resistance, steady-state FEA setup, convection boundary conditions | Steady Conduction → Fin Analysis → Simple Convection BC |
| Intermediate | Transient analysis, nonlinear $k(T)$, radiation BCs, Joule heating, sequential thermal-structural | Transient → Radiation → Electronics Cooling → Thermal Stress |
| Advanced | Fully coupled CHT, phase change, complex view factors, inverse thermal identification | CHT → Phase Change → Coupled Electro-Thermal → Optimization |