Port
Use the Port node where electromagnetic energy enters or exits the model. A port can launch and absorb specific modes. Use the boundary condition to specify wave type ports. Ports support S-parameter calculations but can be used just for exciting the model. This node is not available with the Electromagnetic Waves, Transient interface.
In 3D, also right-click these subnodes are available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu:
Circular Port Reference Axis to determine a reference direction for the modes. This subnode is selected from the Points submenu when Circular is selected as the type of port.
Periodic Port Reference Point to uniquely determine reciprocal lattice vectors. This subnode is selected from the Points submenu when Periodic is selected as the type of port.
Port Properties
Enter a unique Port name. Only nonnegative integer numbers can be used as Port name as it is used to define the elements of the S-parameter matrix and numeric port names are also required for port sweeps and Touchstone file export.
Select the Type of PortUser defined, Numeric, Rectangular, Coaxial, Circular, or Periodic.
Periodic ports are available in 3D and 2D. Circular and Coaxial ports are available in 3D and 2D axisymmetry.
Numeric ports require a Boundary Mode Analysis study type. It should appear before the frequency or wavelength domain study node in the study branch of the model tree. If more than one numeric port is needed, use one Boundary Mode Analysis node per port and assign each to the appropriate port. Then, it is best to add all the studies; Boundary Mode Analysis 1, Boundary Mode Analysis 2,..., Frequency Domain 1 (or Wavelength Domain 1), manually. Numeric ports are by default computed for the deformed mesh whereas other types of ports compute the mode shape using geometry information.
It is only possible to excite one port at a time if the purpose is to compute S-parameters. In other cases (for example, when studying laser heating) more than one excited port might be wanted, but the S-parameter variables cannot be correctly computed, so when several ports are excited, the S-parameter output is turned off.
Wave Excitation at this Port
To set whether it is an inport or a listener port, select On or Off from the Wave excitation at this port list. If On is selected, enter a Port input power Pin (SI unit: W) or a Deposited power Pdep (SI unit: W) if the Specify deposited power check box is marked. When a Deposited power is specified, the input power is adjusted so that the power that is not reflected equals the specified Deposited power. If Specify deposited power is marked this must be the only inport.
The Port Sweep Settings section in the Electromagnetic Waves, Frequency Domain interface cycles through the ports, computes the entire S-matrix and exports it to a Touchstone file. When using port sweeps, the local setting for Wave excitation at this port is overridden by the solver so only one port at a time is excited.
Activate Slit Condition
Select the Activate slit condition on interior port check box to use the Port boundary condition on interior boundaries. Note that this option is not available for The Electromagnetic Waves, Beam Envelopes Interface.
Then select a Slit typePEC-backed (the default) or Domain-backed. The PEC-backed type makes the port on interior boundaries perform as it does on exterior boundaries. The Domain-backed type can be combined with perfectly matched layers to absorb the excited mode from a source port and other higher order modes.
Select a Port orientationForward (the default) or Reverse to define the inward normal vector of the port. The Forward direction is visualized with a red arrow on the port boundary. The Reverse direction is opposite to the arrow.
When the Slit type is set to Domain-backed, there must be no waves reflected from the domain backing the port. Thus, the backing domain must have homogeneous material and geometric properties and it should be truncated by a PML domain or a non-reflecting boundary condition.
Port Mode Settings
The input is based on the Type of Port selected above — User Defined, Rectangular, Circular, or Periodic. No entry is required if Numeric or Coaxial are selected.
Set the Mode phase θin (SI unit: rad) for the port mode field. The default is 0 radians. For instance, if the inspected port mode field is polarized in the opposite direction compared to the expected direction, a Mode phase of π (enter pi in the field) can be used for polarizing the mode field in the expected direction. Notice that a change of the Mode phase, either on the exciting or the listener port, changes also the S-parameter coupling the exciting and the listener port. However, a change of the Mode phase on the exciting port does not modify the reflection coefficient (normally denoted S11) associated with the exciting port.
User Defined
For User defined specify the eigenmode of the port. The mode field can be entered with an arbitrary amplitude and is normalized internally.
Enter the components of the Electric mode field E0 (SI unit: V/m) or the Magnetic mode field H0 (SI unit: A/m). The entered expressions must be differentiable.
Enter the Propagation constant β (SI unit: rad/m). This is frequency dependent for all but TEM modes and a correct frequency-dependent expression must be used.
Rectangular
For Rectangular specify a unique rectangular mode.
For 3D components, select a Mode typeTransverse electric (TE) or Transverse magnetic (TM). Enter the Mode number, for example, 10 for a TE10 mode, or 11 for a TM11 mode.
For 2D components, to excite the fundamental mode, select the mode type Transverse electromagnetic (TEM), since the rectangular port represents a parallel-plate waveguide port that can support a TEM mode. Only TE modes are possible when solving for the out-of-plane vector component, and only TM and TEM modes are possible when solving for the in-plane vector components. There is only a single mode number, which is selected from a list.
Coaxial
In 2D axisymmetry, Coaxial does not support non-zero azimuthal mode number. The Azimuthal mode number in the Physics interface should be defined as zero.
Circular
For Circular specify a unique circular mode.
Select a Mode typeTransverse electric (TE) or Transverse magnetic (TM).
Select the Mode number from the list.
For 3D components, enter the Mode number, for example, 11 for a TE11 mode, or 01 for a TM01 mode. When Circular is selected as the type of port in 3D, the Circular Port Reference Axis subnode is available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu. It defines the orientation of fields on a port boundary.
For 2D axisymmetry components, select whether the Azimuthal mode number is defined in the Physics interface or if it is User defined. For User defined define an integer constant or an integer parameter expression for the Azimuthal mode number. Note that the absolute value of the Azimuthal mode number must be less than 11.
Periodic
For Periodic specify parameters for the mode field. When Periodic is selected, the Diffraction Order port subnode is available from the context menu (right-click the parent node) or from the Physics toolbar, Attributes menu.
Select a Input quantityElectric field or Magnetic field and define the mode field amplitude.
For 2D components and if the Input quantity is set to Electric field, define the Electric mode field amplitude. For example, for a TE wave set the x, y, and z components to 0, 0, 1. Similarly, if the Input quantity is set to Magnetic field, define the Magnetic mode field amplitude. For a TM wave set the x, y, and z components to 0, 0, and 1.
Define the Angle of incidence, if Wave excitation at this port is On.
For 3D components, if Wave excitation at this port is On, define the Elevation angle of incidence and Azimuth angle of incidence. The Elevation angle of incidence α1 and Azimuth angle of incidence α2 are used in the relations
where k is the wave vector, kparallel is the projection of k onto the port, kF is the k-vector for Floquet periodicity, n is the outward unit normal vector to the boundary, and is one of the normalized primitive unit cell vectors from the periodic structure defined from Periodic Port Reference Point.
The Elevation angle of incidence α1 is the angle between n and k.
The Azimuth angle of incidence is the counterclockwise rotating angle from the primitive vector a1 around the axis built with Periodic Port Reference Point and n.
For periodic ports with hexagonal port boundaries, the definition of the vector a1 is slightly different from the default definition. In this case, the unit cell is actually a rhomboid, with primitive vectors pointing in other directions than the side vectors of the hexagon. Thus, for a hexagonal periodic port, the vector a1 is defined along one of the sides of the hexagon, and it is not one of the primitive vectors of the hexagonal point lattice. The Azimuth angle of incidence α2 is still measured from the vector a1, even though this vector now refers to a side vector of the hexagonal port boundary and not a primitive vector.
Hexagonal Grating: Application Library path Wave_Optics_Module/Gratings_and_Metamaterials/hexagonal_grating
For 2D components define the Angle of incidence. The Angle of incidence α is defined by the relation
where k is the projection of the wave vector in the xy-plane, n is the normalized normal vector to the boundary, k is the magnitude of the projected wave vector in the xy-plane, and z is the unit vector in the z-direction.
The propagation directions for listener Periodic ports are deduced from the angle setting(s) for the source Periodic port and the refractive indexes defined for the source and the listener ports. Thus, adding source Periodic ports with different propagation angles will give ambiguous propagation directions for the listener Periodic ports.
automatic diffraction order calculation
This section is only available for Periodic ports to provide parameter settings that are used when automatically adding Diffraction Order subnodes to Periodic ports.
Select the Include in automatic diffraction order calculation check box to add Diffraction Order subnodes to the selected Periodic port, when the Compute Diffraction Order button is clicked from the exciting Periodic port.
Define the Refractive index, real part at the boundary.
Define the Maximum frequencyFrom study (the default) or User defined. When From study is selected, the Maximum frequency is taken from the study step associated with the physics interface. For User defined, enter the maximum frequency fmax (SI unit: Hz). The default value is 0 Hz. If a single frequency is used, insert the frequency, or if a frequency sweep is performed, insert the maximum frequency of the sweep. This parameter is only available when Wave excitation at this port is On.
When all parameters are defined, click the Compute Diffraction Orders button from the exciting Periodic port to automatically create Diffraction Order ports as subnodes to all Periodic ports having the Include in automatic diffraction order calculation check box selected.
2D model with periodic ports — Plasmonic Wire Grating: Application Library path Wave_Optics_Module/Gratings_and_Metamaterials/plasmonic_wire_grating
3D model with numeric ports — Directional Coupler: Application Library path Wave_Optics_Module/Waveguides_and_Couplers/directional_coupler