src/two-phase.h
Two-phase interfacial flows
This file helps setup simulations for flows of two fluids separated by an interface (i.e. immiscible fluids). It is typically used in combination with a Navier–Stokes solver.
The interface between the fluids is tracked with a Volume-Of-Fluid method. The volume fraction in fluid 1 is f=1 and f=0 in fluid 2. The densities and dynamic viscosities for fluid 1 and 2 are rho1, mu1, rho2, mu2, respectively.
#include "vof.h"
scalar f[], * interfaces = {f};
#include "two-phase-generic.h"
See also
Usage
Examples
- Atomisation of a pulsed liquid jet
- Bubble rising in a large tank
- Transcritical flow over a bump
- Two-phase flow around RV Tangaroa
- Flow in a rotating bottom-driven cylindrical container
Tests
- Soluble gas diffusing from a rising bubble
- Impact of a viscoelastic drop on a solid
- Gravity wave
- Large-amplitude standing wave
- Preventing coalescence of VOF tracers
- Shape oscillation of an inviscid droplet
- Rising bubble
- Rayleigh–Taylor instability
- Soluble gas diffusing from a static bubble
- Breaking Stokes wave
- Viscoelastic 2D drop in a Couette Newtonian shear flow