Variational discretizations of viscous and resistive magnetohydrodynamics using structure-preserving finite elements
Valentin Carlier
TL;DR
This work develops a structure-preserving, variational discretization for viscous and resistive magnetohydrodynamics (VRMHD) by combining a generalized Lagrange-d'Alembert principle with a metriplectic reformulation. Spatial discretization uses finite element exterior calculus (FEEC) spaces to preserve invariants such as total mass, energy, and the solenoidal constraint $\nabla\cdot\mathbf{B}=0$, while a discrete metriplectic formulation guides a bracket-splitting time integration (Strang splitting) that decouples conservative and dissipative dynamics. Artificial viscosity and resistivity are adaptively scaled with mesh size to stabilize high-gradient regions without erasing important physics. Numerical tests include dispersion relations, ideal and viscoresistive Orszag–Tang vortices, Kelvin–Helmholtz instability, TAEs in tokamak-like geometries, current sheets, and resistive kink modes, demonstrating accurate wave/shock/instability capture and preservation of key invariants, with planned extensions to axis treatment and scalability for fusion-relevant simulations.
Abstract
We propose a novel structure preserving discretization for viscous and resistive magnetohydrodynamics. We follow the recent line of work on discrete least action principle for fluid and plasma equation, incorporating the recent advances to model dissipative phenomena through a generalized Lagrange-d Alembert constrained variational principle. We prove that our semi-discrete scheme is equivalent to a metriplectic system and use this property to propose a Poisson splitting time integration. The resulting approximation preserves mass, energy and the divergence constraint of the magnetic field. We then show some numerical results obtained with our approach. We first test our scheme on simple academic test to compare the results with established methodologies, and then focus specifically on the simulation of plasma instabilities, with some tests on non Cartesian geometries to validate our discretization in the scope of tokamak instabilities.
