Ray (Dataset)
Use a Ray dataset (), selected from the More Datasets submenu, to visualize ray traces computed by a Geometrical Optics or Ray Acoustics interface. The Ray dataset 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 dataset, 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.
Ray Solution
Select a Solution from the list of solution data. Select a Ray geometry specification: Manual (the default) or From physics interface. If any ray trajectories have been solved for, then instead From physics interface is the default and an applicable Geometrical Optics or Ray Acoustics physics interface is selected from the Physics interface list (see below).
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 dataset 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 dataset 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.
Ray datasets require the Ray Optics Module or Acoustics Module.