Parameters
Introduction

In the Parameters panel the user can define named parameters that can be used in various aspects of the simulation setup, e.g. you can create parametric meshes or boundary conditions. The parameters can be simple numerical values or complex expressions containing mathematical functions and other parameters.
Parameter List

All created parameters are displayed in the parameter list. The parameter list contains three columns displaying parameter properties:
- Name - unique text identifier
- Formula - mathematical expression that can include mathematical functions, operators, constant values and other parameters
- Value - numerical value of this parameter, depends on the formula and values of other parameters used in the formula
Creating New Parameters

You can create new parameters in the Define New Parameter section below the parameters list. To create a parameter you need to:
1 Specify a name for the new parameter. The parameter name can contain only letters or numbers. No other characters are allowed. Certain names are already restricted:
- pi - parameter representing the number \(\pi\)
- x , y , z - names restricted to represent three coordinates in the global coordinate system
2 Input a formula for the parameter.
3 You can optionally add to the formula any material property from the material database.
4 Click the Create Parameter button to add the new parameter to the list. There is also a possibility to quickly create a parameter by pressing Enter when focus is on the Formula field.
When a parameter is created, it can be used to create other formulas and can be an input in most input fields accepting numbers.
Quick Parameter Addition
When you want to quickly create a simple parameter, there is an option that allows you to do this without moving to the Parameters panel. If you input an expression parameter_name=numeric_value
into any numerical field, a parameter will be created and from now on you will be able to use this parameter also in other fields. This method of creating parameters has a restriction that does not allow formulas. Also, using this method, you are not allowed to override values of already existing parameters.
Editing Parameters

To edit an existing parameter you need to:
1 Select an existing parameter in the list.
2 Change the parameter’s formula.
3 Click the Modify Parameter button or press Enter with focus in the Formula field.
Expressions
Expressions can include any number of operations such as addition ( + ), subtraction ( - ), multiplication ( * ), division ( / ) and power ( ^ ).
The following unary functions are supported:
- abs - absolute value
- acos - arccosine
- asin - arcsine
- atan - arctangent
- ceil - function returns the smallest integer value that is greater than or equal to the argument
- cos - cosine
- exp - function returns Euler’s number e raised to the power equal to the argument
- floor - function returns the largest integer value that is smaller than or equal to the argument
- log - natural logarithm
- sin - sine
- sqrt - square root
- tan - tangent
Additionally, the following binary functions are supported:
- atan2 - two-argument arctangent
- min - function returning the smaller of the two arguments
- max - function returning the larger of the two arguments