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

"Counter-gradient" term in interFoam.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2013, 21:42
Default "Counter-gradient" term in interFoam.
  #1
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17
sharonyue is on a distinguished road
Hi guys,

Some articles depict the interFoam in detail, but I still have many confusions. In weller's paper: he said:
Quote:
\frac{{\partial \alpha }}{{\partial t}} + \nabla  \cdot \alpha u + \nabla  \cdot \left( {\alpha \left( {1 - \alpha } \right){u_c}} \right) = 0

U_c ensures compression. In order to ensure the compression term does not bias the solution in anyway it should only introduce flow of alpha normal to the interface, in the direction:\frac{{\nabla \alpha }}{{\left| {\nabla \alpha } \right|}}
......
These considerations suggest a model for Uc of the form
{U_c} = {c_\alpha }\left| U \right|\frac{{\nabla \alpha }}{{\left| {\nabla \alpha } \right|}}
So according to Weller's thought, U_c is constructed by a guess.

but in another paper. it said:
Quote:
U_c=U_l - U_g
All in all, how can we ensure these two U_c are the same?
sharonyue is offline   Reply With Quote

Old   September 12, 2013, 01:51
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
The first one is the one that is implemented in OpenFOAM, as you can easily confirm from alphaEqn.H.

The second one does not have a meaning from a simulation point of view, as there is only one U in the simulations. You don't keep track of both liquid and gas velocity, as you would do in twoPhaseEulerFoam. However, if you would use indicator functions for that set of equation, you will eventually find U_c=U_l-U_g.

Also, be aware that this is not a counter-gradient term, but more of a convective like term, with the same purpose in the end.
Bernhard is offline   Reply With Quote

Reply


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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 15:26
InterFoam: add a source term in alpha eq. Alucard OpenFOAM Programming & Development 12 November 5, 2017 19:16
Add source term in alphaEqn.H of interFoam tayo OpenFOAM 1 October 23, 2013 03:40
Adding a new term in momentum equation of Interfoam udiitm OpenFOAM 5 July 29, 2012 10:52
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45


All times are GMT -4. The time now is 18:10.