Defining a 3D Elliptical Source

optoex11.in : Defining a 3D Elliptical Source

Requires: Device 3D/Luminous 3D
Minimum Versions: Atlas 5.28.1.R

This example demonstrates:

  • How to define a 3D elliptical source

To define an optical source in Luminous 3D is a little more complex than one in Luminous2D. The following steps are needed to define an elliptical beam using the BEAM statement.

The origin of the beam is defined as (X.ORIGIN, Y.ORIGIN, Z.ORIGIN), similiar to 2D, but an additional two parameters angle and theta are also needed to define the orientation of the beam. The angle parameter specifies the angle of the beam relative to the device X axis and the theta parameter specifies the rotated angle of propogation relative to the X-Z plane.

The centre of the elliptical source can be offset from the centre of the beam coordinate centre using the parameters xcenter and zcenter but in this example we have chosen the centre of the elliptical source to coincide with the origin of the beam system.

After defining the beam coordinate system and the location of the elliptical beam, it is necessary to define the elliptical radii of the beam using the parameters xradius and zradius.

The sampling frequency of the source beam must now be chosen. The samples are taken along each of the beam front principle axes, ie the x and z planes, in constant steps. The number of sampling points in each axis is defined by the parameters nx and nz .

Finally the wavelength of the light is defined, the front side reflections are switched on with the parameter metal.reflect so that all metal regions act as perfect optical reflectors and the parameter raytrace identifies a file within which the traced rays are saved so they can be plotted with TonyPlot 3D.

To load and run this example, select the Load button in DeckBuild > Examples. This will copy the input file and any support files to your current working directory. Select the Run button in DeckBuild to execute the example.