|
[Sponsors] |
March 22, 2017, 15:01 |
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 |
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 |
|
March 22, 2017, 16:45 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
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.
|
|
March 22, 2017, 16:50 |
|
#3 |
Senior Member
Have a nice time!
Join Date: Feb 2016
Location: mech.eng.ahmedmansour@gmail.com
Posts: 291
Rep Power: 11 |
Thank you!
|
|
March 23, 2017, 02:55 |
|
#4 |
Senior Member
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14 |
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 ? |
|
March 23, 2017, 05:43 |
|
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
If a system outlets to normal atmosphere, then use a reference pressure of 1 atmosphere with an outlet pressure of 0.
|
|
March 23, 2017, 07:00 |
|
#6 |
Senior Member
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14 |
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 ? |
|
March 23, 2017, 08:38 |
|
#7 |
Senior Member
Have a nice time!
Join Date: Feb 2016
Location: mech.eng.ahmedmansour@gmail.com
Posts: 291
Rep Power: 11 |
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 |
|
March 23, 2017, 08:48 |
|
#8 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,167
Rep Power: 23 |
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. |
|
March 24, 2017, 12:35 |
|
#9 |
Senior Member
Join Date: Jun 2009
Posts: 174
Rep Power: 16 |
Just ignore the reference pressure in CFX, always putting 0 there.
Then use whatever real pressures you have. Free of worries. |
|
March 25, 2017, 16:27 |
|
#10 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
Quote:
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. |
||
March 25, 2017, 21:56 |
|
#11 | |
Senior Member
Join Date: Jun 2009
Posts: 174
Rep Power: 16 |
Quote:
|
||
March 26, 2017, 05:25 |
|
#12 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
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.
|
|
March 28, 2017, 08:22 |
|
#13 |
Senior Member
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14 |
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. |
|
March 28, 2017, 09:14 |
|
#14 |
Senior Member
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32 |
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, |
|
March 28, 2017, 09:34 |
|
#15 |
Senior Member
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14 |
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 ?? |
|
March 29, 2017, 05:18 |
|
#16 |
New Member
Join Date: Sep 2015
Posts: 17
Rep Power: 10 |
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. |
|
March 19, 2021, 06:21 |
Problem in plotting hydrostatic pressure
|
#17 |
New Member
Mahesh
Join Date: Mar 2020
Posts: 20
Rep Power: 6 |
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.
|
|
March 19, 2021, 07:24 |
|
#18 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27 |
What about the variable "Absolute Pressure"?
|
|
March 19, 2021, 20:56 |
|
#19 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
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. |
|
March 23, 2021, 07:53 |
Reference Values
|
#20 |
New Member
Mahesh
Join Date: Mar 2020
Posts: 20
Rep Power: 6 |
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. |
|
|
|
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 |