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.
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:
The governing equations, the numerical methods employed, and the discretisations are briefly discussed here.
Checkout 3d
branch.
Initialise flow fields by yourself.
I would like to acknowledge Dr. Kevin Zhong for fruitful discussion regarding the viscosity formulation.