Port Mode Field Variables
The Port, Diffraction Order, Orthogonal Polarization, and Periodic Port nodes add the following variables related to port mode fields
ewfd.tEmodeC_K
ewfd.normtEmode_K
ewfd.Enmode_K
ewfd.EmodeC_K
ewfd.normEmode_K
ewfd.tHmodeC_K
ewfd.normtHmode_K
ewfd.Hnmode_K
ewfd.HmodeC_K
ewfd.normHmode_K
ewfd.beta_K
ewfd.neff_K
In the table above, the suffix C denotes the vector component (x, y, and z in 2D and 3D, and r, phi, and z in 2D axisymmetry). The suffix K represents the port name.
The electric mode field is defined from the tangential electric mode field and the normal component of the electric mode field as
ewfd.EmodeC_K = ewfd.tEmodeC_K + ewfd.Enmode_K*ewfd.nC,
where ewfd.nC is the C-component of the normal to the port boundary.
The magnetic mode field is defined from its tangential and normal components in the same way as the electric mode field.
For most port types, the mode fields and the propagation constant are defined from analytical expressions or as a user input. However, for Numeric ports the electric mode fields and the propagation constant are solved for using a Boundary Mode Analysis study step.