# buoyantBoussinesqPimple p_rgh BOUNDARY CONDITIONS

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

 May 7, 2014, 04:23 buoyantBoussinesqPimple p_rgh BOUNDARY CONDITIONS #1 New Member   dell-ocqa aronne Join Date: Feb 2014 Posts: 4 Rep Power: 4 Hi everybody i'm trying to set a simple simulation with buoyantBuossinesqPimpleFoam, but i have a problem with the BC, especially with p_rgh and p. As far as i have understood for the p i have to set calculated since it is obtained as p=p_rgh+rhok*gh . The case is the following : a rectangular 2D column domain vertically oriented,with later impermeable walls, filled by water a T1 temperature. From below i inject at a constant rate water at a greater temperature T2. Now for the BC at the bottom i will set U-> fixedValue T-> fixedValue p->calcualted p_rgh-> ?? which is better?? zeroGradient is it possible or not for this variable?? at the Top U-> zeroGradient T->zeroGradient p->calculated p_rgh-> ?? which is better?? fixedValue uniform=0 since it is in atmosphere?? is it possible?? it is convenient to set the z coordinate at the top of my domain so i get p_rgh=p+0 ?? and setting p_rgh=0 as BC i will not have additional problems?? at the lateral wall i set U-> zeroGradient T->zeroGradient p->calculated p_rgh-> zeroGradient it is ok?? Another question is about the meaning of the last step in the PIMPLE algorithm p = p_rgh + rhok*gh; if (p_rgh.needReference()) { p += dimensionedScalar ( "p", p.dimensions(), pRefValue - getRefCellValue(p, pRefCell) ); p_rgh = p - rhok*gh; } where i specify the needReference() option?? and also the pRefValue and pRefCell?? I have to specify them or not?? Thanks so much to everybody!!

 May 20, 2014, 08:24 #2 Senior Member   Joachim Herb Join Date: Sep 2010 Posts: 391 Rep Power: 11 pRefValue and pRefCell can be set in fvSolution: http://www.openfoam.org/docs/user/fvSolution.php

 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 Saima CFX 45 September 22, 2015 10:53 Anna Tian CFX 1 June 16, 2013 06:28 lost.identity CFX 41 May 22, 2013 07:21 vaina74 Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 May 27, 2010 09:38 michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15

All times are GMT -4. The time now is 21:34.