Use a Ray data set (
), selected from the
More Data Sets submenu, to visualize ray traces computed by a Geometrical Optics or Ray Acoustics interface. The Ray data set is automatically created when solving a model containing one of the interfaces if the
Generate default plots option is selected in the
Study. Selections can be added to the Ray data set, which makes it possible to compute, for example, the number or fraction of rays in a given domain or on a given boundary during results processing.
Select a Solution from the list of solution data. Select a
Ray geometry specification:
Manual (the default) or
From physics interface.
If Manual is selected, the
Ray geometry and
Position-dependent variables text fields become available. In the
Ray geometry field, enter the name of the variable for the ray geometry. This corresponds to the hidden geometry on which the ray degrees of freedom are computed. When the Ray data set is generated from the default plots the correct name for the ray geometry is filled in automatically. The ray geometry takes the name
pgeom_<id>, where
<id> is the Name for the specific physics interface node.
In the Position-dependent variables field, enter the names of the dependent variables for the rays’ position using commas to separate the variables. Like the ray geometry, the names of the ray degrees of freedom are filled in automatically when the Ray data set is generated from the default plots. The names correspond to the ray 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 ray geometry and the names of the ray position degrees of freedom are defined. Only physics interfaces that can create a valid ray geometry are shown.