Simcenter STAR-CCM+ How to set default options for STAR-CCM+ to start with when double-clicking a *.sim file on Windows

2023-11-02T04:08:12.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

The following method can be useful when you require by default a specific license configuration (for example Power Session or PoD), or a parallel configuration (such as all cores of your machine).


Details

Please be aware that modifying the registry key is at your own risk. So please do that carefully. In case of doubt, please ask to your IT department.

The following steps are useful to change the way Simcenter STAR-CCM+ gets launched when double-clicking on a .sim file. This allows you to have Simcenter STAR-CCM+ starting with customized options (such as license - Power Session or PoD - or parallel options - e.g. always opening the simulation on 4 cores). 
The instructions have to be repeated for each version of Simcenter STAR-CCM+, if you want to get the same behaviour.
 
  • Access the Registry Editor of your Windows machine (you can type "regedit" in the Search bar to find it). In case you don't have rights to access it, refer to your IT administrator.
regedit.png
 
  • Locate the entry found under:

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Siemens.STAR-CCM+.XX.YY.ZZZ\shell\open\command 

    where "STAR-CCM+.XX.YY.ZZZ" should reflect the version of the code for which you want to customize the launch process.
    Taking for example version 2021.3 (which internally is 16.06.008), by default the value shows: 

    "C:\Program Files\Siemens\16.06.008\STAR-CCM+16.06.008\star\lib\win64\intel20.1vc14.2\lib\starccmw.exe" "%1"

    key.png

  • Change the value by adding the desired option before the "%1" string 
So if you want Simcenter STAR-CCM+ 2021.3 to start always on 4 cores and using a Power Session license, the syntax will look like:
"C:\Program Files\Siemens\16.06.008\STAR-CCM+16.06.008\star\lib\win64\intel20.1vc14.2\lib\starccmw.exe" -power -np 4 "%1"

By opening a sim file by double-click, the output shows that the options are taken into account:
 

output.png

 
 

KB Article ID# KB000031678_EN_US

Contents

SummaryDetails

Associated Components

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