CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Quantifying interface compression (interFoam)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2020, 09:53
Default Quantifying interface compression (interFoam)
  #1
New Member
 
Mike
Join Date: Sep 2019
Posts: 2
Rep Power: 0
mvdl1996 is on a distinguished road
Hello all,


I am using interFoam for several multiphase simulations. In the alpha (volume fraction) equation, there is a constant cAlpha that has to do with interface compression. I noticed that for some cases, cAlpha has a large influence whereas for other cases it does not. I understand why, from the equations, but I would like to quanitfy / visualize this.


In order to do this, I would like to know the value of phic and phir which appear in the alphaEqn.H file (see equations from that file below).
phic = mag(phi/mesh.magSf());
phic = min(interface.cAlpha()*phic, max(phic));
surfaceScalarField phir = phic*interface.nHatf();


I tried using output stream and a swakExpression to accomplish this, but due to its surfaceScalar nature it seems quite hard as it is only defined for each cell surface and not just for each cell like volumeScalars.
Can anyone help me with suggestions how I can quantify or visualize phir and/or phic?


Thanks!
mvdl1996 is offline   Reply With Quote

Old   April 27, 2023, 06:51
Default
  #2
Member
 
Hosein
Join Date: Nov 2011
Location: Germany
Posts: 94
Rep Power: 15
einstein_zee is on a distinguished road
Hi there,

I just came across this post and it certainly is too late but just wanted to mention that the same issue was addressed in another thread "Visualisation of a surfaceScalarField with paraview". As Mattijs said you need to use Glyph...
einstein_zee is offline   Reply With Quote

Reply

Tags
calpha, interfoam, openfoam, quantify, surfacescalarfield


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
How to have sharp interface in nano scale two phase flow problem using interFoam hosseinfathi OpenFOAM Programming & Development 10 April 9, 2017 10:07
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 12:19
abnormal temperature near interface when adding energy equation to interFoam houkensjtu OpenFOAM 4 June 26, 2013 14:40
VOF interface compression and mesh size idrama OpenFOAM 1 September 26, 2010 07:36


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