|
[Sponsors] |
August 27, 2012, 11:50 |
buoyantBoussinesqPimpleFoam zero velocity
|
#1 | |||
Member
Norbert Weber
Join Date: May 2012
Location: Dresden, Germany
Posts: 37
Rep Power: 14 |
For making a new solver it is important to see, that without any force or pressure, the velocity is 0.
I tried that with the hotRoom example of buoyantBoussinesqPimpleFoam. I just changed the temperatur-field to be constant in the whole area and got the result shown in the picture. It seems, that there is some velocity around the pressure reference cell. Has someone an explanation? I tried pRefCell and pRefPoint and got the same strange U-field. fvsolution: Quote:
Quote:
Quote:
|
||||
September 4, 2012, 05:37 |
|
#2 | |
Member
Norbert Weber
Join Date: May 2012
Location: Dresden, Germany
Posts: 37
Rep Power: 14 |
I found the reason, but do not know the solution yet. Can anyone help?
The pressure reference may be definded as Quote:
In buoyantBoussinesqPimpleFoam, it seems, that p_rgh is interpolated to the cell face. If my first cell is 1m high and I use it as reference cell, than OF calculates p_rgh = pRefValue + (1/2) * g. The 0.5 is the distance between cell center and cell surface. If I use a cell in the second layer as reference cell p_rgh= pRefValue + (1+(1/2))*h_cell *g. What I want to say: as implemented now, p_rgh is not the pure dynamic pressure, but depends on where the pressure reference is. In my eyes it should be better to set p_rgh = 0 and use it as dynamic pressure. But how to do that? This issue is a problem, because many people will not know about that. As it is now, p_rgh must allways be initialized with the correct values. Otherwise, the correct pressure will be calculated in the first time step. And that induces a movement of the liquid which is not correct at all. The hotRoom example of buoyantBoussinesqPimpleFoam is therefore slightly wrong! Last edited by dl6tud; September 18, 2012 at 08:14. |
||
September 13, 2012, 05:10 |
|
#3 | ||
Member
Norbert Weber
Join Date: May 2012
Location: Dresden, Germany
Posts: 37
Rep Power: 14 |
Update:
There are two problems: (1) p_rgh contains a part of the hydrostatic pressure, depending on the pRefCell (2) the laplace(T=const.) is not zero, described here: http://www.cfd-online.com/Forums/ope...-sngrad-t.html Problem 1 can be solved by initializing p_rgh with the correct values, or by correcting the code as follows: Quote:
Quote:
Last edited by dl6tud; September 18, 2012 at 08:21. |
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plotting Radial Velocity and Tangential Velocity in CFD Post | ashtonJ | CFX | 5 | July 13, 2015 03:49 |
Velocity in Porous medium : HELP! HELP! HELP! | Kali Sanjay | Phoenics | 0 | November 6, 2006 07:10 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 03:15 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |