Running the Macro

Run the macro in the Simcenter STAR-CCM+ client.

Before running the macro, delete the single-line probe created earlier:
  1. Right-click the Derived Parts > X = 0.04 node and select Delete from the pop-up menu.
  2. Click Yes in the Confirm Object Deletion dialog that appears.
Run the macro:
  1. In the Macro toolbar, click (Play Macro...).
  2. In the Open dialog, select createLineProbes.java.
  3. Click Open.
Simcenter STAR-CCM+ first compiles the macro class, and if there are no errors reported, it calls the execute method. This results in the creation of 22 line probes, from X = 0.1000 to X = 2.2000, which appear in Scalar Scene 1.