CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   BC for 3D to 2D (https://www.cfd-online.com/Forums/main/11106-bc-3d-2d.html)

ricklee March 27, 2006 14:22

BC for 3D to 2D
 
Hi all:

I write a 3D flow slover but I want to use it to solve the 2D problem. How do I implement the BC in 3D code? Is symmetry? How to use this boundary condition?

R. Tavakoli March 28, 2006 14:17

Re: BC for 3D to 2D
 
For using 3D code for 2D case the best way is using periodic BC in the third directioin (pseudo direction), e.g. for FDM code the periodic B.C. in the z direction is as follows

u(i,j,1)=u(i,j,kmax-1) u(i,j,kmax)=u(i,j,2)



All times are GMT -4. The time now is 15:48.