|
[Sponsors] |
August 11, 2006, 02:39 |
.dat file corresponding to iteration
|
#1 |
Guest
Posts: n/a
|
Hi, I am now doing the post processing of the intake/exhaust strokes of a engine(model setup with star and es-ice),and in order to better understand the case, I am planning to obtain the value of a certain scalar at every iteration,using "ofile casename.dat" and a loop. I thought the casename would change with different iteration but in fact the integer that I set was recognized as a string of characters and never changed. How can I generate .dat files with names corresponding to the iterations in a loop? Thanks in advance!
|
|
August 11, 2006, 03:48 |
Re: .dat file corresponding to iteration
|
#2 |
Guest
Posts: n/a
|
Why don't you use the 'Monitor Engineering Behaviour' function?
|
|
August 11, 2006, 15:33 |
Re: .dat file corresponding to iteration
|
#3 |
Guest
Posts: n/a
|
Have you looked at the string variables (*SSET)? I think it should go something like this: *SSET CHAR5 casename $ ofile {CHAR5}.dat. I remember using this a few years ago. Haven't tried it since.
|
|
August 12, 2006, 03:20 |
Re: .dat file corresponding to iteration
|
#4 |
Guest
Posts: n/a
|
I tried that,setting "casename" as an integer changing with loops,but it seems that "casename" was only regarded as a string instead of a integer,because only a "casename.dat" was generated finally,integers not involved.
|
|
August 12, 2006, 03:21 |
Re: .dat file corresponding to iteration
|
#5 |
Guest
Posts: n/a
|
Thanks!I am going to have a try!
|
|
August 12, 2006, 06:20 |
Re: .dat file corresponding to iteration
|
#6 |
Guest
Posts: n/a
|
you could try to convert a number into a string by using command
<code>*scopy</code> try in prostar output window <code>help *scopy</code> might help, but not sure. |
|
September 21, 2006, 02:50 |
Re: .dat file corresponding to iteration
|
#7 |
Guest
Posts: n/a
|
Try:
*set count 0,x,1 (where x is number of cases) => *scopy,count,case_nr,(I0) => *set tmp case{case_nr} |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Iteration | kospan | FLUENT | 0 | October 18, 2008 18:13 |
DPM iteration | RE13 | FLUENT | 1 | December 21, 2007 05:48 |
iteration | Loh | FLUENT | 0 | February 12, 2006 03:09 |
DPM iteration | Marie | FLUENT | 1 | November 5, 2003 11:14 |
Iteration from dump file | nyatoto | CFX | 4 | June 27, 2002 07:09 |