The section Results shows how to write code for various parts of the Results node in the model tree, including
Datasets,
Tables, and
Plot Groups. These examples assume that you have solution data available from solving, for example, a heat transfer, CFD, or structural mechanics problem.
If there is no solution-based Dataset available, then the
Grid3D dataset needs to have a
Function as its
Source. In the example above, a default
Analytic function is created with tag
an1. A default
Analytic function corresponds to
f(
x)
= x, and its only purpose is to give the grid dataset an evaluation context.
The Grid3D dataset has options for max and min parameter bounds, shown in the example code above. An additional grid resolution option is not shown in this example. However, you can learn about its syntax by using
Record Code from the Model Builder.