Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 2.24 KB

README.md

File metadata and controls

65 lines (42 loc) · 2.24 KB

Simple VOF Solver

License CI DOC Last Commit

Simulation Snapshot

Overview

This library numerically simulates the motion of free surfaces and deformable droplets in two- and three-dimensional Cartesian domains using the finite-difference and volume-of-fluid methods. It is built on top of SimpleNSSolver.

Dependency

This solver shares the same dependencies as SimpleNSSolver.

Quick Start

  1. Prepare the workspace

    mkdir -p /path/to/your/directory
    cd /path/to/your/directory
  2. Clone the repository

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

    Python3 is used to initialize the flow fields conveniently. You can provide NPY files differently under initial_condition/output/.

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

    make output
    make all
  5. Run the simulation

    bash exec.sh

Documentation

A brief overview of the free-surface treatment is available here. For additional details, please refer to the SimpleNSSolver documentation.

Acknowledgements

The volume-of-fluid method implemented in this solver is based on the THINC/QQ scheme with some modifications.