Modernized Moving Particle Semi-implicit/Simulation method code written in C++.
Note
See Documentation for more information
- Git
- cmake (newer than 3.9)
- C++ 17 compiler
- OpenMP 5.0 and above (optional)
- Doxygen and Graphviz (optional, for building documents)
- Generate build system
cmake -S . -B build
- Execute build
cmake --build build
- Create output directory if not exist
New-Item -ItemType Directory -Path result/dambreak -Force
- Remove old output files if exist
Remove-Item -Path $outputDir/* -Force -Recurse
- Run simulation
./build/mps.exe --setting input/dambreak/settings.yml --output result/dambreak 2> result/dambreak/error.log | Tee-Object -FilePath "result/dambreak/console.log"
- Create output directory if not exist
mkdir -p result/dambreak/
- Remove old output files if exist
rm -rf result/dambreak/*
- Run simulation
./build/mps --setting input/dambreak/settings.yml --output result/dambreak 2> result/dambreak/error.log | tee result/dambreak/console.log
Result files will be written in result/dambreak/vtu/***.vtu
.
Open these files in ParaView to see the result.
Note
Install dependencies as shown above for the first build
git submodule update --init doxygen-awesome-css
doxygen Doxyfile
- You can see the documents in
doxygen/html/index.html
. - If you want PDF files, you can use
make
command in thedoxygen/latex
directory (LaTeX is required).
Please ask the authors if you have any questions.
Read CONTRIBUTING.md for details.
MIT License
This project is under development.