# Static/Total pressure BCs for both inlet and outlet

 Register Blogs Members List Search Today's Posts Mark Forums Read

 December 17, 2020, 03:06 Static/Total pressure BCs for both inlet and outlet #1 New Member   Fumiharu Kobayashi Join Date: Dec 2020 Posts: 4 Rep Power: 3 I have a general question about inlet and outlet BCs. I know that static pressure BCs for both inlet and outlet are mathematically inappropriate. However, I don't understand why it is wrong very well. Could you show me the reason? Does it depend on compressible or incompressible analysis? Similarly, total pressure BCs for both inlet and outlet are appropriate? With regards. aerosayan likes this.

December 17, 2020, 05:26
#2
Senior Member

Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,198
Rep Power: 66
Quote:
 Originally Posted by Yu_Fu I have a general question about inlet and outlet BCs. I know that static pressure BCs for both inlet and outlet are mathematically inappropriate. However, I don't understand why it is wrong very well. Could you show me the reason? Does it depend on compressible or incompressible analysis? Similarly, total pressure BCs for both inlet and outlet are appropriate? With regards.

First, you have to consider the mathematical character of the PDEs to set the BCs that makes the problem well posed.
Thus, incompressible or compressible flows models are very different in the setting of the BCs.

For incompressible flows there is no thermodinamic meaning in the variable called "pressure", you set the BCs in such a way to fulfill the divergence-free constraint. You can fix a "pressure difference" between inlet and outlet and let the velocity to be congruently computed.

 December 17, 2020, 05:31 #3 Senior Member     Paolo Lampitella Join Date: Mar 2009 Location: Italy Posts: 1,948 Blog Entries: 29 Rep Power: 36 Yes, it is a matter of incoming and outcoming waves for a given flow state (subsonic vs supersonic). Very roughly speaking, at any boundary you have three waves traveling at the local speed u normal to it, plus two waves traveling, respectively, at u + c and u - c, where c is the local speed of sound. Now, for a subsonic inlet (0

December 17, 2020, 19:47
#4
New Member

Fumiharu Kobayashi
Join Date: Dec 2020
Posts: 4
Rep Power: 3
Quote:
 Originally Posted by FMDenaro First, you have to consider the mathematical character of the PDEs to set the BCs that makes the problem well posed. Thus, incompressible or compressible flows models are very different in the setting of the BCs. For incompressible flows there is no thermodinamic meaning in the variable called "pressure", you set the BCs in such a way to fulfill the divergence-free constraint. You can fix a "pressure difference" between inlet and outlet and let the velocity to be congruently computed.

Thank you very much for your comment.

I understand only the pressure difference, not an absolute value, is meaningful for incompressible flows.
In order to compute velocity congruently, we should set total pressure BC including velocity information for inlet or outlet at least, right?

December 17, 2020, 19:57
#5
New Member

Fumiharu Kobayashi
Join Date: Dec 2020
Posts: 4
Rep Power: 3
Quote:
 Originally Posted by sbaffini Yes, it is a matter of incoming and outcoming waves for a given flow state (subsonic vs supersonic). Very roughly speaking, at any boundary you have three waves traveling at the local speed u normal to it, plus two waves traveling, respectively, at u + c and u - c, where c is the local speed of sound. Now, for a subsonic inlet (0

I probably catch the point.
I have never seen such a concise and clear explanation.

December 17, 2020, 20:04
#6
Senior Member

Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 1,948
Blog Entries: 29
Rep Power: 36
Quote:
 Originally Posted by Yu_Fu Thank you very much for your clear answer. I probably catch the point. I have never seen such a concise and clear explanation.
thanks. I have no idea why he is so upset.

Obviously, it is not the full story, I didn't even mention what those waves are and how they relate to the classical variables, but hopefully it was clear enough to grasp the reason behind what you observed

EDIT: I just realized that I made confusion between EricSlater and you in my previous post.

December 18, 2020, 04:15
#7
Senior Member

Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,198
Rep Power: 66
Quote:
 Originally Posted by Yu_Fu Thank you very much for your comment. I understand only the pressure difference, not an absolute value, is meaningful for incompressible flows. In order to compute velocity congruently, we should set total pressure BC including velocity information for inlet or outlet at least, right?

Working with the incompressible flow model is very different and somehow more complex. You have the parabolic equation for the velocity field with the constraint of being divergence-free. The pressure is only an auxiliary variable, that is a lagrangian multiplier.

The BCs for the momentum equations are prescribed in terms of natural conditions for the velocity.
The divergence-free condition is transformed in an elliptic equation according to the Hodge decomposition. Neumann boundary conditions are prescribed.
From the decomposition you see that either pressure or velocity can be prescribed.

December 18, 2020, 08:15
#8
Senior Member

Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 1,948
Blog Entries: 29
Rep Power: 36
Quote:
 Originally Posted by FMDenaro Paolo already addressed the case of the compressible flow problem. Working with the incompressible flow model is very different and somehow more complex. You have the parabolic equation for the velocity field with the constraint of being divergence-free. The pressure is only an auxiliary variable, that is a lagrangian multiplier. The BCs for the momentum equations are prescribed in terms of natural conditions for the velocity. The divergence-free condition is transformed in an elliptic equation according to the Hodge decomposition. Neumann boundary conditions are prescribed. From the decomposition you see that either pressure or velocity can be prescribed.
I would add that artificial compressibility and related methods (i.e., preconditioned density based) would still work as compressible methods. That is, even for incompressible flows they introduce an artificial speed of sound whose related Mach number is, by construction, sufficiently high to not blow up the computation.

December 18, 2020, 10:45
#9
New Member

q
Join Date: Sep 2020
Posts: 19
Rep Power: 4
Quote:
 Originally Posted by sbaffini I would add that artificial compressibility and related methods (i.e., preconditioned density based) would still work as compressible methods. That is, even for incompressible flows they introduce an artificial speed of sound whose related Mach number is, by construction, sufficiently high to not blow up the computation.

Your professor mentioned incompressible flows for which c->\infty where the pressure is only artificial to guarantee divergence free flow-field there is nothing to be added to his answer, so who cares about the methods your refer to?

December 18, 2020, 10:57
#10
Senior Member

Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 1,948
Blog Entries: 29
Rep Power: 36
Quote:
 Originally Posted by q__ Your professor mentioned incompressible flows for which c->\infty where the pressure is only artificial to guarantee divergence free flow-field there is nothing to be added to his answer, so who cares about the methods your refer to?
Because, with respect to the physical problem at hand, the ellipticity mentioned by Filippo is just as artificial as the compressibility in the method I mentioned. This, with respect to the original question, which is about generic boundary conditions, is indeed relevant, because boundary conditions are artificial themselves.

With respect to Filippo himself, I ensure you that there is no other person on this planet that has gone trough each one of his works more than I did. But even if this was not the case, I would still be free to think that his answer is too biased and add my contribution. There is nothing that you, Filippo or anyone not a moderator here can do about it.

But, honestly, why?

December 20, 2020, 19:13
#11
New Member

Fumiharu Kobayashi
Join Date: Dec 2020
Posts: 4
Rep Power: 3
Quote:
 Originally Posted by FMDenaro Paolo already addressed the case of the compressible flow problem. The BCs for the momentum equations are prescribed in terms of natural conditions for the velocity. The divergence-free condition is transformed in an elliptic equation according to the Hodge decomposition. Neumann boundary conditions are prescribed. From the decomposition you see that either pressure or velocity can be prescribed.
Do you know any textbooks or references about it?
I would like to study further about BCs mathematically.

 December 21, 2020, 00:01 #12 Senior Member   duri Join Date: May 2010 Posts: 245 Rep Power: 15 Wow lot of discussions on this topic. If you are mathematician then refer books on hyperbolic conservation laws. In case of engineer refer books written by Laney, Hrisch, etc. I'll try to put some simple layman explanation on this. In CFD we are solving primarily for three variables velocity, pressure and temperature. Ignore temperature if energy equation is not solved. So, effectively boundary condition is required for both pressure and velocity. Having static pressure at both inlet and exit would result in unconstrained mass flow or multiple solutions on mass flow, which could result in divergence or oscillating solution. Some kind of velocity fixation is necessary at the boundary to indicate the order of mass flow or velocity in the equation. The static pressure on boundaries would fix the change in velocity but there is no information in the solver to convert change in velocity to absolute velocity and therefore mass flow. aero_head likes this.

December 21, 2020, 04:30
#13
Senior Member

Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,198
Rep Power: 66
Quote:
 Originally Posted by Yu_Fu Do you know any textbooks or references about it? I would like to study further about BCs mathematically.

Have a look at:
Joel H. Ferziger, Milovan Perić, Robert L. Street - Computational Methods for Fluid Dynamics- Springer International Publishing (2020)

and Sec. 7.1.5.2 can clarify the approach for incompressible flows.

Much more details (numerical and mathematical topics) can be found in articles published on several journals, for example have a look to the references in my article:
https://www.researchgate.net/publica...ary_conditions

 Tags pressure bc