[Paper Review] Space-time discretization of the heat equation. A concise Matlab implementation
This paper presents a concise, stable, and parallelizable Matlab implementation of a space-time Petrov-Galerkin finite element method for the heat equation, enabling simultaneous space-time discretization via a single linear system solved iteratively. The approach leverages Kronecker product structures and efficient preconditioning, achieving optimal convergence and robust performance across nonuniform temporal meshes and varying spatial discretizations.
A concise Matlab implementation of a stable parallelizable space-time Petrov-Galerkin discretization for parabolic evolution equations is given. Emphasis is on reusability of spatial finite element codes.
Motivation & Objective
- To develop a modular, stable, and parallelizable space-time discretization method for parabolic evolution equations, particularly the heat equation.
- To enable reuse of existing spatial finite element codes by decoupling space and time discretization in a unified variational framework.
- To provide a compact Matlab implementation that supports nonuniform temporal grids, time-dependent inputs, and iterative solution with global accuracy control.
- To demonstrate the efficiency and robustness of the method through numerical experiments on structured and unstructured spatial domains.
Proposed method
- A space-time variational formulation is derived by testing the weak form of the heat equation over space-time domains, combining initial and boundary conditions into a single functional setting.
- The method employs a Petrov-Galerkin framework with trial and test spaces defined via tensor-product finite element bases in space and time, ensuring stability and quasi-optimality.
- Norm-inducing operators are introduced to define the discrete solution norm, and their matrix representations are assembled using Kronecker product structures for computational efficiency.
- The resulting linear system is solved iteratively using a generalized LSQR algorithm, preconditioned via the inverse of the norm-inducing operator matrices.
- The preconditioner exploits the Kronecker structure of the system matrix, enabling efficient matrix-vector products and reducing condition numbers.
- The implementation is modular: spatial FEM codes can be reused by plugging in the spatial discretization, while time discretization is handled independently through temporal finite elements.
Experimental results
Research questions
- RQ1Can a stable, parallelizable space-time finite element method be implemented in a few lines of Matlab while maintaining modularity with existing spatial FEM codes?
- RQ2How does the condition number and iteration count of the iterative solver depend on temporal mesh refinement and choice of test space in the Petrov-Galerkin framework?
- RQ3To what extent does the method outperform conventional time-stepping schemes like Crank-Nicolson in terms of solution time and scalability on parallel architectures?
- RQ4Can the method handle nonuniform temporal meshes and time-dependent inputs without sacrificing stability or convergence?
Key findings
- For Type 1 temporal subspaces (no test space refinement), the number of generalized LSQR iterations initially increases with temporal mesh size but eventually decreases due to a drop in condition number.
- For Type 2 temporal subspaces (with test space refinement), the condition number of the preconditioned system remains approximately constant at 2, regardless of mesh size, leading to consistently low iteration counts.
- The method achieves optimal convergence in the space-time norm, with accuracy comparable to high-order time-stepping schemes, even when using low-order temporal finite elements.
- The implementation is competitive in execution time but is designed to fully exploit massively parallel architectures when combined with multigrid or wavelet-based preconditioners.
- The use of a nonlocal transformation for nonuniform meshes introduces communication overhead in parallel settings, suggesting that uniform or dyadic meshes are preferable for scalability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.