CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

pressure inlet/outlet BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2019, 14:05
Default pressure inlet/outlet BC
  #1
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Hi all,

Is it ok if I set pressure at both inlet and outlet boundaries, and do NOT specify the mass flow rate?
A CFD expert told me once that is not acceptable because the solution would not be unique, while I confirmed with ANSYS rep and they said it is ok and there is nothing wrong with that. The solution would be unique either way.

Any guidance is much appreciated.
alinik is offline   Reply With Quote

Old   March 18, 2019, 14:16
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by alinik View Post
Hi all,

Is it ok if I set pressure at both inlet and outlet boundaries, and do NOT specify the mass flow rate?
A CFD expert told me once that is not acceptable because the solution would not be unique, while I confirmed with ANSYS rep and they said it is ok and there is nothing wrong with that. The solution would be unique either way.

Any guidance is much appreciated.



For incompressible flow you can set the pressure difference between inlet and outlet even if prescribing an absolute value for the pressure is not relevant for the solution. You would get the same solution with different values provided that the difference is the same.
FMDenaro is offline   Reply With Quote

Old   March 18, 2019, 14:20
Default
  #3
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Thanks Filippo,

So it is not like that multiple solutions may exist for the same pressure difference? right?
alinik is offline   Reply With Quote

Old   March 18, 2019, 14:24
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by alinik View Post
Thanks Filippo,

So it is not like that multiple solutions may exist for the same pressure difference? right?

Multiple solutions appear for the pressure equation as any pressure field is determined up to a function of time.
FMDenaro is offline   Reply With Quote

Old   March 18, 2019, 14:32
Default
  #5
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Assume the problem is steady. And dp is fixed. would there exist more than 1 solution to the velocity field inside the domain?
alinik is offline   Reply With Quote

Old   March 18, 2019, 14:43
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by alinik View Post
Assume the problem is steady. And dp is fixed. would there exist more than 1 solution to the velocity field inside the domain?

Not for the velocity but for the pressure this issue exists indipendently from the steady/unsteady case. A specific flow problem where multiple solutions in the velocity can appear is the case of one inlet and two outlets
FMDenaro is offline   Reply With Quote

Old   March 18, 2019, 14:46
Default
  #7
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
can you explain why?
I am interested to learn more.
alinik is offline   Reply With Quote

Old   March 18, 2019, 14:52
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by alinik View Post
can you explain why?
I am interested to learn more.

why about what, the pressure? It is very simple, in the incompressible flow model the pressure acts only in the momentum equation by means of the gradient. There is no pressure law that defines one operating value.
Therefore any function of time added to the pressure field produces the same velocity field.
FMDenaro is offline   Reply With Quote

Old   March 18, 2019, 15:16
Default
  #9
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
So it is better to say that we are allowed to have pressure inlet and pressure outlet in a domain with one inlet and outlet. But we are not allowed to have velocity inlet and velocity outlet combination for boundaries of the same domain, since many pressure solutions might exist.
Am I correct?
alinik is offline   Reply With Quote

Old   March 18, 2019, 15:29
Default
  #10
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
We must ensure that the problem is mathematically well posed, prescribing on a boundary either the normal component of the velocity or a condition for the pressure (Dirichlet or Neumann).

The pressure field is however always determined up to a time function. In case of multiple outlets you must prescribe the mass flow rate to determine a single solution for the velocity.
FMDenaro is offline   Reply With Quote

Old   March 18, 2019, 15:43
Default
  #11
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Maybe you did not understand my question fully.
Is it mathematically well posed if we have velocity at the inlet and outlet(in-case of one inlet and one outlet).
Or is it ill-posed?
Having velocity at both BCs is Dirichlet type BC.
If it is well-posed, then would there be more than one solution to the pressure field.(Assuming the flow is steady state)
alinik is offline   Reply With Quote

Old   March 18, 2019, 15:47
Default
  #12
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by alinik View Post
Maybe you did not understand my question fully.
Is it mathematically well posed if we have velocity at the inlet and outlet(in-case of one inlet and one outlet).
Or is it ill-posed?
Having velocity at both BCs is Dirichlet type BC.
If it is well-posed, then would there be more than one solution to the pressure field.(Assuming the flow is steady state)



As I wrote above, it is correct to prescribe the velocity BC instead of the pressure. No matter about that, the pressure is determined up to a constant and the velocity has a single solution.

See https://books.google.it/books?id=RvB...%20CFD&f=false
FMDenaro is offline   Reply With Quote

Old   March 18, 2019, 17:48
Default
  #13
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,192
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Point is that Fluent doesn't actually fix the static pressure at inlet, but the total one, which includes the dynamic pressure. Try running the same case with two pressure outlet (both at inlet and outlet) and see what happens.
sbaffini is offline   Reply With Quote

Old   March 19, 2019, 09:40
Default
  #14
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
There's nothing wrong with using a pressure inlet and pressure outlet if those are your boundary conditions.

There's also nothing wrong with a velocity inlet and velocity outlet mathematically. I question how a velocity field gets imposed at an outlet physically but mathematically this is allowed.

Quote:
Originally Posted by alinik View Post
Maybe you did not understand my question fully.
Is it mathematically well posed if we have velocity at the inlet and outlet(in-case of one inlet and one outlet).
Or is it ill-posed?
Having velocity at both BCs is Dirichlet type BC.
If it is well-posed, then would there be more than one solution to the pressure field.(Assuming the flow is steady state)
Are you talking about Fluent or mathematically in general?

For incompressible flows only the pressure gradient matters. There are always infinitely many pressure fields (+/- a constant or +/- a function of time) that will satisfy a given velocity field. But that's not a problem and nobody cares. It just means any pressure gauge will work. The pressure field is unique up to a constant (up to a gauge). In Fluent this translates to you can use any value in the operating pressure and get the same flow and pressure field (because Fluent solves for the gauge pressure field and not the absolute Field).
LuckyTran is offline   Reply With Quote

Old   April 9, 2019, 04:14
Default
  #15
Member
 
Steve
Join Date: Mar 2018
Location: South Korea
Posts: 69
Rep Power: 8
steve lee is on a distinguished road
If you make your B.C for pressure inlet and outlet (static)
That problem will be indeterminate.

You should give more B.C for example reference pressure at the point.
(You can get many solutions, if you change I.C in your problem)
steve lee 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
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 08:54
question regarding LES of pipe flow - pimpleFoam Dan1788 OpenFOAM Running, Solving & CFD 37 December 26, 2017 15:42
interFoam (HELYX-OS) pressure boundary conditions SFr OpenFOAM Running, Solving & CFD 8 June 23, 2016 17:36
"Pressure Inlet" Boundary Setup Wijaya FLUENT 15 May 18, 2016 11:08
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27


All times are GMT -4. The time now is 20:42.