CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CD (http://www.cfd-online.com/Forums/star-cd/)
-   -   Looking for Pro-STAR script examples (http://www.cfd-online.com/Forums/star-cd/77526-looking-pro-star-script-examples.html)

UT_YANG June 25, 2010 12:03

Looking for Pro-STAR script examples
 
Hi
I am very new to Pro-STAR. Can anyone tell me where I might find some simple examples to get me started. Currently, I am reading the command menu and meshing user guide.

JBeilke June 25, 2010 14:42

vc3d 0 1 20 0 1 20 0 1 20

ctab 2 flui 8
ctab 10 shell 4
ctab 11 shell 5

cset news flui
live surf create
cset news shell
cset subs gran ,,, 0.99 1.01
cdel cset
cset news shell
ctype 10
cmod cset

*get xx mxve

cset news type 10
vset news cset
vgen 2 xx vset
cgen 2 xx cset

cset invert
cset subs type 10
ctype 11
cmod cset

ctype 2
*set zz xx * -1
vcex 1 zz cset ,,, norm -0.02
cset news flui
view 1 1 1
plty ehid
cplo

Pauli June 25, 2010 16:39

I don't remember anything relative to scripting within the meshing guide. The command menu will just describe each command with little about how to string commands together. You'll find better script explanations in the user guide & examples in the tutorials.

UT_YANG June 27, 2010 05:29

JBelike and Pauli,
I very much appreciate your answers

olesen June 28, 2010 02:52

Quote:

Originally Posted by UT_YANG (Post 264549)
Hi
I am very new to Pro-STAR. Can anyone tell me where I might find some simple examples to get me started. Currently, I am reading the command menu and meshing user guide.


In the worst case, just take a look at what is in your *.echo file. This should contain all of the commands that you've used. You can find the relevant bits and re-use them. The F1 help gives you information about each of the commands.

BTW: if you simply observe the proSTAR output window, you can see which commands correspond to which menu/mouse actions. Normally having the 'Short Input History' enabled (in the output window) makes things more readable, since it filters out all of the rotation and zooming commands.


All times are GMT -4. The time now is 00:03.