Arbitrary Order Energy and Enstrophy Conserving Finite Element Methods for 2D Incompressible Fluid Dynamics and Drift-Reduced Magnetohydrodynamics

Milan Holec, Ben Zhu, Ilon Joseph, Christopher J. Vogl, Ben S. Southworth, Alejandro Campos, Andris M. Dimits, Will E. PaznerarXiv 2022 · OpenReview

TL;DR

This paper introduces novel finite element methods that precisely conserve energy and enstrophy in simulations of 2D fluid dynamics and plasma physics. By combining a structure-preserving spatial discretization with symplectic time integration, these methods achieve machine-precision conservation and offer significant speedups over traditional explicit schemes, while also providing better control over turbulent spectra.

What Problem Does This Paper Address?

Accurately simulating fluid dynamics and plasma physics over long time scales hinges on preserving fundamental physical quantities like energy and enstrophy. Traditional numerical methods often struggle with this, leading to artificial dissipation or energy gain, especially in turbulent flows. This paper tackles the challenge of developing numerical schemes that exactly conserve these crucial invariants, particularly for the 2D incompressible Navier-Stokes and drift-reduced magnetohydrodynamic (DRMHD) equations, which are fundamental to understanding phenomena from weather patterns to fusion plasmas.

Methods

The core innovation lies in the combination of two key techniques:

  • Arbitrary-Order Finite Element Exterior Calculus (FEEC): This framework allows for the construction of spatial discretizations that inherently satisfy discrete versions of vector calculus theorems. By carefully choosing finite element spaces for the variables (like velocity and vorticity), the spatial discretization itself can be made to conserve energy and enstrophy. Both continuous and discontinuous Galerkin (DG) formulations are explored.
  • Symplectic Time Integration: For quadratic invariants like energy and enstrophy, standard time integration schemes often fail to conserve them exactly. The paper leverages the theory of geometric integration, highlighting that generally symplectic time integrators, such as the implicit midpoint method, are necessary for exact conservation. The DG formulation is also shown to allow for upwinding, which introduces controlled dissipation of enstrophy while still conserving energy.

Datasets

Not discussed in the paper. The paper focuses on theoretical development and numerical verification using established test cases and benchmarks.

Key Insights and Ideas

  • Conservation is a Joint Effort: Exact conservation of quadratic invariants (like energy and enstrophy) requires both a conservative spatial discretization and a symplectic time integrator. Neither alone is sufficient.
  • Symplectic Methods Offer Speed: The implicit midpoint method, a symplectic integrator, provides an order of magnitude speedup compared to explicit schemes while achieving exact conservation. This is a significant practical advantage.
  • Turbulence Control is Tricky: While exact conservation is desirable, it can lead to an unphysical pile-up of energy at high wavenumbers (small scales) in turbulent simulations.
  • Upwinding as a Solution: The DG formulation's ability to incorporate upwinding offers a way to control this high-wavenumber energy pile-up by dissipating enstrophy, providing a better balance between accuracy and spectral control.

Key Results

  • The proposed arbitrary-order FEEC methods, when coupled with symplectic time integrators (specifically the implicit midpoint method), achieve machine-precision conservation of energy and enstrophy for 2D incompressible Navier-Stokes and DRMHD equations.
  • The implicit midpoint method offers a significant speedup (approximately 10x) compared to explicit schemes while maintaining exact conservation.
  • Numerical simulations of 2D turbulence show that while conservative schemes accurately capture the physics, they can lead to excessive power at high wavenumbers.
  • Introducing upwinding in the DG formulation effectively controls this high-wavenumber spectrum, offering a better compromise for turbulent simulations.
  • The methods were verified against semi-analytic linear eigensolvers and the established Global Drift Ballooning (GDB) code, showing good agreement.

Limitations and Future Work

  • High-Wavenumber Pile-up: A key limitation identified is the tendency for conservative schemes to accumulate excessive energy at high wavenumbers in turbulent flows. The paper proposes upwinding as a solution, but further investigation into controlling this spectrum is suggested.
  • Computational Cost: While symplectic methods offer speedups, fully implicit methods can still be computationally demanding, especially for large-scale simulations. The paper mentions that recent algorithmic developments make these methods more tractable.
  • Future Work: The authors suggest exploring variational integrators and further investigating methods to control the high-k spectrum. The paper also hints at the potential for these methods in more complex scenarios, such as 3D turbulence.

Summary updated

Abstract

Maintaining conservation laws in the fully discrete setting is critical for accurate long-time behavior of numerical simulations and requires accounting for discrete conservation properties in both space and time. This paper derives arbitrary order finite element exterior calculus spatial discretizations for the two-dimensional (2D) Navier-Stokes and drift-reduced magnetohydrodynamic equations that conserve both energy and enstrophy to machine precision when coupled with generally symplectic time-integration methods. Both continuous and discontinuous-Galerkin (DG) weak formulations can ensure conservation, but only generally symplectic time integration methods, such as the implicit midpoint method, permit exact conservation in time. Moreover, the symplectic implicit midpoint method yields an order of magnitude speedup over explicit schemes. The methods are implemented using the MFEM library and the solutions are verified for an extensive suite of 2D neutral fluid turbulence test problems. Numerical solutions are verified via comparison to a semi-analytic linear eigensolver as well as to the finite difference Global Drift Ballooning (GDB) code. However, it is found that turbulent simulations that conserve both energy and enstrophy tend to have too much power at high wavenumber and that this part of the spectrum should be controlled by reintroducing artificial dissipation. The DG formulation allows upwinding of the advection operator which dissipates enstrophy while still maintaining conservation of energy. Coupling upwinded DG with implicit symplectic integration appears to offer the best compromise of allowing mid-range wavenumbers to reach the appropriate amplitude while still controlling the high-wavenumber part of the spectrum.
BibTeX
@misc{holec2022arbitrary,
  author = {Milan Holec and Ben Zhu and Ilon Joseph and Christopher J. Vogl and Ben S. Southworth and Alejandro Campos and Andris M. Dimits and Will E. Pazner},
  title = {{Arbitrary Order Energy and Enstrophy Conserving Finite Element Methods for 2D Incompressible Fluid Dynamics and Drift-Reduced Magnetohydrodynamics}},
  year = {2022},
  eprint = {2202.13022},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.13022},
}
Figure