CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   plot additional parameter (https://www.cfd-online.com/Forums/siemens/53690-plot-additional-parameter.html)

Jane March 9, 2004 21:09

plot additional parameter
 
hi, experts

if I add some myself parameter to the star, how to plot it in post-star. for example, I calculate some parameter 'curr' from tempereture and pressure in posdat.f, and I write it to file 80. I can read the value from this file. but how can I plot it with contour type for every cell in post course? could anybody have this experience?

thank you a lot

best regards

jane

Michiel March 12, 2004 04:22

Re: plot additional parameter
 
write out your variables

open file if needed

OPEN 85,FILE='partconc.usr',FORM='FORMATTED',STATUS='UN KNOWN')

write(85,9897) iclmap(ic),variable(ic) 9897 format(I9,6x,E16.9)

you can read this in using 'load user data'.

Michiel

Jane March 15, 2004 19:40

Re: plot additional parameter
 
oh, thank you so much Michiel. now I know how to do.

Jane


All times are GMT -4. The time now is 09:34.