|
[Sponsors] |
February 9, 2019, 12:22 |
Hydrostatic pressure modelling in simpleFOAM
|
#1 |
New Member
Edward
Join Date: Nov 2018
Location: Ottawa
Posts: 9
Rep Power: 8 |
Hey all,
I have a 5m cylindrical pipe submerged vertically in a tank which has a height of 5m and length of 20 m horizontally. The inlet has water flowing in at 10m/s and exiting to atmosphere. I am interested in modelling the hydrostatic pressure distribution with depth since this would be significant towards the bottom of the pipe. I have looked though threads on this site but couldn't find sufficient information to correctly simulate my case. Since simpleFoam doesn't model gravity, one can make corrections to the momentum equation by adding 'g'. I am not sure if this is a suitable approach but I was thinking if it would be possible to use certain boundary patches on the inlet or outlet to account for a non-uniform pressure gradient. buoyantBoussinesqSimpleFoam is also recommended for these cases. But after testing it out I found that there is no difference in the pressure gradient of the p_rgh data fields even after increasing the acceleration from 9.81 to 20 m/s^2. I would really appreciate it if someone can provide some insight to my problem. Thanks, Edward |
|
February 12, 2019, 12:44 |
|
#2 |
New Member
Edward
Join Date: Nov 2018
Location: Ottawa
Posts: 9
Rep Power: 8 |
Any useful feedback is appreciated.
Thanks, Edward |
|
February 14, 2019, 12:42 |
|
#3 | |
Member
Arvind Jay
Join Date: Sep 2012
Posts: 97
Rep Power: 15 |
Quote:
In buoyantBoussinesqSimpleFoam , the field variable name 'p_rhg' mean the pressure field is subtracted by the hydrodynamic component (rho.g.h) thats why you are not seeing the pressure gradient. In order to see the pressure gradient, see the 'p' field. Cheers, Jay |
||
February 14, 2019, 15:05 |
|
#4 | |
New Member
Edward
Join Date: Nov 2018
Location: Ottawa
Posts: 9
Rep Power: 8 |
Quote:
Thanks for your reply. I noticed that the 'p' field shows only the static pressure. Would it be possible to combine the dynamic and hydrostatic pressures so that I can see the total pressure field? Regards, Edward |
||
February 14, 2019, 16:16 |
|
#5 | |
Member
Arvind Jay
Join Date: Sep 2012
Posts: 97
Rep Power: 15 |
Quote:
'p' field does include the hydrostatic component when you use buoyant solvers and have gravity on. If you still need total pressure, which also include the 0.5*rho*u2 component you can use the totalPressure postprocess utility. -Jay |
||
June 10, 2022, 15:55 |
|
#6 | |
Member
Mahmoud
Join Date: Nov 2020
Location: United Kingdom
Posts: 43
Rep Power: 6 |
Quote:
Hi Ed, Have you found an answer to your question? I want to define the hydrostatic pressure with the simpleFoam. It seems that there is no such an option |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 22:43 |
interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 16:26 |
Residuals and forces spiraling out of control before failing | edomalley1 | OpenFOAM Running, Solving & CFD | 3 | September 7, 2018 11:42 |
CFX Solver stopped with error when requested for backup during solver running | Mfaizan | CFX | 40 | May 13, 2016 07:50 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 03:15 |