This library numerically solves the motion of moving rigid particles in two- and three-dimensional Cartesian domains using the finite-difference and the immersed boundary methods.
This is built on top of SimpleNSSolver. Please visit it and check the dependency there.
Prepare workplace
mkdir -p /path/to/your/directory cd /path/to/your/directory
Get source
git clone --recurse-submodules https://github.com/NaokiHori/SimpleIBMSolver cd SimpleIBMSolver
Set initial condition
Here
Python3
is used to initialise the flow fields conveniently. One can giveNPY
files in different way underinitial_condition/output/
.cd initial_condition make output bash exec.sh cd ..
Build solver
make output make all
Run
bash exec.sh
The immersed boundary method and the collision model is based on a publication with some modifications.