CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   VOF - interface capturing scheme (https://www.cfd-online.com/Forums/openfoam/177593-vof-interface-capturing-scheme.html)

IRP September 17, 2016 02:18

VOF - interface capturing scheme
 
Please assisting me.
I am dealing with a problem about Volume of Fluid (VOF) method, coding through the FORTRAN.
I would be so thankful if you guide me about VOF coding procedure. If possible please guid me an implementation of two-dimensional VOF code by any of these schem SLIC, Hirt–Nichols’ VOF, Youngs’ method, the PLIC, CICSAM.


Email: irp.cfdonline@gmail.com

JonW September 17, 2016 14:28

Double interface compression in OpenFOAM
 
Hi there
I am going by memory here,...
The VOF by H&N can basically be divided into two families
one is interface compression by reconstruction, which are SLIC, PLIC, etc
The other family is interface compression by special discretization schemes (compressive differencing scheme), like CICSAM and HIRC.

OpenFOAM is using FCT - flux corrected transport (available through MULES), which belongs to the second family of VOF. But in addition to this, a special compression is also applied into the phase transport equation it self. Sometimes it is refereed to as an "artificial term", but it is possible to show it is very physical (not artificial). So with this + FCT (with Zalesak modsification), OF really has a double compression scheme. (FCT is by the way very good in solving hyperbolic PDEs)

So I really don't understand why you want to program PLIC into the OF framework.
Anyway, this would be a serious undertaking, which I would not dream doing, even after several years of OF use. This is very difficuld due to the complexity of the mesh infrastructure of OF (collocated mesh => unstructured and structured mesh)

If I were you, I would forget this and use what OF has to offer.:o
Hope this helps
J.


All times are GMT -4. The time now is 05:32.