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

run star-applications in batch mode

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2004, 10:16
Default run star-applications in batch mode
  #1
thomas
Guest
 
Posts: n/a
Hi all,

I have seen alot system calls for running star-application in the batch mode, but did not really get it! Is there any documentation for the call of star-applications (prostar & proam) under windows? I am working on winXP with Star-CD V3.150A!

At the end everything my program should do, is to start a special .mdl-file "casename" and run a script "my_commands.inp".

The main problem: by calling anyhing starting with "prostar", I am ending up in the standard Start-GUI "enter casename ..." .

Thanks for all helping hints, thomas
  Reply With Quote

Old   October 24, 2004, 06:23
Default Re: run star-applications in batch mode
  #2
staruser
Guest
 
Posts: n/a
When you call "prostar", a batch file ($STARDIR/bin/prostar.bat) is called. In order to run the x-version (no window), you have to start pro-x (should be in your path just like prostar). The first three lines in your input file needs to contain "answers" to case name, append to echo file and resume from. An input file to create a simple 3d mesh with the vc3d command could look like this:

star1 y y !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! beginning of prostar commands !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! vc3d,0,5,25,0,1,5,0,1,5 save,,

To start pro-x with this input you should enter:

pro-x < input

where the file input has the contense above. If you want to execute a macro, you can replace the lines vc3d and save with e.g.

ifile macroname.MAC
  Reply With Quote

Old   October 26, 2004, 05:29
Default Re: run star-applications in batch mode
  #3
alex
Guest
 
Posts: n/a
small tip, don't call pro-x direct, call prostar x (or prostar -bat). calling pro-x directly doesn't always work (prostar points out the location of various files that pro-x needs).
  Reply With Quote

Old   October 27, 2004, 07:25
Default Re: run star-applications in batch mode
  #4
thomas
Guest
 
Posts: n/a
Hey Alex!

The problem is that I am ending up in the star-GUI if I start the commandline with "prostar". It doesn't matter what is written behind. I would guess it is a windows problem!?

But thanks anyway, I will keep on trying! thomas
  Reply With Quote

Old   October 27, 2004, 07:54
Default Re: run star-applications in batch mode
  #5
thomas
Guest
 
Posts: n/a
Thanks staruser,

it looks like I am getting closer.

The commands you have posted are working fine if I run them in the pdksh-environment. Starting them from the windows command-line still does not work. This time it is asking for casename etc. in the text-mode. So it looks like I have to call pro-x through this pdksh-environment, but don't know how to enter the commandline after the shell was opened. Any ideas?

cheers, thomas
  Reply With Quote

Old   November 9, 2004, 08:02
Default Re: run star-applications in batch mode
  #6
sachuthananthan
Guest
 
Posts: n/a
whether is it advisable to use the GUI mode or the command mode to get more familiar with the star CD.Please advise me.
  Reply With Quote

Old   November 14, 2004, 10:19
Default Re: run star-applications in batch mode
  #7
thomas
Guest
 
Posts: n/a
Hi,

use the GUI-mode to get familiar with star CD. All commands you are using (also with your mouse) are recorded in the .echo-file and will be shown at the bottom of the output-window. if you are familiar with the commands it makes sense to work with the command line in the GUI-environment. The batch-mode only makes sense if you want to run your scripts without any visual out or input.

good luck, thomas
  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
Star-ccm+ batch mode on SGE Karl Jensen Siemens 0 February 4, 2009 16:54
batch mode Peter Schaller FloEFD, FloWorks & FloTHERM 2 October 6, 2008 04:18
Batch mode in WB. cfdguy CFX 1 June 24, 2008 07:49
Star-CD batch mode error Karl Siemens 11 June 12, 2008 00:11
batch mode run hennie Siemens 1 October 3, 2002 10:13


All times are GMT -4. The time now is 23:50.