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 Last Commit

Simulation Snapshot

Overview

This library numerically simulates the motion of rigid particles in two- and three-dimensional Cartesian domains using the finite-difference and immersed boundary methods.

Dependency

This solver is built on top of SimpleNSSolver. Please check its repository for dependency details.

Quick Start

  1. Set up your workspace

    mkdir -p /path/to/your/directory
    cd /path/to/your/directory
  2. Clone the repository

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

    Python 3 is used to conveniently initialize the flow fields. Alternatively, NPY files can be provided in a different manner under initial_condition/output/.

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

    make output
    make all
  5. Run the simulation

    bash exec.sh

Note

The immersed boundary method and the collision model are based on this 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