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

Outflow boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2023, 00:50
Default Outflow boundary condition
  #1
Member
 
BM
Join Date: Sep 2021
Posts: 35
Rep Power: 5
blyatman is on a distinguished road
I have a simple setup with 2 boundary surfaces: one is a velocity inlet, and the other is outflow. The flow is single phase and incompressible, with no energy equation.

My question is: if pressure is not specified anywhere in the domain, then how is pressure calculated? I understand that since the flow is incompressible, only the change in pressure is relevant, but doesn't Fluent still need to fix pressure at some location to solve for the pressure field?

A similar follow up question would be if you specify one surface as a pressure inlet and the other as a pressure outlet, then how is the velocity field calculated since the velocity (and hence mass flow) is not specified anywhere?
blyatman is offline   Reply With Quote

Old   May 22, 2023, 03:33
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,763
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Fluent fixes the operating pressure at the reference location. The default is the cell closest to the origin.

Quote:
Originally Posted by blyatman View Post
A similar follow up question would be if you specify one surface as a pressure inlet and the other as a pressure outlet, then how is the velocity field calculated since the velocity (and hence mass flow) is not specified anywhere?
Have you ever tried turning on a water faucet? There is a fixed pressure upstream and downstream and yet somehow... the flow does indeed flow out of the faucet at a fixed rate. Hmmms... Nature doesn't use algorithms to determine the flowrate. Fixed pressures constraints are very practical and real boundary conditions.
LuckyTran is offline   Reply With Quote

Old   May 22, 2023, 08:39
Default
  #3
Member
 
BM
Join Date: Sep 2021
Posts: 35
Rep Power: 5
blyatman is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Have you ever tried turning on a water faucet? There is a fixed pressure upstream and downstream and yet somehow... the flow does indeed flow out of the faucet at a fixed rate. Hmmms... Nature doesn't use algorithms to determine the flowrate. Fixed pressures constraints are very practical and real boundary conditions.
I meant how is it solved numerically? Like suppose I have a pipe of uniform cross-section, and I specify the pressures at both ends. There is an infinite number of solutions right? So how does Fluent "pick" the velocity?
blyatman is offline   Reply With Quote

Old   May 23, 2023, 00:41
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,763
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Within reason, there's only one solution that satisfies conservation of mass and momentum. Nature doesn't pick velocity and neither does Fluent. Fluent solves transport equations. If you turn on a faucet an infinite number of flows doesn't come out.


Of course due to non-linearity you need to supply initial guesses and there is a procedure for how the transport equations actually do get solved, but I don't think that was your question. But if it was, you discretize the navier-stokes onto the computational grid via the FVM method and apply the Gauss divergence theorem. And then discretize all the terms and this gives you a system of equations that need to be solved over the entire mesh that you then solve using a linear solver. These are just details in how the equation get solved, it is akin to asking how does one numerically solve x+1=2 and x + 2 = 3. Regardless of how Fluent might attempt to solve this system, the answer is obviously 1. Now substitute instead of x+1 and x+2 the conservation of mass and momentum over a computational cell.
LuckyTran is offline   Reply With Quote

Old   May 30, 2023, 05:41
Default
  #5
Member
 
BM
Join Date: Sep 2021
Posts: 35
Rep Power: 5
blyatman is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Within reason, there's only one solution that satisfies conservation of mass and momentum.
This was the part I was confused about. If there was just a pipe with uniform cross-section, then any velocity would satisfy conservation of mass. Likewise, wouldn't momentum also be conserved for any velocity since the only thing that matters is the pressure difference? So if there was a 10 Pa pressure difference, how would we uniquely determine velocity?

Sorry if my questions seem super basic.
blyatman is offline   Reply With Quote

Old   May 31, 2023, 16:45
Default
  #6
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,763
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You have no slip walls as a boundary condition on the pipe walls. A pressure drop of 10 Pa (or any other number) must be exactly equal to the integrated wall shear stress on the pipe walls or you will not satisfy the momentum balance. So, you have to solve for the velocity field that has this wall shear stress that is also continuous.


Hence, when you turn on a faucet, it has a supply pressure and atmospheric pressure. This driving pressure difference is exactly matched with the friction in the system and water flows at a fixed rate out of your faucet.
LuckyTran is offline   Reply With Quote

Old   June 1, 2023, 08:30
Default
  #7
Member
 
BM
Join Date: Sep 2021
Posts: 35
Rep Power: 5
blyatman is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
You have no slip walls as a boundary condition on the pipe walls. A pressure drop of 10 Pa (or any other number) must be exactly equal to the integrated wall shear stress on the pipe walls or you will not satisfy the momentum balance. So, you have to solve for the velocity field that has this wall shear stress that is also continuous.


Hence, when you turn on a faucet, it has a supply pressure and atmospheric pressure. This driving pressure difference is exactly matched with the friction in the system and water flows at a fixed rate out of your faucet.
Ah right, I forgot about the pressure loss due to friction. Thanks for clearing that up!
blyatman is offline   Reply With Quote

Reply

Tags
outflow


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
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 17, 2020 00:44
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 09:44
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 05:39
How to set outflow boundary condition in openfoam gejiabin OpenFOAM Running, Solving & CFD 4 March 11, 2014 08:16
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00


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