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

compute U in p.Eqn in interfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By fumiya

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2013, 04:46
Default compute U in p.Eqn in interfoam
  #1
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
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, 08:53
Default
  #2
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
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
wayne14 likes this.

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

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


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
Compute shear stress interFoam hsieh OpenFOAM Post-Processing 58 June 20, 2022 04:15
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 15:26
Evaporation due to Heat Transport using InterFoam (Correct Implementation?) ovie OpenFOAM 14 August 3, 2019 07:00
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


All times are GMT -4. The time now is 02:15.