Enhanced preconditioner for JOREK MHD solver. (22nd September 2021) - Holod, I
Abstract: The JOREK extended magneto-hydrodynamic (MHD) code is a widely used simulation tool for studying the non-linear dynamics of large-scale instabilities in divertor tokamak plasmas. The code is usually run with a fully implicit time integration allowing to use large time steps independent of a CFL criterion. This is particularly important due to the strong scale separation between transport processes and slowly growing resistive modes in contrast to fast time scales associated with MHD waves and fast parallel heat transport. For solving the resulting large sparse-matrix system iteratively in each time step, a preconditioner based on the assumption of weak coupling between the toroidal harmonics is applied. The solution for each harmonic matrix is determined independently in this preconditioner using a direct solver. In this article, a set of developments regarding the JOREK solver and preconditioner is described, which lead to overall significant benefits for large production simulations. The developments include the implementation of a complex solver interface for the preconditioner leading to the general reduction of memory consumption. The most significant development presented consists in a generalization of the physics based preconditioner to 'mode groups', which allows to account for the dominant interactions between toroidal Fourier modes in highly non-linear simulations. At the cost of a moderate increase of memory consumption, the technique can strongly enhance convergence in suitable cases allowing to use significantly larger time steps, and thus improving the overall time performance by more than a factor of 3.