Skip to content

MacroUtils and Simulation Assistants.

Fabio Kasper edited this page Nov 1, 2016 · 3 revisions

Using MacroUtils to help coding your Simulation Assistant (SA) is quite easy. As a matter of fact, in this repository one can find SA examples in the simassistants folder.

Simple Procedure

  1. Start coding your SA as you would normally do;
  2. Copy the macroutils folder with the sources in the same folder level of your other sources. Your IDE should recognize the macroutils package automatically;
  3. Then, compile the project and notice your JAR file ready to be loaded in STAR-CCM+.

Example: Compiling Demo16 SA available in this repository

  1. Copy the simassistants folder and create a project in your IDE pointing to it as as existing sources folder;
  2. Remove the unnecessary files, i.e., for the sake of this demo, keep Demo16.java, and html and demo16 subfolders;
  3. Now, proceed in a similar fashion as in the Simple Procedure.
Clone this wiki locally