Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 1.8 KB

README.rst

File metadata and controls

78 lines (50 loc) · 1.8 KB

Simple IBM Solver

License LastCommit

https://github.com/NaokiHori/SimpleIBMSolver/blob/main/docs/source/snapshot2d.png

Overview

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.

Dependency

This is built on top of SimpleNSSolver. Please visit it and check the dependency there.

Quick start

  1. Prepare workplace

    mkdir -p /path/to/your/directory
    cd       /path/to/your/directory
  2. Get source

    git clone --recurse-submodules https://github.com/NaokiHori/SimpleIBMSolver
    cd SimpleIBMSolver
  3. Set initial condition

    Here Python3 is used to initialise the flow fields conveniently. One can give NPY files in different way under initial_condition/output/.

    cd initial_condition
    make output
    bash exec.sh
    cd ..
  4. Build solver

    make output
    make all
  5. Run

bash exec.sh

Note

The immersed boundary method and the collision model is based on a publication with some modifications.