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.
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