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

Script Files for Star-CD?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2001, 11:57
Default Script Files for Star-CD?
  #1
Cary
Guest
 
Posts: n/a
I have a simple question for Star-CD users. Does Star allow the user to compute flow solutions from script files? Fluent allows the user to construct journal files which can be used to conduct a particular CFD calculation. The advantage is that you don't need to enter the GUI. Since I do many repetive type calculations this is a very nice feature for Fluent to possess.

Thanks in advance!
  Reply With Quote

Old   May 9, 2001, 15:52
Default Re: Script Files for Star-CD?
  #2
allan
Guest
 
Posts: n/a
Hi Cary

This works for me running linux.

allan

#!/bin/csh star <star.in >star.out cp star.pst star1.pst cp star.prob star1.prob cp star.geom star1.geom cp star2.prob star.prob cp star2.geom star.geom star <star.in >star2.out cp star.pst star2.pst cp star.prob star2.prob cp star.geom star2.geom cp star3.prob star.prob cp star3.geom star.geom star <star.in >star3.out

#star.in is a file with a single line, but may need another line if radiation is used #star #Y(/N)

#star2.prob should restart from star.pst as should star3.prob

  Reply With Quote

Old   May 9, 2001, 15:56
Default Re: Script Files for Star-CD?
  #3
Joern
Guest
 
Posts: n/a
It works and it is much more advanced than the way in fluent.
  Reply With Quote

Old   May 21, 2001, 05:36
Default Re: Script Files for Star-CD?
  #4
Philip Jones
Guest
 
Posts: n/a
Cary

Star-CD can be run in a scripted manner in a number of ways depending on what you want to do:

1) If you have a number of cases, these can be run from a script to run one after another.

2) If you have a list of prostar commands that are used to build a case and/or mesh (you may want to read in a mesh from another source) then you can run prostar in batch mode:

pro-xm -batch < infile

Note that infile needs to supply a case name and answer y or n to the first two questions prostar asks about resume and echo but after that it is just standard prostar commands

3) If you have a working model and just want to change a few settings then the CDSAVE command builds a set of files that make a working input deck and these (especially the .inp file) can be easily editted to reflect the changes you want.

4) You may want to read up on the folllowing Prostar commands:

IFILE: read in a set of commands from disk

CURSOR: allow cursor picks from file

CDSAVE: save coded definition of model

If you need any more help, feel free to ask directly as we have a great deal of experience in such issues, including coupling Star-CD to various optimising codes both for geometry and flow conditions
  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
aerofoil geomety in ICEMCFD using script files said CFX 0 December 21, 2007 15:38
ICEMCFD script files question hadj Main CFD Forum 0 December 5, 2007 10:06
creating geometry using "Script files" in ICEMCFD jaber Main CFD Forum 1 November 11, 2007 10:28
Running script files without opening grafic inter Jim CFX 0 March 21, 2006 07:57
script for running star Celia Siemens 8 December 2, 2004 23:46


All times are GMT -4. The time now is 17:28.