Translated from the author's Korean original. Read the original (한국어)
Interface Capturing Methods: VOF vs Level Set vs Diffuse Interface
PLIC keeps the mass and gives a rough curvature. Level set gives a clean curvature and leaks mass. A shock on a contact wants the non-conservative alpha advection.
How to Handle the Interface#
In a compressible two-fluid run, the fluxes are rarely what stalls the job. The stall is how a cell writes down the surface where the two fluids meet.
Three branches.
- Volume of Fluid (VOF)
- Level Set
- Diffuse Interface
Flip the mode toggle among VOF, Level Set, and Diffuse and the same circle changes thickness and sign.
같은 원을 세 방법이 어떻게 표현하는지 비교 — VOF는 셀 평균, Level Set는 부호거리, Diffuse는 매끄러운 전이.
VOF locks color inside a straight cut of the cell. Level set draws a smooth zero contour. Diffuse spreads a band across a few cells.
1. Volume of Fluid (VOF)#
Principles#
VOF tracks the volume fraction occupied by a specific fluid in each cell.
If , the cell is full of fluid A; if , it's full of fluid B; and if , the interface passes through the cell.
Interface Reconstruction#
The core of VOF is reconstructing the interface position within the cell from the values:
- SLIC (Simple Line Interface Calculation): Approximates the interface parallel to the coordinate axes.
- PLIC (Piecewise Linear Interface Calculation): Approximates the interface as a line with an arbitrary slope.
In PLIC, the interface normal vector is estimated from the gradient of the field:
Pros and Cons#
- Pros: Exact mass conservation (conservative form).
- Cons: Interface reconstruction is complex and computationally expensive. Difficult to extend to 3D. Inaccurate curvature calculation.
2. Level Set Method#
Principles#
The interface is defined as the zero-level contour of a signed distance function .
- : Fluid A
- : Fluid B
- : Interface
Re-initialization#
During the advection process, loses its property as a signed distance function (). To restore this, a re-initialization equation is solved:
where is pseudo-time.
Curvature and Surface Tension#
A major advantage of the Level Set method is that geometric quantities are naturally calculated:
Surface tension is converted into a body force using the CSF (Continuum Surface Force) model:
Pros and Cons#
- Pros: Easy calculation of curvature/normals. Handles topology changes naturally.
- Cons: Fails mass conservation. The interface position can shift during the re-initialization process.
CLSVOF: Combining the Two#
The Coupled Level Set and VOF (CLSVOF) method, which combines the mass conservation of VOF with the geometric advantages of Level Set, is widely used.
3. Diffuse Interface Method#
Shift in Philosophy#
While the previous two methods view the interface as sharp, the diffuse interface method treats it as having an inherently finite thickness.
In this approach, no separate interface tracking equation is required, and the volume fraction is included as part of the system of conservation laws.
5-equation Model (Allaire et al., 2002; Kapila et al., 2001)#
The most widely used reduced model:
The last line is the one that splits. Advection of is non-conservative. That is the spot that keeps the interface pressure from ringing.
Why is Non-conservative Form Needed?#
If is solved in conservative form:
If on the right is not zero in the discrete divergence, the pressure rings.
Expand the non-conservative advection and it becomes . Moving the last term across the equal sign is the equation above. On a contact, pressure and velocity are uniform, so should be zero. If the discrete divergence misses that zero, the right-hand side survives. Call the leftover divergence in an interface cell with . The source is . Alpha moves by that amount, the mixture density changes, and the equation of state does not come back to the same pressure. That term is the seed of the oscillation.
The non-conservative form never builds that right-hand side. Alpha follows , and the face-flux difference does not increment alpha by itself. That is why the last line of the five-equation model is non-conservative. Mass is kept by the two lines above, . Alpha does not have to be written in conservation form for each partial density to stay honest.
The re-initialization formula already carries its own number. When breaks, pushes in pseudo-time . If is above 1 the term trims . If it is below 1 the term pushes the other way. The only stop is . If the zero slips by even one cell, mass leaks. The integral of VOF alpha has no such slip. The normal only has a slope in cells where alpha sits between 0 and 1, so curvature rides the noise in those cells. returns the same normal smoothly when is a distance. CLSVOF glues the two. Mass from , curvature from .
7-equation Model (Baer-Nunziato type)#
Each phase can carry its own pressure and its own velocity. That route is already opened in the Baer–Nunziato seven-equation model.
Convergence to pressure/velocity equilibrium is achieved through a relaxation process. It is mathematically the most complete but has high computational costs.
Comparison Summary#
| Method | Mass Conservation | Interface Sharpness | Topology Change | Implementation Complexity | Suitability for Compressibility |
|---|---|---|---|---|---|
| VOF (PLIC) | O | High | Difficult | High | Moderate |
| Level Set | X | High | Natural | Moderate | Moderate |
| CLSVOF | O | High | Natural | Very High | Moderate |
| 5-eq Diffuse | O | Moderate | Natural | Low | Excellent |
| 7-eq Diffuse | O | Moderate | Natural | High | Excellent |
A conservative alpha update rings the pressure at a contact#
In a compressible table, the rows that stay are the bottom two. The five-equation model keeps mass in and leaves only the alpha advection non-conservative. If the discrete divergence does not kill , an interface cell at pushes the mixture density and the pressure moves.
Whether to pull the smeared band back every step is a separate call. That fix lives in interface sharpening by anti-diffusion.
Related
Share if you found it helpful.