Rigorous Coupled-Wave Analysis Solver (RCWA)
SimWorks Rigorous Coupled-Wave Analysis Solver is a frequency-domain electromagnetic simulation method based on Fourier space expansion. By utilizing the periodicity of the medium, the electromagnetic field and dielectric constant are expanded into spatial harmonics (Fourier series), transforming Maxwell's curl equations in real space into a matrix eigenvalue problem in Fourier space. By solving this eigenvalue problem and applying boundary conditions between layers, it can accurately calculate the diffraction efficiency and internal field distribution of periodic grating structures. The following briefly introduces the physical principles of the solver.
Basic Principles of Rigorous Coupled-Wave Analysis Solver
RCWA expands periodic media and periodic fields into Fourier series, transforming Maxwell's equations in continuous space into a set of linear differential equations in discrete Fourier space. Since the periodic structure is discrete in the plane, the fields couple between different diffraction orders, hence this method is also called "Rigorous Coupled-Wave Analysis". The main physical principles are as follows:
- Fourier Expansion of Periodic Media
In two-dimensional periodic gratings, the permittivity and permeability satisfy
Thus, they can be expanded into Fourier series:
here, and are the components of the reciprocal lattice vectors.
- Expansion of Electromagnetic Fields into Spatial Harmonics
Let the wave vector of the incident wave in the - plane be , then the wave vector components corresponding to the diffraction order are
here, is the free-space wave number. Therefore, the electric and magnetic fields can be expressed as a superposition of spatial harmonics:
here, and are the amplitude functions of each Fourier mode at the given position.
- Substituting into Maxwell's equations and converting them into an eigenvalue problem
Substituting the above expansions into the frequency-domain Maxwell's equations
Since the permittivity and permeability are periodic functions, multiplication becomes convolution in Fourier space, so different diffraction orders can couple with each other. For each order, one obtains a set of first-order differential equations for and , whose general form can be written as
where
The elements of the matrix are determined by the wavevector components , the material parameters , and the frequency . In this way, the matrix essentially describes the coupling between different diffraction orders. For each homogeneous layer, the constant-coefficient matrix can be further used to solve the eigenvalue problem:
where is the -th propagation eigenvalue, and is the corresponding eigenmode. In other words, the field inside a given layer is not a single plane wave, but a linear superposition of a set of propagation modes that satisfy the same boundary conditions. The field components in any layer can therefore be written as
where are the unknown expansion coefficients.
- Boundary conditions and matrix cascading
The interface boundary conditions are used to “connect” these modes from adjacent layers at the interface. If the interface is located at , the tangential electric and magnetic fields must be continuous based on Maxwell’s boundary conditions, leading to a set of matching equations for the coefficients and :
where denotes the tangential field vector of the -th propagation mode at the interface. Rewriting this in matrix form gives the linear system
By solving the linear system formed by this interface matching, one can obtain the relationships between the eigenmode coefficients of adjacent layers, and thereby determine the reflection and transmission coefficients of each layer, as well as the amplitude of each diffraction order. For multilayer structures, one can first obtain the local scattering matrix of each layer, and then use the transmission matrix or the Redheffer star product to combine the layers and obtain the total reflection and transmission properties of the entire device.
In summary, the essence of RCWA is to decompose a complex periodic structure into a set of coupled discrete Fourier diffraction orders. An incident wave excites several diffraction orders inside the grating, and these orders couple to one another through the Fourier coefficients of the periodic medium. By solving the matrix eigenvalue problem, one can accurately obtain the propagation, reflection, and transmission characteristics of each order. Therefore, RCWA is particularly well suited for analyzing periodic gratings, metasurfaces, Bragg reflectors, and other optical devices with spatial periodicity.
References
[1] V. Liu and S. Fan, "S4: A free electromagnetic solver for layered periodic structures," Computer Physics Communications, 183, 2233-2244 (2012).

