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

Automate this process

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2004, 05:53
Default Automate this process
  #1
Jamcam
Guest
 
Posts: n/a
Hi all,

I have generated many .dat files with Fluent. I have also created lots of surfaces/lines/rakes across my geometry where I can display various data.

To display these data, I am going in manually, file by file, via the X-Y plot function and writing the desired data to .xy files.

Is there a way I can automate this process while naming each .xy file after the .dat file it was generated from.

Any help on this would be greatly appreciated!

Jamcam
  Reply With Quote

Old   January 29, 2004, 09:30
Default Re: Automate this process
  #2
Robert Hart
Guest
 
Posts: n/a
hmm. If it were me, I would create a simple journal that loads a .dat, and does the output.

e.g.

/file/read-data "datafile.dat" /plot/plot yes "datafile.xy" yes no no z-vel no yes no line1 ()

Then use your program of choice (e.g. perl, bash, basic, whatever) to create a big journal file that repeats this for every datafile.

There's probably a way to do it directly in scheme/lisp but I don't know how to do that.
  Reply With Quote

Old   January 29, 2004, 11:09
Default Re: Automate this process
  #3
Jamcam
Guest
 
Posts: n/a
Thanks, Robert.

I managed to get something going by recording a journal of the process once, then doing a major bit of cutting, pasting and changing filenames on the journal file. It takes a wee while, but is much quicker than the manual method!

  Reply With Quote

Old   January 29, 2004, 12:42
Default Re: Automate this process
  #4
Robert Hart
Guest
 
Posts: n/a
I guess it's all about return on investment.

What I mean is, the amount of effort worth putting into making the task easier depends on how many .dat files you had.

For 2 or 3 files, your probably as well off doing it manually, for a few more you can do it the cut&paste way, any more and you want to automate even the cut&paste.

Rob
  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
Flash Process / Problem with thermal phase change model Ridley CFX 0 July 21, 2010 08:57
dxFoamExec orphan process bigphil OpenFOAM Post-Processing 0 March 19, 2009 12:08
Fluent coupled with external process Nitesh Goyal FLUENT 0 July 10, 2007 10:35
how to simulate evaporating process of refrigerant chingyou FLUENT 0 October 25, 2005 22:41
controling fluent process Madhukar Rapaka FLUENT 2 October 13, 2005 10:52


All times are GMT -4. The time now is 03:14.