Calculation of pressure in a domain with no-slip boundaries #3352
-
Hello everyone! I'm trying to understand how pressure is calculated when solving the Navier-Stokes equation in a region limited by no-slip walls. In the documentation, I read that to solve the equation one uses the fractional step method. When using this method, an auxiliary quantity arises, which is designated in the documentation as |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
From just a quick read, I believe our method is consistent with Ref 1 (but there are some subtleties which I discuss below). Our algorithm sets the predictor velocity wall-normal velocity on boundaries equal to the physical velocity: and then we indeed solve for pressure prescribing the wall-normal component of the gradient to zero as in Ref 1, equation 19. The subtlety is that Ref 1 presents eq 15 and 19 as if they are written in stone, but in fact these are a choice. Eq 15 and 19 must be consistent with one another. However, one is free to choose the "boundary conditions" on the predictor velocity in eq 15 arbitrarily. (Introducing the additional predictor velocity field also introduces an additional DoF in the mathematical problem which must be determined by a choice and is not determined by the problem itself.) It is particularly convenient though to use the choice in eq 15, because then it leads to the convenient boundary conditions on the pressure in eq 19, for which we have nice numerical methods. I think there is an omission in ref 1 for the case that the inflow changes in time. (We also do not treat this situation correctly... something we should look into.) But I could be wrong. @simone-silvestri is probably interested in this discussion... A long, long, long, long time ago we did convergence tests to show empirically that our pressure solve was implemented correctly. The particular case of "Forced Flow, fixed slip" is the one of interest: Unfortunately I don't think that code will run out of the box, someone would have to put the effort in to update it. But if we can resurrect it, I believe we could prove that the analytical solution (including the pressure field) converges at the expect rate with increasing grid resolution. Are you diagnosing a problem based on the results of a simulation, or by reading the docs? It's possible the docs are wrong or misleading and we can fix that. |
Beta Was this translation helpful? Give feedback.
-
I have found an answer to my question in Ref. 1. In short, it is incorrect to use the equation between (A1) and (A2) to generate BC. Also, I have found a useful Ref. 2 about the accuracy of fractional step method. In particular, it addresses the difference between pressure and pseudo-pressure, and also determines the accuracy of fulfillment of the boundary conditions for velocity. The basics of the fractional step method are well explained in Ref. 3. I wish to thank @glwagner and @francispoulin and close the discussion. |
Beta Was this translation helpful? Give feedback.
I have found an answer to my question in Ref. 1. In short, it is incorrect to use the equation between (A1) and (A2) to generate BC. Also, I have found a useful Ref. 2 about the accuracy of fractional step method. In particular, it addresses the difference between pressure and pseudo-pressure, and also determines the accuracy of fulfillment of the boundary conditions for velocity. The basics of the fractional step method are well explained in Ref. 3. I wish to thank @glwagner and @francispoulin and close the discussion.