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

.dat file corresponding to iteration

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2006, 01:39
Default .dat file corresponding to iteration
  #1
lizhihua
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!

  Reply With Quote

Old   August 11, 2006, 02:48
Default Re: .dat file corresponding to iteration
  #2
Ralphie
Guest
 
Posts: n/a
Why don't you use the 'Monitor Engineering Behaviour' function?
  Reply With Quote

Old   August 11, 2006, 14:33
Default Re: .dat file corresponding to iteration
  #3
Pauli
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.

  Reply With Quote

Old   August 12, 2006, 02:20
Default Re: .dat file corresponding to iteration
  #4
lizhihua
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.
  Reply With Quote

Old   August 12, 2006, 02:21
Default Re: .dat file corresponding to iteration
  #5
lizhihua
Guest
 
Posts: n/a
Thanks!I am going to have a try!
  Reply With Quote

Old   August 12, 2006, 05:20
Default Re: .dat file corresponding to iteration
  #6
vladimir
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.
  Reply With Quote

Old   September 21, 2006, 01:50
Default Re: .dat file corresponding to iteration
  #7
dado
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}

  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
Iteration kospan FLUENT 0 October 18, 2008 17:13
DPM iteration RE13 FLUENT 1 December 21, 2007 04:48
iteration Loh FLUENT 0 February 12, 2006 02:09
DPM iteration Marie FLUENT 1 November 5, 2003 10:14
Iteration from dump file nyatoto CFX 4 June 27, 2002 06:09


All times are GMT -4. The time now is 13:45.