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? |
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. |