04 - 2D Heat Diffusion (stationary)
This exercise focuses on solving the stationary two-dimensional heat diffusion equation with internal heat generation. The problem setup resembles a simplified model of localized heat sources, such as radioactive waste disposal in a salt dome. The stationary case is particularly useful for introducing matrix assembly and boundary-condition handling in two dimensions.
The main objectives are:
- Formulating the stationary heat diffusion equation in two dimensions,
- Discretizing the equation on a structured grid using finite differences,
- Implementing boundary conditions (Dirichlet and Neumann) with ghost nodes,
- Assembling and solving the resulting linear system of equations, and
- Visualizing the stationary temperature field.
The resulting stationary solution is illustrated in Figure 1.
Figure 1. Stationary two-dimensional temperature distribution.