Nanyang Technological University
A GPU-accelerated differentiable finite volume framework for heat conduction and inverse heat transfer analysis
Abstract
dc:description.abstractTraditional computational fluid dynamics (CFD) and heat transfer solvers are predominantly executed on Central Processing Unit (CPU) platforms. While these methods are accurate and robust, their computational efficiency and scalability are increasingly challenged by the growing demand for large-scale simulations and integration with artificial intelligence (AI) and machine learning (ML) frameworks. Graphics Processing Units (GPUs), with their massive parallel computing capability, provide an effective solution for accelerating scientific computing. Motivated by these developments, this dissertation presents a GPU-accelerated finite-volume-to-convolution (FVM-CNN) solver for three-dimensional transient heat conduction problems in various geometries by exploiting the mathematical equivalence between the finite volume discretisation of the Laplacian operator on structured grids and discrete convolution operations. The proposed framework embeds the finite volume stencil coefficients directly into convolutional layers implemented in PyTorch, thereby preserving the deterministic and physically interpretable characteristics of the classical finite volume method while enabling native GPU acceleration, automatic differentiation, and efficient tensor-based computation without any network training. The numerical framework incorporates ghost-cell treatments for Dirichlet, Neumann, and Robin boundary conditions, an explicit second-order Runge–Kutta time integration scheme, and a volumetric correction strategy to accurately model heat conduction across interfaces between different materials. The solver is first verified against analytical benchmark solutions for two-dimensional conduction problems and subsequently validated with ANSYS Fluent for three-dimensional block and finned aluminium heat sink, respectively. Excellent agreement is achieved, with temperature differences below 0.13% and a Grid Convergence Index (GCI) of less than 0.02%, demonstrating the accuracy and robustness of the proposed framework. The validated solver is then applied to simulate transient heat conduction in a nine-fin aluminium heat sink. On a computational grid containing 512 000 cells, the GPU implementation achieves approximately a sevenfold speedup over the equivalent CPU implementation while maintaining comparable numerical accuracy. Crucially, this acceleration grows with mesh resolution rather than remaining constant: the GPU is marginally slower than the CPU on the coarsest grid of 64 000 cells (0.69×), rises to 6.8× at 512 000 cells, and exceeds sixteenfold (16.3×) on the finest grid of 1 728 000 cells. This increasing performance advantage with problem size highlights the scalability and i efficiency of the proposed approach for large-scale simulations. To demonstrate the differentiable capability of the proposed framework, the FVM-CNN solver is further applied to an inverse heat transfer problem involving the estimation of an unknown Robin boundary heat transfer coefficient from sparse temperature measurements. By exploiting PyTorch’s reverse-mode automatic differentiation, gradients are propagated through the complete forward simulation, including all Runge–Kutta time-stepping operations, eliminating the need for adjoint solvers or manual sensitivity analysis. The proposed framework accurately reconstructs the heat transfer coefficient using measurements from as few as six sensors (0.6% of the computational cells), yielding a recovered value of 10.02 ± 0.07 W/(m2 ·K) for a true value of 10 W/(m2 ·K), corresponding to a relative bias of approximately 0.2%. Increasing the number of sensors from 6 to 100 further reduces the estimation uncertainty from ±0.090 to ±0.019 W/(m2 ·K) while maintaining a relative bias below 0.33%, with the uncertainty approaching the Cramer–Rao lower bound. These results demonstrate the robustness, ´ accuracy, and scalability of the proposed differentiable finite volume framework for inverse heat transfer analysis and parameter estimation. This work demonstrates that modern deep learning frameworks can serve as efficient computational backends for classical finite volume solvers without sacrificing numerical accuracy or physical interpretability. The proposed FVM-CNN framework provides a foundation for next-generation GPU-native scientific computing and offers significant potential for differentiable physics, inverse heat transfer analysis, design optimisation, and coupled multi-physics simulations.
Degree
thesis:*- College dc:contributor.school
- School of Mechanical and Aerospace Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Liu, Xin
- Advisor dc:contributor.supervisor
-
- Li Hongying
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/221517