This package provides an implementation of an HLL solver for the Euler equations. The purpose of the project is to support STCE's teaching efforts and research into differentiable programming.
The "simplest" set-up for a bow-shock simulation is shown at scripts/mwe.jl.
The process is as follows:
- Set
u0(x, p). - Choose bounds, grid size, a nondimensionalization scale, and starting parameters.
- Get a keyword dictionary for the simulation configuration.
- Start the simulation.
It is also possible to resume a simulation from an already-generated output file.
This package depends on
These packages can be accessed through STCE's Julia Registry, which can be added at the REPL via:
]registry add https://github.com/STCE-at-RWTH/STCEJuliaRegistryThe scripts directory contains scripts to generate data files for further analysis. The script files are most easily run by cd-ing to the project directory (where the repository is cloned, default Euler2D.jl) and using the following command:
julia --project scripts/script_name.jlThe cell-based simulation routines in this package support multithreading! To run a script with multiple threads (this is recommended), use
julia --project --threads=4 scripts/script_name.jlIf your machine many (or few...) cores available, you can adjust the --threads parameter up (or down...). Parallelism in this package is task-based, which means there are no restrictions on odd numbers of threads.
Documentation is on its way... the docstrings should be good enough (TM). As soon as I figure out how to use GH Actions for deploying docs, they will exist.