Skip to content
Rick Fenrich edited this page Jul 10, 2017 · 18 revisions

MULTIF is a python module which makes it possible to define and run all fidelity levels of the nozzle model, from a 1D analysis to more complex CFD simulations.

A single python script (runModel.py) is called for all fidelity levels, which takes as inputs two files: a configuration file defined by the user and an input file containing a list of design variable values which is the interface with the optimizer. An output file containing the requested responses is then written.

Running the nozzle model

The nozzle model can be run using the following command line:

  $ python runModel.py -f optim_params.cfg -l 1

where the flag -l specifies which level of fidelity among those defined in the .cfg file is to be run. The first fidelity level is 0.

Additional command line options can be specified including -n 8 for parallel computation using 8 cores, -v 1 to run a verification script after installation, and/or -d 1 to use mesh deformation from a baseline mesh instead of mesh generation during CFD analyses.