CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Including the hydrostatic contribution to static pressure

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2019, 09:17
Default Including the hydrostatic contribution to static pressure
  #1
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 11
MissCFD is on a distinguished road
Hello,

I am new with Fluent and I don’t understand something about the hydrostatic contribution.

I simulate a simple water flow in a circular pipe with a velocity at inlet and a static pressure at outlet.

I read that in order to display the hydrostatic contribution in the static pressure, we have to activate the gravity and set the specified operating density option to zero if we assume a fluid density of 1000 kg/m^3.

So, by deactivating the gravity, I thought that the static pressure difference between the two models (gravity activated, and gravity not activated) will be equal to the hydrostatic contribution but it’s not the case in my simulations …

Please, can somebody explain it to me or tell me if I made a mistake somewhere ?
MissCFD is offline   Reply With Quote

Old   January 22, 2019, 09:40
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Probably you make an unclear mistake somewhere. Instead of deactivating gravity, try just setting it to 0.

With gravity, are you able to successfully see the hydrostatic pressure?


Quote:
Originally Posted by MissCFD View Post
will be equal to the hydrostatic contribution but it’s not the case in my simulations …

What do you mean? Hydrostatic contribution to the flow or what? If you want to get the hydrostatic part of the pressure, you could just quickly calculate rho*g*h from a custom field function.
LuckyTran is offline   Reply With Quote

Old   January 22, 2019, 10:16
Default
  #3
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 11
MissCFD is on a distinguished road
Yeah I can see the hydrostatic pressure but the reference for the ''h'' is not good.
Fluent seems to take the top of the pipe for h=0 and not the center where the coordinates are (0,0,0). Is it normal ? How can we set the reference height ?
MissCFD is offline   Reply With Quote

Old   January 23, 2019, 09:03
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Well it depends how you set the reference pressure.
LuckyTran is offline   Reply With Quote

Old   January 23, 2019, 10:36
Default
  #5
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 11
MissCFD is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Well it depends how you set the reference pressure.
Do you talk about the operating pressure or the reference pressure?

To give you a better understanding of my problem, here is a picture of the pipe.
The coordinates (0,0,0) are at the center of the inlet face.
The radius of the circle is 2m.

Boundary conditions: velocity of 0.5m/s at inlet and static pressure = 0Pa at outlet

The operating pressure is 101325 + 998*9.81*5 = 150 200 Pa at (0,0,0)
Gravity is activated (0,-9.81,0) and operating density is set to 0.

I don’t understand why when I display the static pressure at inlet, I have -7600Pa at the top of the pipe (y=2m) and 30000Pa at the bottom of the pipe (y=-2m).

I expected to have something around -15000/-20000Pa at the top and +15000/20000Pa at the bottom (a smaller pressure than 998*9.81*2=20 000Pa because of the velocity of the fluid).
But it seems that Fluent takes the top of the pipe for h=0, why is it like this ?
Attached Images
File Type: png picture.png (8.2 KB, 19 views)
MissCFD is offline   Reply With Quote

Old   January 23, 2019, 11:58
Default
  #6
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Oops, operating pressure not reference pressure. It's easy to get confused because you set the operating pressure at a reference pressure location.

Are you assuming that the static pressure at 0,0,0 is going to be 0 Pa? Because you set the outlet static pressure as 0 Pa, which means the inlet would need to be greater static pressure. When you have a pressure boundary, you cannot specify the operating pressure to be at a specific location. The reference pressure location (0,0,0) is ignored.


What is your equation of state for density?
LuckyTran is offline   Reply With Quote

Old   January 24, 2019, 13:05
Default
  #7
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 11
MissCFD is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Oops, operating pressure not reference pressure. It's easy to get confused because you set the operating pressure at a reference pressure location.

Are you assuming that the static pressure at 0,0,0 is going to be 0 Pa? Because you set the outlet static pressure as 0 Pa, which means the inlet would need to be greater static pressure. When you have a pressure boundary, you cannot specify the operating pressure to be at a specific location. The reference pressure location (0,0,0) is ignored.


What is your equation of state for density?
I impose a velocity at inlet and a static pressure at outlet. So I don't assume the pressure at (0,0,0) is going to be 0 Pa.

I simulate an incompressible flow with the pressure-based solver .

Do you understand why I am unable to have the good hydrostatic pressure ?
What is the reference coordinate for the ''h'' in the hydrostatic contribution (rho*g*h) ? Where is this parameter set ?

Last edited by MissCFD; January 24, 2019 at 14:57.
MissCFD is offline   Reply With Quote

Old   January 24, 2019, 23:24
Default
  #8
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
There is no reference h, I mentioned rho*g*h simply to demonstrate a means to back-calculate the hydrostatic part. There is only a (rho-rho_ref)*g in the momentum equation.


What is your equation of state for density? Incompressible flow is not an option in Fluent.
LuckyTran is offline   Reply With Quote

Old   January 25, 2019, 11:32
Default
  #9
Senior Member
 
Join Date: Aug 2014
Posts: 160
Rep Power: 11
MissCFD is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
There is no reference h, I mentioned rho*g*h simply to demonstrate a means to back-calculate the hydrostatic part. There is only a (rho-rho_ref)*g in the momentum equation.


What is your equation of state for density? Incompressible flow is not an option in Fluent.
Density constant
MissCFD is offline   Reply With Quote

Old   January 25, 2019, 13:55
Default
  #10
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
At this point I would recommend to just set the operating presssure to 0 so you can view the absolute pressure.


I can't follow which way the pipe is oriented and what elevation your outlet is at to say what the pressure at the inlet would be. Just know that the pressure level is established based on where you set the pressure boundary.


Setting the operating density to 0 and constant pressure at the outlet adds a bit of a complication because you say the absolute pressure is constant despite having a hydrostatic contribution.
LuckyTran 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
What is difference between static pressure and gauge pressure? aja1345 FLUENT 1 July 20, 2018 20:05
Maintaining Static Pressure at Fluid Flow Inlet cdevalve FLUENT 3 January 14, 2012 00:11
Static vs Total Pressure Alfonso Ferrandez FLUENT 2 May 23, 2000 08:53
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 13:19
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 15:00


All times are GMT -4. The time now is 14:48.