This library numerically simulates the motion of rigid particles in two- and three-dimensional Cartesian domains using the finite-difference and immersed boundary methods.
This solver is built on top of SimpleNSSolver
.
Please check its repository for dependency details.
-
Set up your workspace
mkdir -p /path/to/your/directory cd /path/to/your/directory
-
Clone the repository
git clone --recurse-submodules https://github.com/NaokiHori/SimpleIBMSolver cd SimpleIBMSolver
-
Set the initial condition
Python 3 is used to conveniently initialize the flow fields. Alternatively,
NPY
files can be provided in a different manner underinitial_condition/output/
.cd initial_condition make output bash exec.sh cd ..
-
Build the solver
make output make all
-
Run the simulation
bash exec.sh
The immersed boundary method and the collision model are based on this publication with some modifications.