|
[Sponsors] |
November 7, 2013, 03:10 |
CorrectPhi in interFoam
|
#1 |
New Member
sasan
Join Date: Sep 2013
Posts: 28
Rep Power: 12 |
Hi Foarmers,
I'm new in openFoam and I have a Question about correctPhi.... I dont realy dont what happens in this header.. why use correctPhi?what is Pcorr? anybody have information about this header or have user guide pdf about this, i will be gratfull provide for me.... Regards, |
|
November 7, 2013, 03:40 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21 |
If you don't have a boundary condition controlling the pressure reference, i.e. all of your boundaries are zero gradient on pressure, then it will make sure the total inflow and outflow of mass is conserved.
By the way, the same function, adjustPhi, is called in pEqn.H as well (compare pEqn.H with correctPhi.H). |
|
November 7, 2013, 04:39 |
|
#3 | |
New Member
sasan
Join Date: Sep 2013
Posts: 28
Rep Power: 12 |
Quote:
So If I want add source term to pEqn ,i shoud add this source term to pcorr?? |
||
March 27, 2014, 21:34 |
|
#4 |
Member
xuhe-openfoam
Join Date: Aug 2013
Location: DaLian,china
Posts: 82
Rep Power: 12 |
hello!I am a new member.
what is Pcorr ? and i think maybe just add source to pEqn is ok. thank you ! |
|
November 28, 2015, 12:20 |
role of CorrectPhi in interFoam?
|
#5 |
Senior Member
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11 |
Hi friends,
I don't understand the role of correctPhi.H in interFoam solver. Pease help me! |
|
November 29, 2015, 03:59 |
|
#6 |
Senior Member
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11 |
can I add source term for pressure equation to pcorr equation???
|
|
March 22, 2016, 04:35 |
|
#7 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17 |
Nope,
Bernhard's answer is quite challenging to me, adjustphi() perform the functino as he said. But correctPhi() in interFoam can be neglected, pcorr is important for interDyMFoam. I guess the reason to include correctPhi() in interFoam is for consistent with interDyMFoam when you start your simulation with interDyMFoam and want to continue your simulation with interFoam.
__________________
My OpenFOAM algorithm website: http://dyfluid.com By far the largest Chinese CFD-based forum: http://www.cfd-china.com/category/6/openfoam We provide lots of clusters to Chinese customers, and we are considering to do business overseas: http://dyfluid.com/DMCmodel.html |
|
March 22, 2016, 06:10 |
About reading nu
|
#8 | |
New Member
Li Linmin
Join Date: Nov 2015
Location: China
Posts: 27
Rep Power: 10 |
Quote:
http://www.cfd-online.com/Forums/ope...m-dpmfoam.html |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterFoam stops after deltaT goes to 1e14 | francesco_b | OpenFOAM Running, Solving & CFD | 9 | July 25, 2020 06:36 |
interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 15:26 |
Problem of InterFoam with LES SpalartAllmarasIDDES | keepfit | OpenFOAM | 3 | August 29, 2013 11:21 |
Segmentation fault in interFoam run through openMPI | voingiappone | OpenFOAM | 16 | November 2, 2011 06:49 |
Open Channel Flow using InterFoam type solver | sxhdhi | OpenFOAM Running, Solving & CFD | 3 | May 5, 2009 21:58 |