# compute U in p.Eqn in interfoam

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

 March 11, 2013, 05:46 compute U in p.Eqn in interfoam #1 Member   Join Date: Mar 2013 Posts: 96 Rep Power: 6 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

 March 18, 2013, 09:53 #2 Senior Member   Fumiya Nozaki Join Date: Jun 2010 Location: Yokohama, Japan Posts: 217 Blog Entries: 1 Rep Power: 11 This topic is discussed in several threads:http://www.cfd-online.com/Forums/ope...-pressure.html The post #9 by alberto is especially helpful. http://www.cfd-online.com/Forums/ope...qpisofoam.html The following documents cover most of the points about interFoam including this topic:Description and utilization of interFoam multiphase solver https://docs.google.com/viewer?a=v&q...7x3fkYvPAzRccA Computational Fluid Dynamics of Dispersed Two-Phase Flows at High Phase Fractions http://powerlab.fsb.hr/ped/kturbo/Op...chePhD2002.pdf 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 22:58.

 March 18, 2013, 10:23 #3 Member   Join Date: Mar 2013 Posts: 96 Rep Power: 6 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

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post hsieh OpenFOAM Post-Processing 53 April 29, 2017 18:40 DanM OpenFOAM Running, Solving & CFD 11 January 5, 2013 07:21 ovie OpenFOAM 12 December 16, 2011 10:44 sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 21:58 hsieh OpenFOAM Post-Processing 2 July 13, 2007 18:18