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

Export data from several .res files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2004, 21:02
Default Export data from several .res files
  #1
Nessan
Guest
 
Posts: n/a
Hello, friends,

Someone asked a question about making animation from several .res files. My question is how to export the data from several files. I mean how to export pressure and velocity, for example, on a line from several .res or .trn files. I tried using scripts but it did not export any data at all. I used Batch mode CFX-Post.

Anybody has experience on that, please give me some hints.

Thanks,

Ndssan
  Reply With Quote

Old   April 14, 2004, 10:12
Default Re: Export data from several .res files
  #2
Gloria Gaynor
Guest
 
Posts: n/a
If you use Unix(linux,solaris,etc...) and you know a little of csh or sh scripting this can be done very easily. Then you'll combine an unix script with the batch file of post to get your files.
  Reply With Quote

Old   April 14, 2004, 13:56
Default Re: Export data from several .res files
  #3
Robin
Guest
 
Posts: n/a
Nessan,

-Launch Post. -Create a new session file and begin recording. -Open one of your res files. -Create the line object to export data on. -Export the data you want on the line. -Stop recording the session file.

Now, open the session file in a text editor. All your actions and relevent objects will be in that session file. Put a Perl loop around the whole thing and you can load multiple files, writing a new export for each.

For more information on Perl, go to http://www.perldoc.com/.

Regards, Robin
  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
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 11:46
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
Export of data at cells from Fluent. Mark FLUENT 2 July 29, 2008 05:11
batch process- export data Grace FLUENT 0 May 15, 2006 21:14
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


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