Abstract

We report on recent extensions and improvements to the Legolas code, which is an open-source, finite element-based numerical framework to solve the linearised (magneto)hydrodynamic equations for a three-dimensional force- and thermally balanced state with a nontrivial one-dimensional variation. The standard Fourier modes imposed give rise to a complex, generalised non-Hermitian eigenvalue problem which is solved to quantify all linear wave modes of the given system in either Cartesian or cylindrical geometries. The framework now supports subsystems of the eight linearised MHD equations, allowing for pure hydrodynamic setups, only one-dimensional density/temperature/velocity variations, or the option to treat specific closure relations. We discuss optimisations to the internal datastructure and eigenvalue solvers, showing a considerable performance increase in both execution time and memory usage. Additionally the code now has the capability to fully visualise eigenfunctions associated with given wave modes in multiple dimensions, which we apply to standard Kelvin-Helmholtz and Rayleigh-Taylor instabilities in hydrodynamics, thereby providing convincing links between linear stability analysis and the onset of non-linear phenomena.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call