Creating a Macro

Record a macro file to avoid having to repeat the steps. Use this macro later to set up the cases for the other two meshes.

The Tetrahedral Mesh and Polyhedral Mesh parts of this tutorial that follow require the same problem set-up.
  1. Begin recording the macro by clicking (Start Recording) in the Macro toolbar.
  2. In the Save dialog, enter setup.java as the File Name and click Save.

All actions you perform from now until the recording is stopped are recorded in the macro.

NoteDo not save the simulation while the macro is being recorded to prevent later simulations being saved under incorrect names.