CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

compute U in p.Eqn in interfoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 11, 2013, 06:46
Default compute U in p.Eqn in interfoam
  #1
Member
 
Join Date: Mar 2013
Posts: 82
Rep Power: 3
giack is on a distinguished road
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

Old   March 18, 2013, 10:53
Default
  #2
Senior Member
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 162
Rep Power: 6
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,
Fumiya

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

Old   March 18, 2013, 11:23
Default
  #3
Member
 
Join Date: Mar 2013
Posts: 82
Rep Power: 3
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

Reply

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 39 December 9, 2013 13:45
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 22:58
How to compute total liquid volume of the whole domain hsieh OpenFOAM Post-Processing 2 July 13, 2007 19:18


All times are GMT -4. The time now is 11:48.