CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Calculation of interface area interFoam / VoF

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By überschwupper
  • 1 Post By Santiago

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 11, 2022, 11:20
Default Calculation of interface area interFoam / VoF
  #1
Member
 
Join Date: Jan 2022
Location: Germany
Posts: 72
Rep Power: 4
überschwupper is on a distinguished road
Peace Foamers,


I'm currently implementing an evaporation model and for that, I need the interface Area between my two phases alpha1 and alpha2.


Does anyone know how to do that? I assumed that one of the interface reconstruction methods would deliver a function that could be called or the class surfaceInterpolation but I havent found anything suitable there. (btw. I'm not greatly familiar with PLIC, isoAdvector, etc.)


My first thought of an apporach looked like that:
1.) Identifying interface cells (e.g. alpha = 0.5)
2.) Then calculate the volume occupied by alpha for each of these interface cells (mesh.V()*alpha1)

3.) calculate normal vector with nHat = grad(alpha)/mag(grad(alpha)) to get information about the orientation of that approximated interface plane
______________ Now the part where I dont know how to proceed
Here I thought about an algorithm that is starting from a suitable point. I try to explain it in a simple case: 2D Square. Starting from a corner then follow the diagonal and calculate a orthogonal line where both ends of this line touch the sides of that square. This will be continued until the areas (equivalent to the volume in 2.)) will match. The resulting length(area) is what can be used for the calculation.


Has someone an idea how to realize that - or even better: Is there something which gives me the interface area between both phases without a complicate implementation?


Kind regards and a thank you in advance!
JuRe09 likes this.

Last edited by überschwupper; May 12, 2022 at 04:51.
überschwupper is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
interface curvature in interFoam ndtrong OpenFOAM Programming & Development 4 December 22, 2019 22:49
Access the area and normal of the interface in VOF dongshancfd Fluent Multiphase 0 March 6, 2018 03:56
Non overlap area fractions saisanthoshm88 CFX 11 September 17, 2015 18:42
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 20:09


All times are GMT -4. The time now is 21:00.