Running a Simulation Operation Sequence

When you create a simulation operation sequence, extra icons appear within the Solution toolbar by which you specify and run the sequence. You can also run simulation operation sequences in batch mode.

A simulation operation sequence contains a sequence of simulation operations that together make an automated process. When you are ready to run the sequence, you first set the active sequence, for example Simulation Operations 1, then click (Play/Resume). If you want to clear the mesh or clear the solution, first deactivate the active sequence.

To run a simulation operation sequence:
  1. You activate the simulation sequence that you want to run using one of the following options:
    • From the Solution toolbar, click (Set Active Simulation Operations) and select the [sequence] sequence that you want to run.
    • Right-click the Automation > Simulation Operations > [sequence] node and select Activate.
    • Select the Automation > Simulation Operations node and set Selected to the [sequence] sequence that you want to run.
    When active, the chosen [sequence] sequence obtains a green arrow with white background in the simulation tree:


    When an active simulation sequence is running, its icon is shown with a white arrow badge on a green background as follows:



After setting the active simulation operation sequence, additional icons are activated in the Solution toolbar to control the execution of the sequence.

  1. Click the appropriate icon of the active simulation sequence. Available actions are:
    Action Function
    Play to Next Operation in the active [sequence] Executes one operation in the simulation operation sequence.
    Play/Resume the active [sequence] Execute operations in sequence from the beginning (if not run before), or the last operation executed (if stopped during playback).


    Reset the active [sequence]
    Resets the sequence play history.
    Stop Stops the execution of the current step. The simulation operation sequence is paused at the active operation. If this action is applied when the Mesh operation is running, the mesh generation is aborted.

    Only available when Play is in progress.

    You can also activate these actions from the right-click menu on the Automation > Simulation Operations > [sequence] node.

Any operation under a simulation sequence can be selected to be the last operation in the run:
  1. Right-click the operation and select Play Through Here

    The simulation sequence is run up to and including the selected operation.

You can run simulation operation sequences in batch mode when no other subcommand is specified after the -batch option (see Batch Command in Command Line Reference).
  1. To run a simulation sequence in batch mode:
    1. Set one simulation sequence to active using Set Active Simulation Operations or include the simulation sequence in Selected within the Simulation Operations node.
    2. Save and close the simulation.
    3. Relaunch the simulation from the command line using the -batch option. For example:
      % starccm+ -batch file.sim

    If you include a subcommand after the -batch option, (that is, mesh, run, step, or <macro>.java, the simulation operations are not executed even though one is active.