Basilisk CFD
Adaptive Cartesian mesh PDE framework
Loading...
Searching...
No Matches
two-phase.h
Go to the documentation of this file.
1
/** @file two-phase.h
2
*/
3
/**
4
# Two-phase interfacial flows
5
6
This file helps setup simulations for flows of two fluids separated by
7
an interface (i.e. immiscible fluids). It is typically used in
8
combination with a [Navier--Stokes solver](navier-stokes/centered.h).
9
10
The interface between the fluids is tracked with a Volume-Of-Fluid
11
method. The volume fraction in fluid 1 is \f$f=1\f$ and \f$f=0\f$ in fluid
12
2. The densities and dynamic viscosities for fluid 1 and 2 are *rho1*,
13
*mu1*, *rho2*, *mu2*, respectively. */
14
15
#include "
vof.h
"
16
17
scalar
f
[], *
interfaces
= {
f
};
18
19
#include "
two-phase-generic.h
"
20
21
/**
22
## See also
23
24
* [Two-phase interfacial flows with coupled VOF and levelset](two-phase-clsvof.h)
25
* [Two-phase interfacial flows with levelset](two-phase-levelset.h)
26
*/
scalar
Definition
common.h:44
two-phase-generic.h
f
scalar f[]
Definition
two-phase.h:17
interfaces
scalar * interfaces
The height functions are stored in the vector field associated with each VOF tracer.
Definition
two-phase.h:17
vof.h
two-phase.h
Generated by
1.9.8