Skip to content

Massively-parallelised Navier-Stokes solver with a volume-of-fluid method for bubbly flows

License

Notifications You must be signed in to change notification settings

NaokiHori/SimpleBubblyFlowSolver

Repository files navigation

Simple Bubbly Flow Solver

License LastCommit CI DOCS

https://github.com/NaokiHori/SimpleBubblyFlowSolver/blob/main/docs/source/thumbnail.jpg

Overview

This library numerically solves the motion of two-liquid mixtures separated by free surfaces using finite-difference and volume-of-fluid methods.

Specifically, its aim is to simulate air-water flows characterised by significant contrasts in density and viscosity at high Reynolds numbers.

Quick start

Fetch source

git clone --recurse-submodules https://github.com/NaokiHori/SimpleBubblyFlowSolver
cd SimpleBubblyFlowSolver

Initialise flow fields (needs Python3 with NumPy)

cd initial_condition
make output
sh main.sh
cd ..

Build and run

make output
make all
sh exec/main.sh

This simulates the motion of a 2D rising bubble:

https://github.com/NaokiHori/SimpleBubblyFlowSolver/blob/main/docs/source/sample.jpg

Documentation

The governing equations, the numerical methods employed, and the discretisations are briefly discussed here.

3D version

Checkout 3d branch. Initialise flow fields by yourself.

Acknowledgement

I would like to acknowledge Dr. Kevin Zhong for fruitful discussion regarding the viscosity formulation.

About

Massively-parallelised Navier-Stokes solver with a volume-of-fluid method for bubbly flows

Topics

Resources

License

Stars

Watchers

Forks

Languages