•
|
A space-separated or comma-separated list of values: 10, 15, 23, 29.7, 30.
|
•
|
•
|
Equally-spaced values using the range function as in range(start value,step_size,end value). For example, range(0,0.2,3) creates the values 0, 0.2, 0.4,..., 2.6, 2.8, and 3.0. The step size is 1 if you provide only start and end values and skip the step value.
|
start_value can be either smaller or larger than end_value. In the latter case, the step size must be negative. For example, range(0,-5,-100) creates the values 0, −5, −10, ..., −95, −100, while range(0,5,-100) is an empty set of values.
|
•
|
•
|
•
|
•
|
Select Number of values to define range using a specified number of values. See Step and Number of Values.
|
•
|
•
|
Select ISO preferred frequencies to define the range using an octave or other interval of ISO preferred frequencies. To show this option, click the Show button (
![]() |
•
|
The default value None, which means linear spacing using the range function directly with the values specified.
|
•
|
The exponential functions exp10 (base-10 exponential function) and exp (base-e exponential function), which create exponentially-spaced values using the specified range of values as powers of 10 and of the mathematical constant e, respectively.
|
•
|
•
|
The square root function sqrt, which creates a vector with values that are the square roots of the values specified.
|
•
|
•
|
•
|
•
|
The times for output from the time-dependent solver and the list of parameter values in the Settings windows for study step nodes for time-dependent and stationary solvers and for parametric sweeps.
|
•
|
The contour levels, the streamline start-point coordinates, and the coordinates in arrow plots. Whenever you specify a number of coordinates in Settings windows for plots, the COMSOL Multiphysics software uses scalar expansion — if one component is the same for all coordinates, enter a single number in the corresponding text field. For example, to get 101 linearly spaced coordinates from y = 6 to y = 7 along x = 3, enter it as the single scalar 3 for x and then range(6,0.01,7) for y. Thus, you need not enter 101 similar values for x.
|
Because the range function returns a list of values, it is a vector-valued function that you cannot use in a definition of a variable, for example. Variables must return a scalar value.
|