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

reference value for p_rgh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By geth03

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 13, 2020, 10:12
Question reference value for p_rgh
  #1
Member
 
Himanshu
Join Date: Jan 2017
Posts: 34
Rep Power: 9
Himanshu_Shrivastava is on a distinguished road
Hello All,
I am new to openFoam and currently confused about p_rgh setting.
I have read the theory about p_rgh and have read some post about this but I didn't got what I am looking for.

from the post linked below:
Correct boundary conditions for p_rgh (special for vertical patches)

I came to know about the formula p_rgh=p-g(h_hRef) and the value of hRef is set 0 by default.
My doubt is the will default 0 value will work for every simulation?
Suppose i modeled my geometry from xy-plane (i.e. z=0) and I modeled another geometry from z=-3 plane. If i keep all the BC same and even the default h_ref value (i.e. 0) is kept same, will my answer will be same.

if not, how should I change my h_ref value? and how should we decide this value?
Himanshu_Shrivastava is offline   Reply With Quote

Old   June 23, 2020, 07:00
Default
  #2
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8
geth03 is on a distinguished road
as soon as you have the same reference height for all, which you automatically have, and also the same gravitational acceleration,
your gradient should be the same, independant of the exact value.
geth03 is offline   Reply With Quote

Reply

Tags
boundaries condition, heat boundary condition, openfoam, p_rgh, p_rgh open domain


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
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 05:28
LEMOS InflowGenerator r_gordon OpenFOAM Running, Solving & CFD 103 December 18, 2018 01:58
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34


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