Skip to content

Arpit-Babbar/paper_es_crk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compact Runge-Kutta flux reconstruction methods with entropy and/or kinetic energy preserving fluxes

License: MIT DOI

This repository contains information and code to reproduce the results presented in the article

@online{babbar2026crkes,
  title={Compact Runge-Kutta flux reconstruction methods with entropy and/or kinetic energy preserving fluxes},
  author={Babbar, Arpit and Chen, Qifan and Ranocha, Hendrik},
  year={2026},
  month={4},
  eprint={2604.02125},
  eprinttype={arxiv},
  eprintclass={math.NA},
  doi={10.48550/arXiv.2604.02125}
}

If you find these results useful, please cite the article mentioned above. If you use the implementations provided here, please also cite this repository as

@misc{babbar2026crkes,
  title={Reproducibility repository for
         "Compact Runge-Kutta flux reconstruction methods with entropy and/or kinetic energy preserving fluxes"},
  author={Babbar, Arpit and Chen, Qifan and Ranocha, Hendrik},
  year={2026},
  howpublished={\url{https://github.com/Arpit-Babbar/paper_crk_es}},
  doi={10.5281/zenodo.19388796}
}

Abstract

Compact Runge-Kutta (cRK) methods are a class of high order methods for solving hyperbolic conservation laws characterized by their compact stencil including only immediate neighboring finite elements. A Compact Runge-Kutta flux reconstruction (cRKFR) method for solver hyperbolic conservation laws was introduced in [Babbar, A., Chen, Q., Journal of Scientific Computing, 2025] which uses a time average flux formulation to perform evolution using a single numerical flux computation at each step, making it a single stage method. Entropy or kinetic energy preserving numerical fluxes are often used for construction of high order entropy stable or kinetic energy preserving methods for hyperbolic conservation laws, and are known to enhance the robustness of numerical methods for under-resolved simulations. In this work, we show how these fluxes can be incorporated into the cRKFR framework for general hyperbolic equations that consist of fluxes and non-conservative products. We test the effectiveness of this new class of methods through numerical experiments for the compressible Euler equations, magnetohydronamics (MHD) equations and multi-ion MHD equations. It is observed that the application of entropy or kinetic energy preserving fluxes enhances the robustness of the cRKFR methods.

Numerical experiments

In order to generate the results from this repository, you need to install Julia. We recommend using juliaup, as detailed in the official website https://julialang.org.

The results have been generated using Julia version 1.10.10, and we recommend installing the same. Once you have installed Julia, you can clone this repository, enter this directory and start the executable julia with the following steps

git clone https://github.com/Arpit-Babbar/jin_xin_shock_capturing
cd jin_xin_shock_capturing
julia --project=. --threads=auto

Then enter the following commands to generate all the data, and plot the 1-D results

julia> include("run_all_and_plot_convergence.jl") # Generate all data

If you wish to visualize the 2D figures, you need ParaView and its command line version pvpython. Then, in your shell, you can run

bash plot2d.sh

All the figures are now ready and available in the home directory of the repository

Authors

License

The code in this repository is published under the MIT license, see the LICENSE file.

Disclaimer

Everything is provided as is and without warranty. Use at your own risk!

About

Reproducibility repository for the paper "Compact Runge-Kutta flux reconstruction methods with entropy and/or kinetic energy preserving fluxes"

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors