CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

buoyantBoussinesqPimple p_rgh BOUNDARY CONDITIONS

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2014, 04:23
Post buoyantBoussinesqPimple p_rgh BOUNDARY CONDITIONS
  #1
New Member
 
dell-ocqa aronne
Join Date: Feb 2014
Posts: 4
Rep Power: 12
aronne030389 is on a distinguished road
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!!
aronne030389 is offline   Reply With Quote

Old   May 20, 2014, 08:24
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
pRefValue and pRefCell can be set in fvSolution:
http://www.openfoam.org/docs/user/fvSolution.php
jherb is offline   Reply With Quote

Old   October 3, 2022, 14:33
Default
  #3
New Member
 
Edgar Fernando Rey Torra
Join Date: Aug 2022
Posts: 6
Rep Power: 3
EdgarRey is on a distinguished road
hi aronne, did you get any light on this topics? it would be very helpful for me and i would appreciate it.
EdgarRey 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
symmetry boundary conditions in cfx lost.identity CFX 41 May 22, 2013 07:21
[Netgen] boundary conditions and mesh exporting vaina74 OpenFOAM Meshing & Mesh Conversion 2 May 27, 2010 09:38
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


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