Parameters

You can define parameters that serve as Flow Simulation global variables, which you can use in specifying conditions, equation goals, visualization features, etc. Parameters can be dependent on other parameters, goals and time, allowing you to create complex dependencies.

Procedure

  1. To access the Parameters  dialog:
    • On the ribbon, click Flow Simulation > Project > Parameters.

    • In the menu, select Tools > Flow Simulation > Project > Parameters.

  2. To specify a new parameter, click Add  or right-click anywhere in the table and select Add  and then specify the parameter definition:
    • Double-click the Name cell to enter the parameter name.

    • Double-click the Value cell to enter the parameter value.

      • Click  to specify a table or formula dependency of the parameter on coordinates, time, iterations, travels, goals and other parameters (see “Dependency” for details).

      • You can also directly enter a formula defining the parameter using the same parameters, functions and operators as in the Formula Definition dialog (see “Formula Definition” for details).

      Tip

      Using multiple parameters, you can specify complex dependencies: for instance, to specify a heat source power dependent on both the temperature and time, you can define one parameter with a dependency on a temperature goal defined as a table, another parameter with a table defining a multiplication coefficient dependent on time, and a third parameter with a formula dependency in which the first goal-dependent parameter is multiplied by the second parameter that represents the time-dependent coefficient.Then you can use the third parameter that combines the temperature and time dependency to define a heat generation rate in a heat source condition.

    • Double-click the Dimensionality cell to select the parameter unit.

    • Double-click the Type cell to select the parameter type.

    • If you want to copy the selected value, click Copy  or right-click the value and select Copy.

    • If you want to copy the table, select any cell and click Copy Entire Table  or right-click any cell and select Copy Entire Table.

    • If you want to paste the value, select the desired cell and click Paste  or right-click the selected cell and select Paste.

    Also you can copy the selected cells by right-clicking them and pressing Ctrl+C. To paste the selected cells, right-click them and press Ctrl+V.

  3. To delete the desired parameter, select the corresponding cell and click Delete  or right-click the cell and select Delete .
  4. Click OK  to save the current definition of Parameters and close the dialog.
    Note:

    If the parameter Value is specified in dependency of a goal or other parameters via Formula Definition and if its Dimensionality units are different from the original goal or parameter, the warning message appears. You can select the following actions: Edit, Ignore or Ignore and disable units check.

    Also you can adjust the checking mode by selecting the proper value for the Check units consistency option under Unit Options in the Options dialog (see “Unit Options” for details).