Cording Ground.for in Cylindrical coordinate
Hi, all users of phoenics.
I have one question for cording ground.for in the cylindrical coordinate. Now I solved a analyzation of heat flow of Plasma in the x-y cartesian coordinate, but I can't make cording of ground.for in the yz plan of a cylindrical coordinate. Why? I know it can only make cording x and y axial. Now I really need for cording of the yz plan of a cylindrical coordinate. For example, cording ground.for in the xy plan of a cartecian coordinate. LVAL=L0F(VAL) LXG=LOF(XG2D) LYG=L0F(YG2D) DO 1111 IX=IXF,IXL DO 1111 IY=IYF,IYL IC=IY+NY*(IX-1) F(LVAL+IC)=1.00 1111 CONTINUE Here, Could you help me the method for cording ground.for in the yz plan of cylindrical coordinate?? |
Re: Cording Ground.for in Cylindrical coordinate
IZ loop in ground.for still exist, but is not visible. Do not care about the iz loop. You can code with thinking that there is IZ loop somewhere ground.for like below.
if( IZ ~~ )then your condition endif bye |
Re: Cording Ground.for in Cylindrical coordinate
In cylindrical-polar coordinates, the index XG2D gives the X- direction cell centre locations in radians. The Y-direction radii can be picked up from RG2D for the cell centres and RV2D for the cell faces. The lecture 'The Use of GROUND' http://www.cham.co.uk/phoenics/d_pol...nd/ground2.htm gives more details.
|
All times are GMT -4. The time now is 02:02. |