You can also use the withsol operator in a plot expression, for example, to combine solutions from different solver sequences. See withsol for more information.
|
•
|
Select All (the default) to use all solutions in the dataset.
|
•
|
Select One to use one of the available solutions in a time-dependent, parametric, or eigenvalue solution from the list of solutions that appear underneath the Solutions list.
|
•
|
•
|
Select Norm of difference to combine the datasets as abs(data1-data2), where data1 and data2 are the results of evaluating the expression in the two source datasets. For complex-valued data, this corresponds to the Euclidean norm of the difference.
|
•
|
Select Explicit to combine the datasets using an explicit expression with the “operators” data1 and data2 in, for example, a plot node’s Expression field. This can be useful to compare two different dependent variables in two different datasets such as two solutions from two different models using the same geometry. For example, to plot the sum of the variable u from the first dataset and the variable v from the second dataset, times two, type 2*(data1(u)+data2(v)). The scope for data1 is the model to which the solution dataset under Data 1 belongs, and similarly for data2.
|
•
|
Select General to combine the datasets using a general expression in data1 and data2 that you type into the Expression field. The default, data1-data2, is identical to the Difference method. This method is useful for combining datasets with similar solution data (from a mesh convergence study, for example) using a method other than a difference, product, quotient, or sum.
|
•
|
•
|
•
|
If you choose Difference, for example, an operation such as sin(u) for the Join dataset is equivalent to sin(data1(u))-sin(data2(u)). If you want to evaluate or plot sin(u) as the operator applied to the difference itself, for example, choose Explicit and use sin(data1(u)-data2(u)) as the expression to evaluate or plot.
|
It can happen that the geometries in the two datasets do not match. In such cases, for example, Join datasets that contain data from a domain cannot be selected in a point plot. Also, selections are not supported when using Join datasets.
|
If you only want to compare the values of integrals over datasets, then you can achieve this using the Transformation type set to Difference in an Evaluation Group node, which provides better accuracy.
|