CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   interface curvature in interFoam (https://www.cfd-online.com/Forums/openfoam-programming-development/222920-interface-curvature-interfoam.html)

ndtrong December 14, 2019 01:55

interface curvature in interFoam
 
Hi everyone,


I have a question about interface curvature as below:
Following definition of interface curvature, \kappa is defined as:
\kappa = \nabla\cdot \vec{n}
in which \vec{n} is normal vector of interface that is defined based on volume fraction in each cell as:
\vec{n} = \frac{\nabla \cdot \alpha}{|\nabla \cdot \alpha|}
So:
\vec{n} is volVectorField and then \kappa is volScalarField, is that correct?

However, in interFoam solver, \vec{n} is defined on cell face (\vec{n_f}) as:
\vec{n_f} = \frac{(\nabla \alpha)_f}{|(\nabla \alpha)_f|}
where (\nabla\alpha)_f is defined by interpolation computation as:
(\nabla\alpha)_f = \text{fvc::interpolate}(\nabla\alpha)
then, face unit interface normal flux is defined as:
\hat{n}_f = \vec{n}\cdot S_f

with S_f is the normal vector of cell face (Note that \hat{n}_f then is a surfaceScalarField).

Then, interface curvature is defined as:
\kappa = \nabla\cdot\hat{n}_f

My question is:
- why do we need to interpolate the \nabla\alpha to cell face.
- when we mention about normal vector of interface (interface normal vector) which one is correct \vec{n} defined at cell's center or \vec{n}_f defined at cell's face?

einstein_zee December 16, 2019 08:36

Hii there,

1. In order to be consistent with FVM, fluxes/forces or ... are calculated over the faces of the computational cell. Also note that surface tension is added as a volumetric force in momentum equation.

2. In general, VOF methods which are not tracking explicitly(by reconstructing the interface) the interface, are not representing the exact shape of the interface. This means you should not worry about which one is correct or not. As far as solution of momentum eq. is concerned the formulation should be done WRT cell faces.

hope this helps...

ndtrong December 17, 2019 18:18

Quote:

Originally Posted by einstein_zee (Post 752543)
Hii there,

1. In order to be consistent with FVM, fluxes/forces or ... are calculated over the faces of the computational cell. Also note that surface tension is added as a volumetric force in momentum equation.

2. In general, VOF methods which are not tracking explicitly(by reconstructing the interface) the interface, are not representing the exact shape of the interface. This means you should not worry about which one is correct or not. As far as solution of momentum eq. is concerned the formulation should be done WRT cell faces.

hope this helps...

Dear Mr. Hosein

Thank you very much for your comments.
I have another question on comment #2. Could you please make clear on VOF methods which are not tracking explicit, why it does not represent the exact shape of interface? What are their drawback make interface not sharpen?

mAlletto December 20, 2019 05:37

the interface is not explicit since it is calculated from the colour function alpha. One disadvantage is that if you consider also surface tension with an implicit formulation of the interface you can generate parasitic currents. A very good article explaining interfoam is this one: https://iopscience.iop.org/article/1.../1/014016/meta

ndtrong December 22, 2019 22:49

Dear Michael,

I thank you very much for your comment with related paper.


All times are GMT -4. The time now is 14:15.