|
[Sponsors] |
pressure boundary conditions for collocated grid for Navier-Stokes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 9, 2017, 15:38 |
pressure boundary conditions for collocated grid for Navier-Stokes
|
#1 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10 |
Assumptions:
1. Uniform equally spaced grid 2. 2D When using the Chorin Projection method to solve the incompressible NS on a collocated grid we end up having to solve the following elliptic PDE where we have the face velocities Our boundary conditions on all four sides are When solving the pressure Poisson equation on the 4 boundaries is the procedure the same as if we were using the staggered grid? I've read some literature on it and I still don't quite understand if the pressure boundary conditions are treated differently. In my code I have Code:
P(1,:) = P(2,:) P(nx,:) = P(nx-1,:) P(:,1) = P(:,2) P(:,ny) = P(:,ny-1) %Corners P(1,1) = 1.0 % degree of freedom P(nx,ny) = P(nx-1,ny-1) top right P(nx,1) = P(nx-1,2) bottom right P(1,ny) = P(2,ny-1) top left the pressure boundaries are treated differently. I was curious if my understanding of how to implement the pressure BCs on a collocated is correct. In my code I am using standard central differencing with extra treatment for the handling the ghost points. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 13:55 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 07:30 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 01:44 |
Wrong multiphase flow at rotating interface | Sanyo | CFX | 14 | February 7, 2017 17:19 |
Velocity vector in impeller passage | ngoc_tran_bao | CFX | 24 | May 3, 2016 21:16 |