|
[Sponsors] |
help !!!!variable output in cylindrical coordinate |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 2, 2004, 08:57 |
help !!!!variable output in cylindrical coordinate
|
#1 |
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, 17:39 |
Re: help !!!!variable output in cylindrical coordi
|
#2 |
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, 02:04 |
Re: help !!!!variable output in cylindrical coordi
|
#3 |
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, 22:28 |
Re: help !!!!variable output in cylindrical coordi
|
#4 |
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! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cylindrical coordinate vs cartesian coordinate | Lam | FLUENT | 10 | May 11, 2013 14:05 |
cylindrical coordinate | ammi | FLUENT | 3 | March 2, 2007 11:07 |
I need help for cylindrical coordinate in LES | Agus | Main CFD Forum | 1 | October 23, 2003 10:09 |
FDM in Cylindrical Coordinate | Piakman | Main CFD Forum | 8 | November 26, 2001 11:14 |
cylindrical coordinate | anjan chakraborty | Main CFD Forum | 1 | December 10, 2000 23:41 |