Setting Up STAR-CCM+ and GT-SUITE for a Restart Run
On occasion, it is necessary to stop the solver prematurely, or continue running an existing analysis for more time-steps. To meet these requirements, GT-SUITE co-simulation provides facilities to perform a restart run. This section details this procedure for a case that has been stopped before completion.
To continue an analysis for more time-steps, the following steps can also be followed, but increase the Simcenter STAR-CCM+ stopping criteria to extend the duration of the simulation.
Before running the solver, enable the Auto Save feature in Simcenter STAR-CCM+ to save the simulation at regular intervals. The autosaved files provide an exact time-step from which you can restart the solver, thus ensuring the two codes begin at the same point in the analysis. The autosave file has a name that corresponds to the current time-step, for example, casename@01000.sim is the saved simulation at time-step 1000.
To enable Auto Save:
- From the menu bar, select .
-
In the
Auto Save dialog, set
Trigger Type to
Time Step, as the restart time-step must be specified in the
GT-SUITE case.
- Set Frequency and Max Autosaved Files as required.
- Start the GT-SUITE solver and obtain a solution in the usual manner.
To restart the simulation in GT-SUITE, modify the case setup so that the solver restarts from a user-specified time-step:
-
Right-click a CFD component, and select
Edit Properties...
- In the Edit Object dialog, select the Advanced tab.
- Set Read to CFD Time Step Number to def.
- Save the GT-SUITE case file and create a .dat file, by selecting from the menu bar.
-
Load the autosaved file into
Simcenter STAR-CCM+.
- If you perform a restart from a different directory, make sure that you copy the relevant files from the previous working directory (that is, the *.cfdreload, *.sim, *.gtm, and *.gdx files).
-
Run the solvers in the usual manner.
The Simcenter STAR-CCM+ solver restarts from the last time-step and the GT-SUITE solver restarts from the user-specified time-step.