Well I use PHOENICS 3.5.1 and am currently trying to do a current distribution problem in 3 dimensions.
I need to give the boundary conditions in 3-d patches.
While doing the same problem in 2-d i gave the following ground coding.
But how do i declare a 3-d array??
I need to know what functions should i use instead of F(INDYX)???
The patches are always visited 'per Z plane', and only on planes where the patch exists. You do not need to declare 3D arrays or change your code, though something like:
would be a more normal way of doing it. ixf,ixl,iyf,oyl are set internally to the limts of the current patch so you don't need to set them yourself.
|All times are GMT -4. The time now is 01:56.|