Skip to content

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

License

Notifications You must be signed in to change notification settings

NaokiHori/SimpleVOFSolver

Repository files navigation

Simple VOF Solver

License_ CI_ DOC_ LastCommit_

image

Overview

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.

Dependency

Same dependency as the SimpleNSSolver.

Quick start

  1. Prepare workplace

    mkdir -p /path/to/your/directory
    cd       /path/to/your/directory
  2. Get source

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

    Here Python3 is used to initialise the flow fields conveniently. One can give NPY files in different way under initial_condition/output/.

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

    make output
    make all
  5. Run

    bash exec.sh

Documentation

Free-surface treatment is briefly documented here. Please refer to the documentation of SimpleNSSolver for other details.

Acknowledgements

The volume-of-fluid method is based on THINC/QQ scheme with some modifications.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages