Simcenter STAR-CCM+ How to know if the current simulation was saved after a Non-Recoverable error?

2023-08-07T15:14:00.000-0400
Simcenter STAR-CCM+ Simcenter STAR-CCM+ Virtual Reality Teamcenter Share Simcenter Cloud HPC Simcenter STAR-CCM+ Viewer Simcenter STAR-CCM+ Application Specific Solutions

Summary

It is possible to understand the history of the sim file by viewing the Log File.


Details

It can happen to encounter a "Non-recoverable" error during the simulation setup or run. The error is highlighted in red in the output windows.

In that case, you are advised to exit without saving and go back to a previously saved version, as after such error the simulation becomes corrupted and unpredictable, even if still apparently working.

Immediately after the "Non-recoverable" error, a warning icon is visible in the top node of the simulation tree:
User-added image
 
The way to check if an existing model was saved after a Non-recoverable error is to inspect its Log, by right-clicking on the top node of the simulation tree and selecting "View Log":
User-added image
 
A new window is opened containing the Edit Log, in which it is possible to browse the "history" of the simulation. Each time the simulation is saved a paragraph is added to the Log containing information about the name of the simulation, the version of STAR-CCM+, the number of cores and the occurrence of any serious errors:
User-added image

A simulation file would be considered damaged, if| among the lines of the log there is a sign of a "Non-recoverable" error. If the above-mentioned Log is long, it could become uncomfortable to scroll it entirely to check the presence of errors. In that case, simply running the attached macro (CheckLogForNonRecoverableErrors.java).
 
The macro immediately warns the user about the occurrences of "Non-recoverable" errors directly in the output window of STAR-CCM+.

See also:

How to check the STAR-CCM+ version of a sim file

STAR-CCM+ Documentation sections:
User Guide| >| Using STAR-CCM+|®| >| Working with Simulations| >| Viewing and Editing the Log File

KB Article ID# KB000034673_EN_US

Contents

SummaryDetails

Associated Components

Design Manager Electronics Cooling In-Cylinder (STAR-ICE) Job Manager Simcenter STAR-CCM+