Skip to content

Massively-parallelised Navier-Stokes solver with an immersed boundary method for moving bodies

License

Notifications You must be signed in to change notification settings

NaokiHori/SimpleIBMSolver

Repository files navigation

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.

About

Massively-parallelised Navier-Stokes solver with an immersed boundary method for moving bodies

Topics

Resources

License

Stars

Watchers

Forks

Languages