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

CFX reference pressure

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2017, 15:01
Default CFX reference pressure
  #1
Senior Member
 
Have a nice time!
Join Date: Feb 2016
Location: mech.eng.ahmedmansour@gmail.com
Posts: 291
Rep Power: 11
Ahmed Saeed Mansour is on a distinguished road
Hello, I want to know what is the value of the reference pressure in CFX that I have to use? 1 atm or 0 atm for a centrifugal pump..
Thanks
Ahmed Saeed Mansour is offline   Reply With Quote

Old   March 22, 2017, 16:45
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The reference pressure should be set to somewhere between the highest and lowest pressure expected in the system. If the system includes a section which is atmospheric it makes sense to use atmospheric pressure as the reference.
ghorrocks is offline   Reply With Quote

Old   March 22, 2017, 16:50
Default
  #3
Senior Member
 
Have a nice time!
Join Date: Feb 2016
Location: mech.eng.ahmedmansour@gmail.com
Posts: 291
Rep Power: 11
Ahmed Saeed Mansour is on a distinguished road
Thank you!
Ahmed Saeed Mansour is offline   Reply With Quote

Old   March 23, 2017, 02:55
Default
  #4
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Hi Glenn

Then does it mean that if there is an outlet to atmosphere (which is common in most cases) both Reference pressure and the Outlet boundary condition (Pressure ) to be given as Zero or 1 atm ?
AS_Aero is offline   Reply With Quote

Old   March 23, 2017, 05:43
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If a system outlets to normal atmosphere, then use a reference pressure of 1 atmosphere with an outlet pressure of 0.
ghorrocks is offline   Reply With Quote

Old   March 23, 2017, 07:00
Default
  #6
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
And is it possible that we can give static pressure at the inlet (as in experimental setup the barometer reads static pressure) and the outlet as 0 pa with ref pressure as 1 bar ?
So here basically we are giving both pressure bc'n is it ok to give like that or is it ill posed problem ?
AS_Aero is offline   Reply With Quote

Old   March 23, 2017, 08:38
Default
  #7
Senior Member
 
Have a nice time!
Join Date: Feb 2016
Location: mech.eng.ahmedmansour@gmail.com
Posts: 291
Rep Power: 11
Ahmed Saeed Mansour is on a distinguished road
Okay, I have inlet mass flow rate and outlet static pressure 290 KPa, So what is the reference pressure and the outlet static pressure?
Thanks
Ahmed Saeed Mansour is offline   Reply With Quote

Old   March 23, 2017, 08:48
Default
  #8
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,167
Rep Power: 23
evcelica is on a distinguished road
The point of the reference pressure is to limit round off errors in floating point operations.
Simple example: it is easier to say 2-1=1 than 100000002-100000001=1. So In that calculation I would use 100000000 for my "reference number", to make all the math easier.

For a computer using floating point numbers, it is more accurate as well.
2E0-1E0=1E0
or
1.00000002E8 - 1.00000001E8 = 1E0 (you can see you can lose accuracy this way as we are using up more of our floating point number with meaningless numbers, therefore wasting them.)

All other pressure boundary conditions and variables are now relative to the reference pressure. Even in the solution, the "Pressure" variable is relative to this reference. If you want absolute pressure, you would use the "Absolute Pressure" variable.

You could just as easy run a simulation with 0 reference pressure, and your outlet at 1 atm, this is mathematically correct. Heck, even 10 atm reference pressure, and an outlet relative pressure of -9 atm would work fine. You will just not be as accurate numerically as using 1 atm reference pressure, and 0 at outlet.
phPatras, NewToAnsys and Goenitz like this.
evcelica is offline   Reply With Quote

Old   March 24, 2017, 12:35
Default
  #9
Senior Member
 
Join Date: Jun 2009
Posts: 174
Rep Power: 16
turbo is on a distinguished road
Just ignore the reference pressure in CFX, always putting 0 there.
Then use whatever real pressures you have. Free of worries.
Kamal Kosta likes this.
turbo is offline   Reply With Quote

Old   March 25, 2017, 16:27
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
Free of worries.
Providing it converges, then yes, free of worries. If it does not converge then what? I presume then you can worry

The point of reference pressure is to reduce round off error and make convergence easier. If your simulation is easy to converge then you can do anything you like as turbo says. But if your simulation is tricky to converge you need to be careful about it or it will cause a failure to converge. Personally I always set the reference pressure to a sensible value as it is one of the easiest parameters to get right as about 10 seconds thought is all which is required to correctly set it.
ghorrocks is offline   Reply With Quote

Old   March 25, 2017, 21:56
Default
  #11
Senior Member
 
Join Date: Jun 2009
Posts: 174
Rep Power: 16
turbo is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Providing it converges, then yes, free of worries. If it does not converge then what? I presume then you can worry

The point of reference pressure is to reduce round off error and make convergence easier. If your simulation is easy to converge then you can do anything you like as turbo says. But if your simulation is tricky to converge you need to be careful about it or it will cause a failure to converge. Personally I always set the reference pressure to a sensible value as it is one of the easiest parameters to get right as about 10 seconds thought is all which is required to correctly set it.
Both you and "evcelica" stated the issue of round-off errors which will affect solution stability, as CFX manual says. However, my thought is different : As for the special case where the inlet and exit boundary pressure undergoes very tiny changes not enough to induce dynamic flows, the use of pressure boundary conditions should be avoided because of non-physical. Instead, the velocity inlet and the exit Neuman pressure gradient, or the total pressure inlet and massflow exit will be better in such a highly incompressibe flow case. The original post was asking on centrifugal pump simulation, and of course due to a significant pressure jump across the pump the zero reference pressure should be absolutely fine. In most of turbomachinery flows it will be OK. The non-zero reference pressure makes me crazy in the Post process bringing confusion.
turbo is offline   Reply With Quote

Old   March 26, 2017, 05:25
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Agreed - there are configurations where it is not important. But there are others where it is. Rather than having to figure out whether it is important or not I just set it as recommended and then I don't have to worry about it.
ghorrocks is offline   Reply With Quote

Old   March 28, 2017, 08:22
Default
  #13
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
So what if my real Total pressure is 108000 Pa (10.08 bar) and outlet is atmospheric pressure (1 bar) and my Reference Pressure ?

If I give Reference pressure = 1 bar my outlet pressure (static ) = 0 bar and what about inlet ? Should I give 10.08bar or 9.08bar ?? Kindly let me know.
AS_Aero is offline   Reply With Quote

Old   March 28, 2017, 09:14
Default
  #14
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
Relative Pressure = Absolute Pressure - Reference Pressure

and

Total "Relative" Pressure = "Total" Absolute Pressure - Reference Pressure

Keep in mind that

Total Pressure = Static Pressure + 1/2 * Density * V^2 (for incompressible flows)

If you subtract Reference Pressure from both sides, you will see how they are related.

Hope the above helps,
Opaque is offline   Reply With Quote

Old   March 28, 2017, 09:34
Default
  #15
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
So In my case I have to give 9.08 as my Total Pressure at Inlet and 0 at Outlet and Reference = 1 bar
So my real pressure (total Pressure ) (as in experiment) = 10.08 bar
So how does it works in CFX and in Post Processing of CFX Pressure is Static Pressure right ??
AS_Aero is offline   Reply With Quote

Old   March 29, 2017, 05:18
Default
  #16
New Member
 
Join Date: Sep 2015
Posts: 17
Rep Power: 10
guillaume74 is on a distinguished road
You can either choose to use 10.08 bar at inlet and 1 bar at outlet (with 0 bar ref pressure), or use 9.08 bar at inlet and 0 bar at outlet (with 1 bar ref pressure). The results will be the same as the flow is incompressible.

However, in the post processing, be aware that you might have to add the ref pressure to your static pressure depending which option you chose.
guillaume74 is offline   Reply With Quote

Old   March 19, 2021, 06:21
Default Problem in plotting hydrostatic pressure
  #17
New Member
 
Mahesh
Join Date: Mar 2020
Posts: 20
Rep Power: 6
mahesh1819 is on a distinguished road
Hi, I have solved a case for hydrostatic force in a tank. The profile (Fig attached) I am getting correct nut the values are not matching with manual calculation. Height of water is 4.2m. Please help where I am wrong.
Attached Images
File Type: png Fig-2.png (50.8 KB, 42 views)
mahesh1819 is offline   Reply With Quote

Old   March 19, 2021, 07:24
Default
  #18
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
What about the variable "Absolute Pressure"?
Gert-Jan is offline   Reply With Quote

Old   March 19, 2021, 20:56
Default
  #19
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
As Gert-Jan says, you probably want Absolute Pressure.

Read the CFX manual about the pressure variable. In flows with gravity it has the hydrostatic component removed by the reference point and a reference density. The fact that you are seeing a variation in pressure at all in a hydrostatic simulation means you have not set these reference values correctly. The pressure variable should be constant in a hydrostatic simulation in CFX.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   March 23, 2021, 07:53
Default Reference Values
  #20
New Member
 
Mahesh
Join Date: Mar 2020
Posts: 20
Rep Power: 6
mahesh1819 is on a distinguished road
Dear Gert-Jan,

Thanks for your time and reply. Please suggest what shall be the reference pressure and density values to be given to get the hydrostatic profile as per hand calculation?

I have currently mentioned atmospheric pressure (1 atm) and relative density as 1.185 kg/m3) as per attached fig. and could not plot the required hydrostatic profile.

Thanks in advance.
Attached Images
File Type: png Untitled.png (16.9 KB, 45 views)
mahesh1819 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 21:43
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 04:28
CFX Pressures frossi CFX 3 July 2, 2016 06:51
CFX domain reference pressure jthiakz CFX 3 August 17, 2014 18:25
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56


All times are GMT -4. The time now is 18:19.