CFD Online Logo CFD Online URL
Home > Forums > CFX

Load Latest Result File into Post via Command Line

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

LinkBack Thread Tools Display Modes
Old   October 19, 2004, 06:46
Default Load Latest Result File into Post via Command Line
Posts: n/a
I'm trying to automate a sequential fluid-structure interaction problem. At present I have the result filename hard-coded in a cse file, which is not ideal. Can anybody tell me if they know a cunning way to load the *latest* result file into CFX-Post? I'm launching Post from the command line.

Thanks in advance!
  Reply With Quote

Old   February 8, 2010, 04:21
Senior Member
MadsR's Avatar
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 175
Rep Power: 11
MadsR is on a distinguished road

I am looking for such feature also. How to read in the LATEST .res file when restarting a cfx5solve or running cfx5post.

Example: Say we have run multiple times on a solution, so we have *_001.res, *_002.res, *_003.res and we want our script to take the *_003.res file and continue solving. To make the script generic, taking the latest .res file as input, we need some flag to append to cfx5solve/cfx5post.

Help-help :-)

Online free airfoil-mesher for OpenFOAM here
MadsR is offline   Reply With Quote

Old   February 8, 2010, 07:28
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 14,202
Rep Power: 110
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
You could do this as a batch file (Win) or shell script (Linux). I don't think a command line flag exists to do what you request - submit a feature request.

Of course all this is done automatically when you run CFX inside workbench. If you run CFX outside workbench then it is your problem to link the files together properly.
ghorrocks is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 08:11
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 04:43
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Installation of OpenFOAM-1.6 on Ubuntu 9.10 marval OpenFOAM Installation 2 March 17, 2010 09:33
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50

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