Skip to content

NaokiHori/EllipsesInFlows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ellipses in Flows

For circular (2D) or spherical (3D) objects, please refer to the other library.

License LastCommit CI

https://github.com/NaokiHori/EllipsesInFlows/blob/main/docs/source/snapshot.png

Overview

This library numerically solves the motion of elliptic bodies governed by the Newton-Euler equations suspended in viscous liquid by means of the finite-difference and the immersed-boundary methods.

Please refer to the documentation for details.

Features

  • MPI-parallelised
  • Eulerian-based (no Lagrangian points) IBM
  • Collision model between ellipses

Dependency

Docker

Quick start

  1. Create working directory

    mkdir /path/to/your/working/directory
    cd    /path/to/your/working/directory
  2. Fetch source

    git clone https://github.com/NaokiHori/EllipsesInFlows
    cd EllipsesInFlows
  3. Build

    docker build -t simplenavierstokessolver:latest .
    docker run -it --rm --cpuset-cpus="0-1" -u runner -v ${PWD}:/home/runner simplenavierstokessolver:latest
    make output
    make all
  4. Run

    mpirun -n 2 ./a.out

Examples

Several examples can be found in the documentation.

  1. Migration of a circular object in a shear flow
  2. Segré-Silberberg effect
  3. Rotation of an ellipse in a shear flow
  4. Suspension in a plane Poiseuille flow