How to set mesh?
1 Mesh type
Solver | FDE | EME | FDTD | description |
---|---|---|---|---|
uniform | √ | √ | √ | The grid size in the x, y, and z directions are the same in the structure. |
auto non-uniform | √ | The size of the non-uniform grid is determined by "cells per wavelength", and the grid size is the wavelength in the structure divided by "cells per wavelength". |
1.1 Uniform
The uniform type of grid is evenly distributed in the x, y, and z directions, and the step size of the grid is set by the user.
1.2 Auto non-uniform
2 Mesh type refinement
2.1 Staircase
2.2 Curve mesh
In the case of multiple materials in the grid, the equivalent refractive index within the grid is calculated based on the electromagnetic field equation at the boundary, and then filled into the grid. Using "curve mesh" can significantly improve the accuracy of calculations with the same grid accuracy.
- The refractive index of different materials in the "staircase" type of mesh varies directly at the interface, while the interface of the "curve mesh" material is gradient.
- Under the same grid size, using a "curve mesh" type of grid is more accurate in characterizing the structure, and the accuracy of the calculation results is significantly improved. From the following example, it can be seen that using a grid size of "cells per wavelength" of 15 for the "curve mesh" type mesh is equivalent to using a grid size of "cells per wavelength" of 22 for the "staircase" type mesh, but the simulation time is saved by four times.
- The “curve mesh” is applicable to FDE, EME, and FDTD solvers.
3 Mesh accuracy
The mesh accuracy represents the size of the mesh, and the commonly used grid accuracy is shown in the table below.
Mesh Accuracy of Gloden | 1 | 2 | 3 | 4 | 5 |
---|---|---|---|---|---|
cells per wavelength of Max-Optics | 6 | 10 | 14 | 18 | 22 |
- To meet the accuracy requirements of the calculation, it is recommended to set "cells per wavelength" to 14 or above.
- If we only focus on the transmission rate, it is not necessary to set "cells per wavelength" above 22. Generally, the transmission rate set to 18 is within ±0.01 of the transmission rate error for higher grid accuracy.
- If more accurate reflectivity (-60 dB) is required, "cells per wavelength" should be set to be greater than 26.
4 Mesh factor
In the area where the global mesh and local mesh are connected, the gradient trend of grid size with different growth factors is as follows. It is obvious that the larger the growth factor, the faster the grid change rate in the connected areas, and the corresponding number of meshs is smaller. If the size of the local area network grid is a, the size of the global grid is b, and the grid factor is m, then there will be a grid gradient process of a, a∙m, a∙m^2, a∙m^3, ...b in the connected areas.
The mesh factor cannot be too small. If the mesh factor is 1, the grid will be evenly distributed throughout the entire space without any changes in size, and the number of meshs will increase significantly.