Simcenter STAR-CCM+ How to set global parameters when launching a Simcenter STAR-CCM+ batch simulation?

2023-05-02T07:37:08.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

This article explains how parameters of an existing simulation file can be set when starting a simulation in batch mode.


Details

Simcenter STAR-CCM+ offers global parameters that allow users to define scalar and vector physical quantities (e.g. 120.0 K or [0.0, 1.0, 0.0] m) once and reuse them in multiple objects such as boundary conditions, mesh parameters, or geometry definitions. This feature can significantly save system resources compared to using a field function with a constant value, as the parameter value is not defined on every cell. 

In the graphical user interface (GUI), the global parameters of the simulation file are located under Tools > Parameters where parameters can be created, modified and deleted to customize the simulation setup.

image.png

However, even if the simulation is run in batch without a GUI, parameters can be set using the -param argument in the command line used to start the job. For instance, by specifying the -param argument in the following command the InletVelocity and InitialPressure parameters can be defined before starting the simulation
starccm+ -param InletVelocity 10.0m/s -param InitialPressure 2000Pa -batch run simulation.sim

KB Article ID# KB000111886_EN_US

Contents

SummaryDetails

Associated Components

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