Material & Parameters
Initial Condition
Boundary Conditions
Explicit FD: $T_i^{n+1}= T_i^n + Fo(T_{i+1}^n - 2T_i^n + T_{i-1}^n)$
Stability: $Fo = \alpha\Delta t/\Delta x^2 \leq 0.5$
Finite difference simulation of 1D transient heat conduction. Change initial and boundary conditions to experience temperature profile evolution in real time.
The core physics is governed by the 1D Heat Diffusion Equation (Fourier's Law). It states that the rate of temperature change at any point is proportional to the spatial curvature (second derivative) of the temperature field.
$$ \frac{\partial T}{\partial t}= \alpha \frac{\partial^2 T}{\partial x^2}$$Here, $T(x,t)$ is temperature, $t$ is time, $x$ is position, and $\alpha$ is the thermal diffusivity ($\alpha = \lambda / (\rho c_p)$). This equation is solved numerically in the simulator using the Finite Difference Method.
The numerical solution's stability is controlled by the Fourier Number, a dimensionless quantity. The simulator must keep this below a critical value for accurate, stable results.
$$ Fo = \frac{\alpha \Delta t}{\Delta x^2} \leq 0.5 $$$Fo$ is the Fourier number, $\Delta t$ is the computational time step, and $\Delta x$ is the spatial grid size. This condition ensures the explicit numerical scheme doesn't produce unrealistic, oscillating results. The simulator automatically chooses a $\Delta t$ that satisfies this.
Building Insulation Design: Engineers use this exact 1D analysis to model heat transfer through walls. By simulating transient conditions (like a hot day turning into a cool night), they can select the right insulation material (low $\alpha$) and thickness to maintain comfortable indoor temperatures and reduce energy costs.
Electronic Cooling: When a computer chip powers on, it generates heat in a pulse. Transient thermal analysis predicts how quickly that heat will diffuse through the chip package and into the heat sink. This prevents overheating and ensures reliable performance during sudden computational loads.
Food Processing & Safety: In canning or pasteurization, it's critical to ensure the coldest point inside the food reaches a sufficient temperature for a specific time to kill bacteria. 1D transient models help determine the required processing time for different food geometries and materials.
Geothermal Energy Systems: The design of ground-source heat pumps relies on understanding how heat extracted from (or injected into) the ground diffuses through the soil over days and seasons. Transient models inform the spacing and depth of underground piping loops for efficient, sustainable heating and cooling.
First, do not confuse "thermal diffusivity" with "thermal conductivity". The "thermal diffusivity α" you directly adjust in the simulator determines the "speed" of temperature change. On the other hand, the "thermal conductivity λ" that appears on the backside in convection conditions is the very "ease of heat flow" itself. For example, glass wool insulation has a very small thermal conductivity (it does not conduct heat well), which consequently results in a small thermal diffusivity and a slow temperature change. If you don't understand this difference, you will be confused when looking at material data sheets to set parameters.
Next, the value of the heat transfer coefficient h in "convection" conditions is critical. It's fine to play with the default values, but to use this for practical work, investigating appropriate values is essential. For instance, the order of magnitude is completely different: for natural convection (air) it's about 5–25 W/(m²·K), for forced convection (air by fan) 25–250 W/(m²·K), and for water cooling 500–10000 W/(m²·K). If you uniformly set this to "let's say 100," you will get results far removed from reality.
Finally, always be mindful of the limitations of the 1D model. This tool is optimal for analyzing the "thickness direction" of rods or thick plates, but in reality, heat spreads three-dimensionally. For example, heat generated by a chip on a smartphone substrate also spreads within the plane of the substrate (2D). Keep in mind that the 1D model is a "first approximation" for understanding the "primary heat flow path" or the "representative behavior in a cross-section."
This calculation of 1D unsteady heat conduction is the foundation of the universal physical process of "diffusion". Therefore, its mathematical form is very similar to that in many other engineering fields beyond heat conduction, and you can apply the way of thinking.
First, "mass diffusion" in materials engineering and chemical engineering. If you replace the temperature T in the heat conduction equation with concentration C, and the thermal diffusivity α with the diffusion coefficient D, it becomes "Fick's second law." This forms the basis for simulating processes like carbon penetration into metal surfaces (carburizing) or impurity diffusion in semiconductor manufacturing.
Next, "ground heat transfer" and "hydration heat analysis of concrete" in civil and geotechnical engineering. The ground has enormous heat capacity, so for designing ground-source heat pumps, predicting the unsteady ground temperature distribution due to seasonal fluctuations is crucial. Also, for large-scale concrete structures like dams, it's necessary to track the detailed time-dependent change in internal temperature distribution to prevent cracking caused by heat generation during solidification (hydration heat) and subsequent cooling.
Furthermore, it is also related to "signal degradation in transmission lines" in electrical engineering. There is a phenomenon where signals become delayed and blurred when cables or substrate wiring are made long, and the equation describing this is also a diffusion-type equation. Thinking of voltage or current "diffusing" instead of heat may help you understand it intuitively.
Once you are comfortable with this simulator, as a next step, try touching on the concepts of "discretization" and "numerical solution methods". Computers cannot solve continuous differential equations directly. What they do is divide the rod into many small cells (mesh), split time into fine steps, and perform approximate calculations. This method is called the "finite difference method." For example, the first step is approximating the time derivative in the heat conduction equation as $$\frac{\partial T}{\partial t} \approx \frac{T_{\text{new}} - T_{\text{old}}}{\Delta t}$$. Understanding this concept will allow you to discuss the accuracy of simulation results and computation time more deeply.
Mathematically, learning about the classification of partial differential equations will broaden your perspective. The equation dealt with here is a "parabolic" partial differential equation. In contrast, there are "hyperbolic" equations representing oscillations and "elliptic" equations representing static fields. Their solution methods and properties differ, so knowing the differences becomes powerful foundational knowledge for mastering more complex CAE software.
As a practical next topic, I recommend moving on to "2D version heat conduction simulation". Moving from 1D to 2D allows you to handle richer, more realistic phenomena such as heat spreading across a plane and "interface conditions" where different materials meet. Once you understand that, you should greatly enhance your ability to interpret the output results of commercial, full-fledged CAE software.