CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Phoenics (https://www.cfd-online.com/Forums/phoenics/)
-   -   Cording Ground.for in Cylindrical coordinate (https://www.cfd-online.com/Forums/phoenics/51572-cording-ground-cylindrical-coordinate.html)

J.H. Lee. March 8, 2003 06:40

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


JinHyo, Bae March 27, 2003 03:01

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

John Ludwig March 28, 2003 04:28

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.