https://quokka-astro.github.io/quokka/
Two-moment AMR radiation hydrodynamics (with self-gravity, particles, and chemistry) on CPUs/GPUs for astrophysics
https://quokka-astro.github.io/quokka/
adaptive-mesh-refinement astrochemistry astrophysics cuda gpu hip hydrodynamics particles rocm self-gravity
Last synced: 7 months ago
JSON representation
Two-moment AMR radiation hydrodynamics (with self-gravity, particles, and chemistry) on CPUs/GPUs for astrophysics
- Host: GitHub
- URL: https://quokka-astro.github.io/quokka/
- Owner: quokka-astro
- License: mit
- Created: 2020-02-07T03:26:54.000Z (over 5 years ago)
- Default Branch: development
- Last Pushed: 2025-01-13T06:11:16.000Z (9 months ago)
- Last Synced: 2025-01-16T04:26:56.612Z (9 months ago)
- Topics: adaptive-mesh-refinement, astrochemistry, astrophysics, cuda, gpu, hip, hydrodynamics, particles, rocm, self-gravity
- Language: C++
- Homepage: https://quokka-astro.github.io/quokka/
- Size: 40.8 MB
- Stars: 46
- Watchers: 5
- Forks: 14
- Open Issues: 110
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Citation: CITATION.cff
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://sonarcloud.io/dashboard?id=BenWibking_TwoMomentRad)
[](https://sonarcloud.io/dashboard?id=BenWibking_TwoMomentRad)
[](https://sonarcloud.io/dashboard?id=BenWibking_TwoMomentRad)
[](https://www.bestpractices.dev/projects/9489)
[](https://scorecard.dev/viewer/?uri=github.com/quokka-astro/quokka)
[](https://amrex-codes.github.io)
[](https://yt-project.org)# QUOKKA
*Quadrilateral, Umbra-producing, Orthogonal, Kangaroo-conserving Kode for Astrophysics!***The Quokka methods paper is now available: https://arxiv.org/abs/2110.01792**
**For detailed instructions on installing the code, please refer to the [Quokka Documentation](https://quokka-astro.github.io/quokka/index.html). You can start a [Discussion](https://github.com/BenWibking/quokka/discussions) for technical support, or open an [Issue](https://github.com/BenWibking/quokka/issues) for any bug reports.**
Quokka is a two-moment radiation hydrodynamics code that uses the piecewise-parabolic method, with AMR and subcycling in time. Runs on CPUs (MPI+vectorized) or NVIDIA GPUs (MPI+CUDA) with a single-source codebase. Written in C++17. (100% Fortran-free.)
Here is a [a Kelvin-Helmholz instability simulated with Quokka](https://vimeo.com/714653592) on a 512x512 uniform grid:

This is [a 3D Rayleigh-Taylor instability](https://vimeo.com/746363534) simulated on a $256^3$ grid:

Quokka also features advanced Adaptive Quokka Refinement:tm: technology:

## Dependencies
* C++ compiler (with C++17 support)
* CMake 3.16+
* Python 3.8+
* MPI library with GPU-aware support (OpenMPI, MPICH, or Cray MPI)
* HDF5 1.10+ (serial version)
* CUDA 11.7+ (optional, for NVIDIA GPUs)
* ROCm 6.3+ (optional, for AMD GPUs)
* ADIOS2 2.9+ with GPU-aware support (optional, for writing terabyte-sized or larger outputs)## Problems?
If you run into problems, please start a [Discussion](https://github.com/BenWibking/quokka/discussions) for technical support. If you discover a bug, please let us know by opening an [Issue](https://github.com/BenWibking/quokka/issues).