SHELL SCRIPT PERFORMING BATCH ANALYSIS OF THE PARAMETRIC MODEL The file run.sh (link a questo file da aprire in una pagina separata) show how to carry out the batch analysis of one parametric model. The first line program beginning with #! specifies an interpreter for the program; the shell executes the specified interpreter on operating systems that do not handle this executable format themselves. (line 1) Then it's defined the enviromental variables for STAR-CD and they are exported.(line 5:10) The last preliminary step is the definition of the vaariable holding the path where the Prostar, compiled for working in no interactive mode ( using prolinkl ), has been located in the file system. Now it's possible to run the pre-processing of the model by executing prol-x program and making the redirection of the standard input using a special notation interpreted by the shell. This type of redirection instructs the shell to read input from the current source until a line containing only word (EOF) (with no trailing blanks) is seen. All of the lines read up to that point are then used as the standard input for a command. The format of here-documents is as follows: <<[-]word here-document delimiter The words, written after the redirection, are passed to the program (prol-x) instead of being interpreted by the shell as new commands. (line 18:27) The same trick is used for the Star compilation, Star execution, Prostar post-processing step. (line 30:62) Last operation to do is to remove all files created during the simulation because ,even if they are small, for a large optimization they could occupy a lot of disk space.(line 63:68) CONSIDERATION It's created a completely batch process which makes a parametric model and takes the result of the analysis, so there is all it's need to perform the optimization of the model.