INS pressure boundary condition with gravity #26157
Answered
by
lindsayad
Eilloo
asked this question in
Q&A Modules: Navier-Stokes
-
Beta Was this translation helpful? Give feedback.
Answered by
lindsayad
Nov 27, 2023
Replies: 2 comments 1 reply
-
If you want to impose the pressure condition strongly with a Dirichlet condition, then you should not integrate the pressure by parts. So in a
where |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Eilloo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to impose the pressure condition strongly with a Dirichlet condition, then you should not integrate the pressure by parts. So in a
GlobalParams
block, I would putintegrate_p_by_parts = false
. Because right now you are getting competing conditions with your Dirichlet BC and with the natural condition at the outlet for the momentum equation which is:p*n - n * mu \nabla u = \vec{0}
where
n
is the normal vector. I won't guarantee that this will fix your problem, but it is the first thing I would try