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

.dat file corresponding to iteration

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2006, 02: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, 03: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, 15: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, 03: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, 03: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, 06: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, 02: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 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


All times are GMT -4. The time now is 18:26.