Previewing Expressions

You can preview scalar expressions without running the simulation. Scalar values appear in a plot which is updated instantly with your changes.

To preview an expression:

  1. In the expression editor, click the Preview tab.


Simcenter STAR-CCM+ allows you to plot the output of the expression with respect to a dependent variable, while leaving the other variables as independent. The output is calculated by substituting the values of each of the independent variables and sweeping through the range of values that are provided for the dependent variable.
  1. Select the Dependent Variable.
    Simcenter STAR-CCM+ highlights the corresponding text in the definition window.
  2. Select the range of values for the dependent variable:
    • For scalar variables, specify the Range by providing maximum and minimum values.
    • For vector variables, specify a range of values for only one of the vector components at a time.

  3. Within the table of Independent Variables, enter values for each of the independent variables to use in generating the preview plot.

    If you make errors, such as dividing by zero, Simcenter STAR-CCM+ informs you by stating the nature of the error in the status field at the bottom of the definition dialog.