Steady Laminar Backwards Facing Step
Hello!
I am writing code to solve 2D Steady Laminar Backwards Facing Step problem for Reynolds number up to 400 through finite differences with dimensionless 2D Navier-Stokes equations. The boundary conditions are the following: Inlet: Parabolic profile for u, v=0, pressure calculated by the pseudo-compressibility continuity equation. Walls: u=v=0, pressure calculated by the pseudo-compressibility continuity equation. Outlet: θu/θx=0, θv/θx=0, p=0. I am running the code but after the step the flow has an upwards direction where it would be expected going downwards with recirculation area. Any help? Thank you very much. |
Quote:
I suggest to debug the code to find some bugs... have a look to the pressure equation that must have suitable Neumann BC.s |
Thank you FMDenaro.
Are the boundary conditions that I am using correct except for the pressure boundary conditions? |
Quote:
I suggest not to use the constant pressure at the exit but the condition derived from the fact that you supposed du/dx=0 in the continuity equation evaluated at the exit. You will also easily see that you get v=0 along the outflow. |
Thank you. I will check it.
|
Are you using a second order central discretization on staggered grid?
|
I am working with finite differences and in some cases with second order central discretization and in another cases with forward or backward discretization.
|
what about the colocation of the variables on the grid?
|
Quote:
|
Bfs
|
Quote:
I wrote SIMPLE algorithm for the same problem but the velocity field is not the expected. Is there any advice about the correct boundary conditions of the problem? Thank you. |
All times are GMT -4. The time now is 07:08. |