two-phase.h

📄 View in API Reference (Doxygen) · View on basilisk.fr

Requires: vof.h · two-phase-generic.h

Test cases (12): axi_rising_bubble, fall, gravity, large-ns, no-coalescence, oscillation, plateau, rising, rt, static_bubble, stokes-ns, viscodrop

Examples (5): atomisation, bubble, gaussian-ns, tangaroa, yang

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" [api]

scalar f[], * interfaces = {f};

#include "two-phase-generic.h" [api]

See also