1D Shock Tube simulator demonstrating the use of SplitFXM++
The user is directed to SplitFXM README for further details and documentation
This can be most easily used with VSCode. There is a tasks.json that contains the build and run commands that can be invoked directly from the IDE.
The driver program is in main.cpp which can be compiled and executed using Bazel.
The build system is configured for macOS 26.0 on Apple Silicon. It requires:
- LLVM 14+: Installed via Homebrew (
brew install llvm). - Bazel: For building and dependency management.
Clone the required dependencies into the third-party directory:
- SplitFXM++
- SplitOPS++
- SplitDAE++
- SplitNewton++
- Cantera (Optional) - Add the
includeandlibfolders in thecanterasubfolder
Cantera support is disabled by default. To enable it:
- Command line: Run
bazel build --define=SPLITFXM_USE_CANTERA=true //:main - Config: Uncomment the relevant line in
.bazelrc.
The code was run with
Please direct your queries to gpavanb1 for any questions.
Do join the SplitFXM Google Group or send us an email for discussions and updates!
