CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Projection code: lid driven validation (https://www.cfd-online.com/Forums/main/86040-projection-code-lid-driven-validation.html)

sgp March 12, 2011 21:18

Projection code: lid driven validation
 
Hi all,
I have written a C++ code for simulating flow using projection method. and i have set up the domain to simulate lid-driven cavity flow for validation. But i am unaware of the pressure boundary conditions that need to be implemented at the boundaries. I am using a fully staggered grid and presently using a boundary condition of dp/dn = 0 on all boundaries including the boundary in which shearing is done. I find that the poisson equation is giving a peak at the corners and diverging (i am using gauss-seidel method to solve the poisson equation). Can someone tell what the reason could be?

Regards,
sgp.


All times are GMT -4. The time now is 11:10.