CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

compute U in p.Eqn in interfoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By fumiya

LinkBack Thread Tools Display Modes
Old   March 11, 2013, 05:46
Default compute U in p.Eqn in interfoam
Join Date: Mar 2013
Posts: 96
Rep Power: 6
giack is on a distinguished road
Sponsored Links
Hi to all,
i am a bit confused in the computed of U in the pEqn.H of interFoam
why is computed as follow?
U += rAU*fvc::reconstruct((phi - phiU)/rAUf)

I compare it with the PISO algorithm in wich U is computed as:
U -= rUA*fvc::grad(p);

thanks to all
giack is offline   Reply With Quote
Sponsored Links

Old   March 18, 2013, 09:53
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 217
Blog Entries: 1
Rep Power: 11
fumiya is on a distinguished road
This topic is discussed in several threads:
The following documents cover most of the points about interFoam including this topic:
Regarding the "reconstruct" function, you might want to see the following thread:
Best regards,
wayne14 likes this.

Last edited by fumiya; March 19, 2013 at 22:58.
fumiya is offline   Reply With Quote

Old   March 18, 2013, 10:23
Join Date: Mar 2013
Posts: 96
Rep Power: 6
giack is on a distinguished road
Thank you very much for your help
I have another question: in the first document that you send me the compression term is discretized as show in 114 but in i look in the code and the discretization is different. In the code, in fact, is used a quadratic compression scheme as follow:

min(max(4*min(phiP*(1 - phiP), phiN*(1 - phiN)), 0), 1)

the two scheme are similar?what is better?

Thank you very much for your willingnes
giack is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compute shear stress interFoam hsieh OpenFOAM Post-Processing 53 April 29, 2017 18:40
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 11 January 5, 2013 07:21
Evaporation due to Heat Transport using InterFoam (Correct Implementation?) ovie OpenFOAM 12 December 16, 2011 10:44
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 21:58
How to compute total liquid volume of the whole domain hsieh OpenFOAM Post-Processing 2 July 13, 2007 18:18

Sponsored Links

All times are GMT -4. The time now is 04:40.