CFD Online Logo CFD Online URL
Home > Forums > Siemens

automatic *.inp file execution

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

LinkBack Thread Tools Display Modes
Old   June 15, 2008, 11:20
Default automatic *.inp file execution
Posts: n/a

Is there any possibility to execute *.inp file automatically when prostar.exe starts? I would like to prostar.exe automatically starts with certain *.inp file and does all included in this file commands.

Something like that: c:\...\bin\prostar.exe -b -some_key file.inp


Thanks and regards, Ivan
  Reply With Quote

Old   June 15, 2008, 16:39
Default Re: automatic *.inp file execution
Posts: n/a
Using Linux you can pipe it using "<"

prostar -b < file.inp

Do not know if this works for Windows but I do not think so. Otherwise you could try something like ifile file.inp in your proinit.

  Reply With Quote

Old   June 16, 2008, 01:28
Default Re: automatic *.inp file execution
Posts: n/a
It works for Windows, thanks!
  Reply With Quote

Old   June 16, 2008, 11:43
Default Re: automatic *.inp file execution
Posts: n/a
Put a line containing "ifile file.inp" in your PROINIT file. Or you can just put the commands directly in PROINIT.

On Unix/Linux, the PROINIT file goes in ~/star.dir. If present, it is automatically run each time you start a PROSTAR session. I believe you can also place PROINIT in the current working directory.

  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
Execution Terminated: STP file found Rita CFX 2 January 9, 2007 00:12
Automatic saving of file after getting solution venugopal FLUENT 5 June 17, 2004 09:45
Execution problem Jiri Siemens 3 October 16, 2003 09:46
automatic case file loading in fluent calogero FLUENT 8 May 15, 2003 02:48
romote execution Yong FLUENT 0 January 17, 2003 05:26

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