CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Phoenics

help !!!!variable output in cylindrical coordinate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2004, 07:57
Default 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....
  Reply With Quote

Old   September 2, 2004, 16:39
Default 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?

  Reply With Quote

Old   September 3, 2004, 01:04
Default 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 ...
  Reply With Quote

Old   September 8, 2004, 21:28
Default 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!
  Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cylindrical coordinate vs cartesian coordinate Lam FLUENT 10 May 11, 2013 13:05
cylindrical coordinate ammi FLUENT 3 March 2, 2007 10:07
I need help for cylindrical coordinate in LES Agus Main CFD Forum 1 October 23, 2003 09:09
FDM in Cylindrical Coordinate Piakman Main CFD Forum 8 November 26, 2001 10:14
cylindrical coordinate anjan chakraborty Main CFD Forum 1 December 10, 2000 22:41


All times are GMT -4. The time now is 16:53.