Performing multiple analyses in batch mode

Running from the command line allows you to perform multiple analyses at a more convenient time.

Before you set up the batch analysis, make sure your studies are set up and ready to run:

  1. Open your project, select your study(ies) and click Analysis Sequence (Home tab > Molding Process Setup panel > Analysis Wizard).
  2. Complete the Analysis Wizard with the relevant analysis sequence(s); injection location(s), material, and processing conditions.
  3. Save the study(ies), and then close Autodesk Simulation Moldflow Adviser.
  4. Open the Autodesk Simulation Moldflow Adviser Command Shell from the Windows Start menu (Start > All Programs > Autodesk > Autodesk Simulation Moldflow Adviser 2014 > Tools > Autodesk Simulation Moldflow Adviser 2014 Command Shell) and browse to the location where your studies are saved.
  5. Open a text editor, such as Notepad, and type the following in it:
                start /wait adviser -execute .\ProjectName.mpa Study.sdy
              
    Where:
    ProjectName
    Is the name of the project, e.g. moldflow.mpa
    Study
    Is the name of the study, e.g. bowl_study.sdy
    Note: Make sure that you type the study name as it appears in the Command Shell, not necessarily as it appears in the Autodesk Simulation Moldflow Adviser Tasks pane. For example, if you have a space in your study name, it will appear as an underscore in the Command Shell, and the command will not work if you type a space.
  6. Repeat the command on a separate command line for each study to be analyzed.
  7. Save the file in the same directory as your studies are saved, as batchname .bat, where batchname .bat is a unique name that you create, then close the text editor.
  8. In the Command Shell, start the *.bat file above, by typing batchname.bat. The commands in this file will load each study, analyze it, and write the results to the study, and then close the program, before opening the next.
    Note: If the analysis fails to run or complete, the program will remain open at the failed study.