The Periodic Structure selection defines the periodic unit cell. The reference direction a1 is defined from edge and point selections in the Periodic Structure and its Reference Direction subnode. Given the first reference direction
a1, the second reference direction
a2 is calculated from
where a0 is the periodic structure axis direction that is pointing in the direction from the passive port towards the excitation port. Thus, the axis direction equals the normal direction of the excited port.
where k is the material wavenumber at the excitation port and
α1 and
α2 are the elevation and azimuth angles, respectively. The elevation angle
α1 is the angle between the wave vector
kinc and the periodic structure axis (
kinc⋅a0 ≤ 0, as
α1 is in the range from 0 to
π/2 radians). For normal incidence, this angle is zero. The azimuth angle
α2 is the angle between the first reference direction
a1 and the projection of the incident wave vector
kinc on the plane spanned by
a1 and
a2 (the port planes).
The first reference direction a1 also defines the direction of the first primitive vector of the periodic unit cell. That is,
The length b1 is obtained from a selection of the excited port edges. In 3D, for parallelogram-like unit cells, the second primitive vector
b2 is defined from the unit cell edges that are not parallel to
b1. Furthermore,
b2 is defined such that
assuming that Equation 2-1 applies. If the cross product does not fulfill
Equation 2-1, the expressions for
b1 and
b2 are swapped.
The Periodic Structure and its Reference Direction subnode define the periodic structure variables in Table 2-1. The variables should be prefixed with the physics interface tag. So, to evaluate the
x-component of the unit cell axis, write
ewfd.axisx if the physics tag is
ewfd.