Use a Grain (

) dataset, selected from the
More Datasets submenu, to visualize grain traces computed by a Granular Flow interface. The Grain dataset is automatically created when solving a model containing a Granular Flow interface if the
Generate default plots option is selected in the
Study. Selections can be added to the grain dataset, which makes it possible to compute, for example, the number or fraction of grains in a given domain or on a given boundary during results processing. You can visualize the grains using a plot of the grain positions in the original dimension, as a Poincaré map, or as a 2D phase portrait.
Select a Solution from the list of solution data. Select a
Grain geometry specification:
Manual (the default) or
From physics interface. If any grain trajectories have been solved for, then instead
From physics interface is the default and an applicable Granular Flow physics interface is selected from the
Physics interface list (see below).
If Manual is selected, the
Grain geometry and
Position-dependent variables text fields become available. In the
Grain geometry field, enter the name of the variable for the grain geometry. This corresponds to the hidden geometry on which the grain degrees of freedom are computed. When the Grain dataset is generated from the default plots, the correct name for the grain geometry is filled in automatically. The grain geometry takes the name
pgeom_<id>, where
<id> is the Name for the specific Granular Flow interface node.
In the Position-dependent variables field, enter the names of the dependent variables for the grains’ position using commas to separate the variables. Like the grain geometry, the names of the grain degrees of freedom are filled in automatically when the grain dataset is generated from the default plots. The names correspond to the grain position degrees of freedom with the component name prepended. For example, for a 3D component, with name
comp1 and dependent variables
qx,
qy, and
qz for the physics interface, the correct expression to enter is
comp1.qx,
comp1.qy, and
comp1.qz.
If From physics interface is selected, select the
Physics interface from which the grain geometry and the names of the grain position degrees of freedom are defined. Only physics interfaces that can create a valid grain geometry are shown.