About
ryujin is a high-performance, high-order collocation-type finite element solver for hyperbolic conservation equations, in particular the compressible Euler and Navier-Stokes equations of gas dynamics. The discretization builds on the invariant-domain preserving framework of Guermond and Popov: a first-order graph-viscosity update that keeps the numerical solution in the set of admissible states of the system, and the convex limiting technique that recovers second-order accuracy from it while enforcing the same local bounds. As a consequence the solver maintains the physical invariants of the underlying equations and is stable without ad-hoc tuning parameters.
The code is written in C++ on top of the deal.II finite element library. It runs on distributed-memory clusters via MPI, uses thread parallelism and explicit SIMD vectorization on the host, and executes its compute kernels on GPUs through deal.II and Kokkos.
License
Section titled “License”ryujin is released under the terms of the Apache License 2.0 with LLVM Exception. Part of the contributed source code, third-party dependencies, and header libraries are covered by different open source licenses; see COPYING.md for details. Contributions are governed by the Developer Certificate of Origin 1.1, as described in CONTRIBUTING.md.
References
Section titled “References”If you use ryujin for an academic publication, please cite some of the following references. The first group describes the numerical method and its implementation in ryujin; the second lists further work computed with the code; the third covers the mathematical framework the solver is based on.
Method and implementation
- Structure-preserving finite-element approximations of the magnetic Euler-Poisson equationsJournal of Computational Physics 566 (2026), 115269
@article{Hoffart2026, author = {Jordan Hoffart and Matthias Maier and John Shadid and Ignacio Tomas}, title = {{Structure-preserving finite-element approximations of the magnetic Euler-Poisson equations}}, journal = {Journal of Computational Physics}, year = {2026}, volume = {566}, pages = {115269}, doi = {10.1016/j.jcp.2026.115269}, eprint = {2510.11808}, archiveprefix = {arXiv}, } - A conservative invariant-domain preserving projection technique for hyperbolic systems under adaptive mesh refinementSIAM Journal on Scientific Computing, accepted 2026
@article{Harmon2026, author = {Jake Harmon and Martin Kronbichler and Matthias Maier and Eric J. Tovar}, title = {{A conservative invariant-domain preserving projection technique for hyperbolic systems under adaptive mesh refinement}}, journal = {SIAM Journal on Scientific Computing}, year = {2026}, eprint = {2507.18717}, archiveprefix = {arXiv}, note = {Accepted}, } - Graph-based methods for hyperbolic systems of conservation laws using discontinuous space discretizationsCommunications in Computational Physics 38 (2025), 74–108
@article{Kronbichler2025, author = {Martin Kronbichler and Matthias Maier and Ignacio Tomas}, title = {{Graph-based methods for hyperbolic systems of conservation laws using discontinuous space discretizations}}, journal = {Communications in Computational Physics}, year = {2025}, volume = {38}, pages = {74--108}, doi = {10.4208/cicp.OA-2024-0225}, eprint = {2402.04514}, archiveprefix = {arXiv}, } - A high-order explicit Runge-Kutta approximation technique for the shallow water equationsComputers & Fluids 288 (2025), 106493
@article{Guermond2025, author = {Jean-Luc Guermond and Matthias Maier and Eric J. Tovar}, title = {{A high-order explicit Runge-Kutta approximation technique for the shallow water equations}}, journal = {Computers \& Fluids}, year = {2025}, volume = {288}, pages = {106493}, doi = {10.1016/j.compfluid.2024.106493}, eprint = {2403.17123}, archiveprefix = {arXiv}, } - First-order greedy invariant-domain preserving approximation for hyperbolic problems: scalar conservation laws, and p-systemJournal of Scientific Computing 100 (2024), 46
@article{Guermond2024, author = {Jean-Luc Guermond and Matthias Maier and Bojan Popov and Laura Saavedra and Ignacio Tomas}, title = {{First-order greedy invariant-domain preserving approximation for hyperbolic problems: scalar conservation laws, and p-system}}, journal = {Journal of Scientific Computing}, year = {2024}, volume = {100}, pages = {46}, doi = {10.1007/s10915-024-02592-4}, eprint = {2310.01713}, archiveprefix = {arXiv}, } - Robust second-order approximation of the compressible Euler equations with an arbitrary equation of stateJournal of Computational Physics 478 (2023), 111926
@article{Clayton2023, author = {Bennett Clayton and Jean-Luc Guermond and Matthias Maier and Bojan Popov and Eric J. Tovar}, title = {{Robust second-order approximation of the compressible Euler equations with an arbitrary equation of state}}, journal = {Journal of Computational Physics}, year = {2023}, volume = {478}, pages = {111926}, doi = {10.1016/j.jcp.2023.111926}, eprint = {2207.12832}, archiveprefix = {arXiv}, } - On the implementation of a robust and efficient finite element-based parallel solver for the compressible Navier-Stokes equationsComputer Methods in Applied Mechanics and Engineering 389 (2022), 114250
@article{Guermond2022, author = {Jean-Luc Guermond and Martin Kronbichler and Matthias Maier and Bojan Popov and Ignacio Tomas}, title = {{On the implementation of a robust and efficient finite element-based parallel solver for the compressible Navier-Stokes equations}}, journal = {Computer Methods in Applied Mechanics and Engineering}, year = {2022}, volume = {389}, pages = {114250}, doi = {10.1016/j.cma.2021.114250}, eprint = {2106.02159}, archiveprefix = {arXiv}, } - Efficient parallel 3D computation of the compressible Euler equations with an invariant-domain preserving second-order finite-element schemeACM Transactions on Parallel Computing 8(3) (2021), 16:1–30
@article{Maier2021, author = {Matthias Maier and Martin Kronbichler}, title = {{Efficient parallel 3D computation of the compressible Euler equations with an invariant-domain preserving second-order finite-element scheme}}, journal = {ACM Transactions on Parallel Computing}, year = {2021}, volume = {8}, number = {3}, pages = {16:1--30}, doi = {10.1145/3470637}, eprint = {2007.00094}, archiveprefix = {arXiv}, } - Second-order invariant domain preserving approximation of the compressible Navier-Stokes equationsComputer Methods in Applied Mechanics and Engineering 375 (2021), 113608
@article{Guermond2021, author = {Jean-Luc Guermond and Matthias Maier and Bojan Popov and Ignacio Tomas}, title = {{Second-order invariant domain preserving approximation of the compressible Navier-Stokes equations}}, journal = {Computer Methods in Applied Mechanics and Engineering}, year = {2021}, volume = {375}, pages = {113608}, doi = {10.1016/j.cma.2020.113608}, eprint = {2009.06022}, archiveprefix = {arXiv}, }
Further publications using ryujin
- Guaranteed wave-speed bounds for the compressible Euler equations with a composite equation of stateSubmitted, 2026
@unpublished{Favrie2026, author = {Nicolas Favrie and Matthias Maier}, title = {{Guaranteed wave-speed bounds for the compressible Euler equations with a composite equation of state}}, year = {2026}, eprint = {2609.14287}, archiveprefix = {arXiv}, note = {Submitted}, } - Well-balanced second-order approximation of the compressible atmospheric Euler equationsSubmitted, 2026
@unpublished{Farris2026, author = {Crystal Farris and Matthias Maier and Eric J. Tovar}, title = {{Well-balanced second-order approximation of the compressible atmospheric Euler equations}}, year = {2026}, eprint = {2606.19764}, archiveprefix = {arXiv}, note = {Submitted}, } - Invariant-domain preserving IMEX schemes for the nonequilibrium gray radiation-hydrodynamics equations, Part ISubmitted, 2026
@unpublished{Guermond2026, author = {Jean-Luc Guermond and Eric J. Tovar}, title = {{Invariant-domain preserving IMEX schemes for the nonequilibrium gray radiation-hydrodynamics equations, Part I}}, year = {2026}, eprint = {2602.08291}, archiveprefix = {arXiv}, note = {Submitted}, } - Preserving the minimum principle on the entropy for the compressible Euler equations with general equations of stateJournal of Scientific Computing 108(3) (2026), 70
@article{Clayton2026a, author = {Bennett Clayton and Eric J. Tovar}, title = {{Preserving the minimum principle on the entropy for the compressible Euler equations with general equations of state}}, journal = {Journal of Scientific Computing}, year = {2026}, volume = {108}, number = {3}, pages = {70}, doi = {10.1007/s10915-026-03362-0}, eprint = {2503.10612}, archiveprefix = {arXiv}, } - Second-order invariant-domain preserving approximation to the multi-species Euler equationsComputers & Fluids 317 (2026), 107159
@article{Clayton2026b, author = {Bennett Clayton and Tarik Dzanic and Eric J. Tovar}, title = {{Second-order invariant-domain preserving approximation to the multi-species Euler equations}}, journal = {Computers \& Fluids}, year = {2026}, volume = {317}, pages = {107159}, doi = {10.1016/j.compfluid.2026.107159}, eprint = {2505.09581}, archiveprefix = {arXiv}, }
Mathematical foundations
- Second-order invariant domain preserving approximation of the Euler equations using convex limitingSIAM Journal on Scientific Computing 40(5) (2018), A3211–A3239
@article{Guermond2018, author = {Jean-Luc Guermond and Murtazo Nazarov and Bojan Popov and Ignacio Tomas}, title = {{Second-order invariant domain preserving approximation of the Euler equations using convex limiting}}, journal = {SIAM Journal on Scientific Computing}, year = {2018}, volume = {40}, number = {5}, pages = {A3211--A3239}, doi = {10.1137/17M1149961}, eprint = {1710.00417}, archiveprefix = {arXiv}, } - Invariant domains and first-order continuous finite element approximation for hyperbolic systemsSIAM Journal on Numerical Analysis 54(4) (2016), 2466–2489
@article{Guermond2016, author = {Jean-Luc Guermond and Bojan Popov}, title = {{Invariant domains and first-order continuous finite element approximation for hyperbolic systems}}, journal = {SIAM Journal on Numerical Analysis}, year = {2016}, volume = {54}, number = {4}, pages = {2466--2489}, doi = {10.1137/16M1074291}, eprint = {1509.07461}, archiveprefix = {arXiv}, }
Funding
Section titled “Funding”Development of ryujin has been supported by the following grants.
- DMS 2045636, National Science Foundation, 2021–2027
- DMS 1912847, National Science Foundation, 2019–2022
- FA9550-23-1-0007, Air Force Office of Scientific Research, 2023–2026