|
[Sponsors] |
January 28, 2004, 05:53 |
Automate this process
|
#1 |
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 |
|
January 29, 2004, 09:30 |
Re: Automate this process
|
#2 |
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. |
|
January 29, 2004, 11:09 |
Re: Automate this process
|
#3 |
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! |
|
January 29, 2004, 12:42 |
Re: Automate this process
|
#4 |
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |