CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   What does interface.correct() do exactly? (https://www.cfd-online.com/Forums/openfoam-solving/198851-what-does-interface-correct-do-exactly.html)

Loki Kerry February 18, 2018 22:46

What does interface.correct() do exactly?
 
Hello everyone,

I'm building a numerical wave tank based on interFoam solver, I tried to replace MULES with a more compact interface-capturing method.

The problem is that if I don't include this line: interface.correct(), which is from interFoam solver, the interface caculated turns out to be unsteady.

So, what dose this function do, I can't find it anywhere.

Thanks in advance.

Zhang Zhihang

akidess February 19, 2018 03:34

Fairly easy to find:
https://github.com/OpenFOAM/OpenFOAM...ceProperties.H

It updates the interface curvature.


All times are GMT -4. The time now is 06:58.