|
[Sponsors] |
June 13, 2020, 10:12 |
reference value for p_rgh
|
#1 |
Member
Himanshu
Join Date: Jan 2017
Posts: 34
Rep Power: 9 |
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? |
|
June 23, 2020, 07:00 |
|
#2 |
Senior Member
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8 |
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. |
|
Tags |
boundaries condition, heat boundary condition, openfoam, p_rgh, p_rgh open domain |
|
|
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 |