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

Regarding boundary conditions

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 2 Post By Gert-Jan
  • 2 Post By urosgrivc
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2020, 21:53
Default Regarding boundary conditions
  #1
New Member
 
Basivi Reddy
Join Date: Mar 2017
Location: Tainan, Taiwan
Posts: 10
Rep Power: 9
basivi is on a distinguished road
I want to calculate pressure drop,

Reference pressure: 1atm

Total pressure (stable) at inlet: 20psi

Static pressure at outlet: 0pa

Fluid: water

Pressure drop: area average total pressure at inlet - area average total pressure at outlet.

Is this the right approach? any suggestions or corrections?
basivi is offline   Reply With Quote

Old   March 19, 2020, 06:04
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Have you read the CFX documentation on choosing boundary conditions? It has some good tips on which combinations of boundary condition work well.
__________________
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 19, 2020, 06:30
Default
  #3
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,929
Rep Power: 28
Gert-Jan will become famous soon enough
a massflow average would be better than an area average.
Gert-Jan is offline   Reply With Quote

Old   March 19, 2020, 07:24
Default
  #4
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 12
urosgrivc is on a distinguished road
What you are setting up is not ok...

You have specified a pressure drop as a boundary condition (inlet 20psi outlet 0pa)
this is the answer (you must not set the answer to your problem as a boundary condition, because where is the point then?)

If you want to get the pressure drop as a result from the simulation:
you would have to specify either Inlet or Outlet pressure and mass flow (or velocity which is the same thing)
Now you would be able to get pressure drop as a result

What you have done by setting inlet and outlet pressure (you have fixed the pressure drop) from this simulation result would be mass flow or any of the flow velocities
urosgrivc is offline   Reply With Quote

Old   March 19, 2020, 07:45
Default
  #5
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,929
Rep Power: 28
Gert-Jan will become famous soon enough
I do not agree. I think the setup is ok. Total pressure includes the dynamic pressure component which is unknown from the start since the velocity is yet unknown.

So, it depends on definition of pressure drop. You cannot take the difference between total pressure on the inlet and static pressure on the outlet.
It is either difference in total pressure or difference in static pressure.
But from a bernoulli point of view it is best to take the difference in total pressure.

The total pressure on the oulet is not known yet. It will be the outcome of your simulation. So I think your setup is ok. However, as mentioned earlier, I would take the mass flow average instead as area average.
urosgrivc and basivi like this.
Gert-Jan is offline   Reply With Quote

Old   March 19, 2020, 07:56
Default
  #6
New Member
 
Basivi Reddy
Join Date: Mar 2017
Location: Tainan, Taiwan
Posts: 10
Rep Power: 9
basivi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Have you read the CFX documentation on choosing boundary conditions? It has some good tips on which combinations of boundary condition work well.
Yes, also I am confused, maybe because I am reading a lot or mixing up different scenarios I read on the forum with my case.
Attached Images
File Type: jpg hh.JPG (105.2 KB, 16 views)
basivi is offline   Reply With Quote

Old   March 19, 2020, 07:59
Default
  #7
New Member
 
Basivi Reddy
Join Date: Mar 2017
Location: Tainan, Taiwan
Posts: 10
Rep Power: 9
basivi is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
a massflow average would be better than an area average.
Noted, thanks.
basivi is offline   Reply With Quote

Old   March 19, 2020, 08:03
Default
  #8
New Member
 
Basivi Reddy
Join Date: Mar 2017
Location: Tainan, Taiwan
Posts: 10
Rep Power: 9
basivi is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
I think the setup is ok. Total pressure includes the dynamic pressure component which is unknown from the start since the velocity is yet unknown.
I think the same.

How to approach the problem if I know only static pressure at inlet? and outlet is open to the atmosphere?
basivi is offline   Reply With Quote

Old   March 19, 2020, 09:10
Default
  #9
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 12
urosgrivc is on a distinguished road
In this case, I would add a large 'buffering' volume on the outlet, so the Boundary condition opening is not close to the actual 'thing (a nozzle, exhaust or whatever)' of interest, actually to simulate a part of the surrounding


This simulation would run with pressure inlet condition and opening pressure on the far-field boundary condition
the outlet, in this case, is opened to the atmosphere
The simulation is transient in this case but can be steady-state of course
in this case, Pressure drop in the muffler is obtained from the simulation as it is a part of the solution

maybe you can be more specific about your simulation as I can see we did not understand ourselves previously
Gert-Jan and basivi like this.
urosgrivc is offline   Reply With Quote

Old   March 19, 2020, 09:43
Default
  #10
New Member
 
Basivi Reddy
Join Date: Mar 2017
Location: Tainan, Taiwan
Posts: 10
Rep Power: 9
basivi is on a distinguished road
Quote:
Originally Posted by urosgrivc View Post
In this case, I would add a large 'buffering' volume on the outlet, so the Boundary condition opening is not close to the actual 'thing (a nozzle, exhaust or whatever)' of interest, actually to simulate a part of the surrounding


This simulation would run with pressure inlet condition and opening pressure on the far-field boundary condition
the outlet, in this case, is opened to the atmosphere

maybe you can be more specific about your simulation as I can see we did not understand ourselves previously

Thanks for the reply.

1. My area of interest is to study pressure drop between inlet and outlet.

2. I am simulating UV-C water filter (no porous media inside). Based on the pressure drop data, I have to suggest changes to design.

3. I have experimental data, which are, a) Pressure (don't know whether it is static pressure or total pressure, please see the digital gauge setup) at inlet which is 20 psi, b) outlet mass flow rate 2 liters/min.

4. I finished a case without specifying massflow rate because i want to know massflow rate at outlet,

Boundary conditions:

Total pressure at inlet 20 psi, outlet static pressure 0pa

result: massflow rate at outlet: 4.4 liters/min, area average total pressure at outlet is 0.1psi.
Attached Images
File Type: jpg 20200319_213316.jpg (46.4 KB, 13 views)
basivi is offline   Reply With Quote

Old   March 19, 2020, 15:18
Default
  #11
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Your setup is sound since your inlet is a Total Pressure condition, i.e. a plenum upstream.

On the appropriate average to use, I would stick to areaAve ONLY because we are talking about a momentum balance, and pressure is force/area

In the case of momentum, or enthalpy transport I would definitely use massFlowAve since accounts for the total advected quantity.

an easy way to see is by integrating the transport equation over the whole domain which by the Gauss theorem becomes a surface integral, and you must balance

areaInt (mass flux * Velocity),

areaInt (wall shear)

areaInt (pressure )

and so on. You can then replace the areaInt by areaAve () * Area.

There you go. Hope it helps,
basivi likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   March 20, 2020, 02:22
Question
  #12
New Member
 
Basivi Reddy
Join Date: Mar 2017
Location: Tainan, Taiwan
Posts: 10
Rep Power: 9
basivi is on a distinguished road
can anyone help me understand this,

1. Which pressure difference I have to consider? ('case 2' and 'case 3' pressure difference is close)

2. Is specifying mass flow outlet in 'case 2' as 0.03 kg/s (experimental result) correct approach?
Attached Images
File Type: jpg CFX.jpg (61.9 KB, 15 views)
basivi is offline   Reply With Quote

Old   March 20, 2020, 03:17
Default
  #13
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,929
Rep Power: 28
Gert-Jan will become famous soon enough
Sorry to be blunt, but clearly you don't understand the real basic things of hydrodynamics. I would suggest to try to understand Bernouilli equation before performing CFD calculations.

A suggestion would be to perform multiple cases with increasing velocities on the inlet and 0 pressure on the outlet. Then use Excel to plot Total/Static/Dynamic pressures versus velocity/massflow/volumeflow.
Gert-Jan is offline   Reply With Quote

Old   March 20, 2020, 04:04
Default
  #14
New Member
 
Basivi Reddy
Join Date: Mar 2017
Location: Tainan, Taiwan
Posts: 10
Rep Power: 9
basivi is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
Sorry to be blunt, but clearly you don't understand the real basic things of hydrodynamics. I would suggest to try to understand Bernouilli equation before performing CFD calculations.

A suggestion would be to perform multiple cases with increasing velocities on the inlet and 0 pressure on the outlet. Then use Excel to plot Total/Static/Dynamic pressures versus velocity/massflow/volumeflow.
Okay Thanks.
basivi 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 09:44
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source silvan CFX 3 June 16, 2014 10:49
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28


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