THE OPTIMIZATION PROBLEM The problem described in this tutorial is the geometrical optimization of a blunt object in a air flow, see fig 1 (file /home/mauro/star_tutorial/tut3_frontier/images/blunt.png). To perform optimization is needed: 1)a parametric mesh which follows the blunt object shape, for this reason it is necessary that the variable geometrical dimensions of the object are defined by parameter which have to be used to set the vertices on which the mesh is built. 2)to have the power to drive a completely batch process. Prostar allow both needed without using any external tool. The next step are necessary to perform a optimization of a Star-CD model by Frontier 1) MODELLING STRATEGY (link a file1.txt) It's created a parametrical mesh model then it's run a interactive Prostar session to define the boundary condition and finally, with a small change, it's prerare a completely batch session to be run by Prol-x (Prostar - not graphical mode). The file tut3_inter.inp (link a questo file), described in next part, show how to use the parametric capabilities of Prostar and how to create a boundary condition file to reuse in batch mode. The file tut3.inp (link a questo file), described in next part, show the possibility of using a boundary condition file to avoid the interactive definition of it; this strategy is useful because the mesh topology is the same changing the parameter values. 2) POST-PROCESSING (link a file2.txt) It's written a command file to take the analysis output data. The file tut3p2.inp (link a questo file) show how to use the Prostar capabilities to compute physical quantities. 3) SHELL SCRIPTING (link a file3.txt) To run a pre-processing, an analysis and a post-processing in batch mode it's necessary to write a command script file (it coult be used any shell). the file run.sh (link a questo file) show the script used to perform this task. 4) FRONTIER PROJECT (link a file4.txt) When it's created a program which, given a parametric data input file, computes same interesting result it's allowed to start a Frontier session to define the logic of the optimization process.