# help !!!!variable output in cylindrical coordinate

 Register Blogs Members List Search Today's Posts Mark Forums Read

 September 2, 2004, 07:57 help !!!!variable output in cylindrical coordinate #1 rohit Guest   Posts: n/a dear friends... i am solving for potential distribution across a cylinder divided in three subregions..to set the properties in different region i have put such codings in lampr section L0ELC=L0F(ANYZ(LBNAME('ELCO'),IZ)) DO IY=1,NY ICELL=IY IF(IZ.LE.10) THEN F(L0ELC+ICELL)=3.0 ENDIF IF(IZ.GT.10.AND.IZ.LE.20) THEN F(L0ELC+ICELL)=0.00015 ENDIF IF(IZ.GT.20) THEN F(L0ELC+ICELL)=20.0 ENDIF ENDDO CALL FN0(LAMPR,LBNAME('ELCO')) RETURN previously i was using varyx commands(in case of cartes) to retrieve the data but now i want to write the values of variable(c1) in a file in the format used above..i tried but valuse are not the one which are there in result file .either i am unable to write iz slab wise values or u can help me out....

 September 2, 2004, 16:39 Re: help !!!!variable output in cylindrical coordi #2 mick Guest   Posts: n/a Just to try and open this question up a bit, as I dont completely understand. Are you trying to set the Prandtl number/diffusivity for a variable you are solving C1 ? Are you in ground Group 9 ? I have never bumped into the variable ELCO, can you tell us what this is?

 September 3, 2004, 01:04 Re: help !!!!variable output in cylindrical coordi #3 rohit Guest   Posts: n/a well thanks 4 ur reply..i am solving for a steady state potential distribution( cylindrical) by whole-field solver and have to set to properties for three different regions.so have to go into section 7 of group9 and set the laminar diffusivities of different regions .elco is defined by me to store the values of diffusive coefficient only..now as i run the programme i get correct distribution(values of c1) in result file but i want to write these in a file opened by user(me) ..or is there a way i can feed the laminar diffusivity coefficient in gr9 for cyl cordinate ...

 September 8, 2004, 21:28 Re: help !!!!variable output in cylindrical coordi #4 Carlos Guest   Posts: n/a I am not sure if I understood your question, but if you want to write your own file, you may do like this: (1) Go to the ground section just after the sentence "end of time step" (I am not with PHOENICS here, so I do not know exactly the number of the group) (2) use a traditional fortran code to: - open a file - write your data at this file using your format choice (use a fortran do loop to choose the positions you want to print) - close the file (3) recompile your code and run (use private option) I may sent an example if you need. Good luck!

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Lam FLUENT 10 May 11, 2013 13:05 ammi FLUENT 3 March 2, 2007 11:07 Agus Main CFD Forum 1 October 23, 2003 09:09 Piakman Main CFD Forum 8 November 26, 2001 11:14 anjan chakraborty Main CFD Forum 1 December 10, 2000 23:41

All times are GMT -4. The time now is 11:44.