Setting Up Automatic Scene Export

In the following steps, set up automatic export of the mesh and pressure scenes.

The automatic export of scenes leads to the generation of a number of .png files on your hard drive while the simulation runs. These image files can then be used to create an animation.
  1. Create an /images directory in your /mechanicalCoSimTutorial/starccm+/ directory as a location to save the image files.
Many of the settings for the scenes are the same. You can apply the settings to both scenes simultaneously using the Multi-edit dialog.
  1. Multi-select the Scenes > Scalar Scene 1 and Scenes > Mesh Scene 1 nodes.
  2. Right-click one of the selected nodes and select Edit...
  3. Set the following properties, then click Close:
    Node Property Setting
    Mesh Scene 1, Scalar Scene 1
    Attributes > Update Save To File Activated
    Output Directory /mechanicalCoSimTutorial/starccm+/images
    Trigger Time Step
    Time-Step Frequency Frequency 5
    Hardcopy Output Width 800
    Output Height 600
    A red * is shown next to the icon for each scene to indicate that copies are saved automatically when the co-simulation is run.
Finally, specify unique base filenames for Simcenter STAR-CCM+ to use when saving the image files:
  1. Select the Scenes > Mesh Scene 1 > Attributes > Update node and set Base Filename to mesh.
  2. Using the same technique, set the base filename for Scalar Scene 1 to pressure.