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

Hydrostatic pressure modelling in simpleFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By arvindpj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2019, 12:22
Default Hydrostatic pressure modelling in simpleFOAM
  #1
New Member
 
Edward
Join Date: Nov 2018
Location: Ottawa
Posts: 9
Rep Power: 8
EJohn is on a distinguished road
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
EJohn is offline   Reply With Quote

Old   February 12, 2019, 12:44
Default
  #2
New Member
 
Edward
Join Date: Nov 2018
Location: Ottawa
Posts: 9
Rep Power: 8
EJohn is on a distinguished road
Any useful feedback is appreciated.

Thanks,
Edward
EJohn is offline   Reply With Quote

Old   February 14, 2019, 12:42
Default
  #3
Member
 
Arvind Jay
Join Date: Sep 2012
Posts: 97
Rep Power: 15
arvindpj is on a distinguished road
Quote:
Originally Posted by EJohn View Post
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
Yes, if the density dependence of temperature is low to moderate, i.e., for fluids like water at STP, you can use buoyantBoussinesqSimpleFoam

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
arvindpj is offline   Reply With Quote

Old   February 14, 2019, 15:05
Default
  #4
New Member
 
Edward
Join Date: Nov 2018
Location: Ottawa
Posts: 9
Rep Power: 8
EJohn is on a distinguished road
Quote:
Originally Posted by arvindpj View Post
Yes, if the density dependence of temperature is low to moderate, i.e., for fluids like water at STP, you can use buoyantBoussinesqSimpleFoam

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
Hi Jay,

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
EJohn is offline   Reply With Quote

Old   February 14, 2019, 16:16
Default
  #5
Member
 
Arvind Jay
Join Date: Sep 2012
Posts: 97
Rep Power: 15
arvindpj is on a distinguished road
Quote:
Originally Posted by EJohn View Post
Hi Jay,

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

'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
EJohn likes this.
arvindpj is offline   Reply With Quote

Old   June 10, 2022, 15:55
Default
  #6
Member
 
Mahmoud
Join Date: Nov 2020
Location: United Kingdom
Posts: 43
Rep Power: 6
Mahmoud Abbaszadeh is on a distinguished road
Quote:
Originally Posted by EJohn View Post
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


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
Mahmoud Abbaszadeh is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 23:06.