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

batch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2003, 05:46
Default batch
  #1
Bab
Guest
 
Posts: n/a
Hi Everybody,

I'd like to run StarCd in a batch mode. Which means assuming that the mesh is ok, I can, by using a Script, - change some boundary conditions, - start StarCd - get some results.

Is that available with Star?

Thanks for your help. Bab
  Reply With Quote

Old   April 7, 2003, 16:29
Default Re: batch
  #2
Achim
Guest
 
Posts: n/a
Hi, save your .prob files with different filenames - for example case01.prob, case02.prob and so on. write a script that renames those files according to your mdl file, runs star and copies the .pst file according to your .prob prefix:

assuming your star executable is named star and your case name is case, something like this will do:

mv -f case01.prob case.prob

star

case

cp case.pst case01.pst

mv -f case02.prob case.prob

star

case

cp case.pst case02.pst

you should also save other files you need later on to check convergence etc.

  Reply With Quote

Old   April 8, 2003, 02:48
Default Re: batch
  #3
Stefan
Guest
 
Posts: n/a
use ''prostar -b''
  Reply With Quote

Old   April 8, 2003, 04:46
Default Re: batch
  #4
Bab
Guest
 
Posts: n/a
Thanks for your answer. I was thinking that an easier way was available.

For example, by using Fortran subroutines which calls data files for the boundary conditions. Use readbc.f which calls bc.dat.

In the script, out of star, U changes bc.dat at every step of the loop. The idea is to make all the changed things out of star.

Is that not ok? Do we have to compile star every step again? Compiling can also be done by the batch controler.

Thanks for your answer. Bab
  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
Batch Run Akin CFX 11 June 24, 2013 21:07
batch bug? Prad CFX 0 October 27, 2008 10:54
Batch Kim Skatun CFX 5 June 19, 2008 12:05
batch run N.R. CFX 1 June 17, 2007 23:44
Batch Run Ogbeni CFX 4 October 15, 2003 13:33


All times are GMT -4. The time now is 22:08.