This library numerically solves the motion of free-surface and deformable droplets in two- and three-dimensional Cartesian domains using the finite-difference and volume-of-fluid methods. This is built on top of SimpleNSSolver.
Same dependency as the SimpleNSSolver.
Prepare workplace
mkdir -p /path/to/your/directory cd /path/to/your/directory
Get source
git clone --recurse-submodules https://github.com/NaokiHori/SimpleVOFSolver cd SimpleVOFSolver
Set initial condition
Here
Python3
is used to initialise the flow fields conveniently. One can giveNPY
files in different way underinitial_condition/output/
.cd initial_condition make output bash exec.sh cd ..
Build solver
make output make all
Run
bash exec.sh
Free-surface treatment is briefly documented here. Please refer to the documentation of SimpleNSSolver for other details.
The volume-of-fluid method is based on THINC/QQ scheme with some modifications.