|
[Sponsors] |
Wrong calculation of hydrostatic pressure (InterFoam) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 16, 2017, 07:47 |
Wrong calculation of hydrostatic pressure (InterFoam)
|
#1 |
New Member
Lorena Fernández Fernández
Join Date: May 2016
Location: Spain
Posts: 21
Rep Power: 9 |
Hi foamers!
Currently, we are working on rivulets. In our case we have an uniform distribution of liquid on a inclined plane. It doesn't matter if you are on the top or on the bottom of the inclined plane, the rho*g*h distribution must be almost the same (only depends on the liquid above), because liquid height is the same. Where is the line between and . Currently, openFoam simplify the problem, It is assumed than doesn't depend on . And we get: where . In the attached image you can see four points. On OpenFoam the hydrostatic pressure is calculated: If my is on the interface, (1) and (4) are well calculated. If is on the top, (4) is wrong. No matter what I selected, (2) and (3) have the same hydrostatic pressure (in OpenFoam), and that is not true. Does anyone know how to fix this problem? Greetings, Lorena |
|
October 17, 2017, 00:42 |
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33 |
Well, “works for me”...
Joking aside: this must work because if it did not my ships would not float. Are you sure you are looking at the right thing?
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
October 17, 2017, 03:33 |
|
#3 |
New Member
Lorena Fernández Fernández
Join Date: May 2016
Location: Spain
Posts: 21
Rep Power: 9 |
Hi Jasak,
I have taken a second view at the code. The wrong calculation is for p as it is assume that p=p_rhg-rhg where is rgh is a wrong aproximation (for my case) of the hydrostatic pressure. However, p is not used on the calculation. It is p_rhg, and this is correct evalueated. My fear was that the wrong value of p could affect the simulation. On the attached image you can see rho*g*h where rho*g*h = p-p_rgh. In our case (an uniform distribution of liquid on a inclined plane), if rho*g*h must be the hydrostatic pressure, the estimation is wrong. I have seen that exist interFoamPressure on Foam-extend, This utility is used for take a good calculation of p. Thanks and greetings, Lorena |
|
October 17, 2017, 07:54 |
|
#4 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33 |
Hi Lorena,
D0 not worry; the decomposition is fine. Please look for some recent papers by Vukčević and Jasak and you will find a detailed derivation. Sorry, I do not recall,exactly which one it is...
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Strange Hydrostatic Boundary Backflow with interFoam | KTG | OpenFOAM Running, Solving & CFD | 0 | November 15, 2016 21:32 |
sonicFoam - pressure driven pipe: flow continuity violation and waveTransmissive BC | Endel | OpenFOAM Running, Solving & CFD | 3 | September 11, 2014 16:29 |
vof + hydrostatic pressure | ariorus | FLUENT | 0 | August 7, 2009 10:57 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 05:13 |
Hydrostatic pressure in 2-phase flow modeling (long) | DS & HB | Main CFD Forum | 0 | January 8, 2000 15:00 |