An efficient numerical simulation method for multi-scale electromagnetic wave problem analysis
By combining local sub-grid subdivision and nested grid technology with FDTD and PITD methods, the problems of low computational efficiency and insufficient accuracy of traditional methods in multi-scale electromagnetic wave problems are solved, and low memory requirements, few iteration steps, and long Efficient numerical simulation of time stability, suitable for a variety of material environments.
Patent Information
- Application Number
- CN202210199606.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-01
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-03-01
AI Technical Summary
When simulating multi-scale electromagnetic wave problems, the traditional FDTD method has large memory requirements, large number of iteration steps, and low computational efficiency due to CFL stability conditions and numerical dispersion error limitations. Existing hybrid algorithms have limited computational accuracy when using large time steps.
The local sub-grid subdivision technology is combined with the FDTD and PITD methods to solve the electromagnetic field quantities in the coarse grid and fine grid areas respectively, and the information exchange strategy is constructed through the nested grid technology, taking advantage of the stability conditions and the PITD method. FDTD has low memory requirements, enabling efficient numerical simulation with fewer iteration steps, low memory requirements, and good long-term stability.
It reduces the number of space grids and memory requirements, avoids cumulative errors caused by too many time steps, improves calculation efficiency and accuracy, and ensures the convergence of long-term iterative simulations. It is suitable for materials such as free space, dielectrics, and good conductors. .
Smart Images

Figure CN114528716B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computational electromagnetics, and in particular relates to an efficient numerical simulation method applied to the analysis of multi-scale electromagnetic wave problems. Background Art
[0002] The Finite-Difference Time-Domain Method (FDTD) method has the advantages of simplicity, intuitiveness and versatility, and is one of the most commonly used full-wave electromagnetic simulation tools for solving Maxwell's equations. However, due to the limitations of the Courant-Friedrich-Levy (CFL) stability condition and the increasing numerical dispersion error, the traditional FDTD method needs to use fine grids to discretize the entire computational domain when simulating complex electromagnetic wave problems with multi-scale characteristics such as ground penetrating radar, wearable antennas or sensors, which has problems such as large memory requirements, many iterations and low computational efficiency. Therefore, developing accurate and efficient numerical tools to solve multi-scale electromagnetic wave problems remains an important research direction in the field of computational electromagnetics.
[0003] The FDTD method based on local sub-grid technology is used to solve multi-scale problems, that is, the fine structure and nearby areas are selectively divided using local fine grids, and other areas are divided using coarse grids, so as to reduce the number of grids and memory requirements. However, according to the requirements of the CFL stability condition, the selection of the time step of this method is limited by the size of the fine grid, that is, when the size of the fine grid is very small, the time step is also very small, which leads to the FDTD method based on sub-grid technology still has the disadvantages of more iterations, longer execution time, and larger cumulative errors.
[0004] In order to break through the limitation of CFL stability condition in local subgrid FDTD method, a variety of time-domain hybrid numerical algorithms have been proposed, including hybrid FDTD and alternating-direction-implicit FDTD (ADI-FDTD) method and hybrid FDTD and local one-dimensional FDTD (LOD-FDTD) method. The basic idea of this type of hybrid algorithm is to use unconditionally stable time-domain numerical algorithms such as ADI-FDTD method and LOD-FDTD method to solve the field components on the local fine grid, so that the selection of time step can be determined by the coarse grid size. Therefore, this type of hybrid algorithm can use a unified large time step to solve on spatial grids of different sizes, thereby avoiding additional numerical errors caused by interpolation or extrapolation in time. However, the numerical dispersion error of ADI-FDTD method and LOD-FDTD method will increase rapidly with the increase of time step, resulting in limited calculation accuracy of this type of hybrid algorithm when using large time step for simulation.
[0005] Although the Precise-Integration Time-Domain (PITD) method is not unconditionally stable, its stability condition is still much looser than the CFL stability condition. Compared with the ADI-FDTD method and the LOD-FDTD method, the numerical dispersion error of the PITD method is smaller and is almost independent of the choice of time step. Since the PITD method has a higher memory requirement than the FDTD, ADI-FDTD and LOD-FDTD methods, it is not suitable for solving multi-scale problems alone. It should be noted that the hybrid algorithm proposed in the published invention patent "An Efficient Numerical Hybrid Algorithm for Electromagnetic Waves in the Time Domain Based on Sub-grid Technology" (Application No.: 201911387294.4) has been proven to no longer converge and stabilize when the number of iterations increases, that is, the long-term stability is poor. Summary of the invention
[0006] The purpose of the present invention is to propose an efficient numerical simulation method for the analysis of multi-scale electromagnetic wave problems. The method is based on sub-grid subdivision technology and combines the FDTD method and the PITD method to propose an efficient hybrid algorithm for solving multi-scale electromagnetic wave problems. The algorithm has the advantages of few iterations, low memory requirements, and good long-term stability.
[0007] The present invention is achieved by adopting the following technical solutions:
[0008] An efficient numerical simulation method for multi-scale electromagnetic wave problem analysis, including:
[0009] Step 1: According to the geometric structure of the multi-scale electromagnetic wave problem, the local sub-gridding technology is used to perform spatial meshing of the calculation area;
[0010] Step 2, using the FDTD method to solve the electromagnetic field quantity in the coarse grid area;
[0011] Step 3, using the PITD method to solve the electromagnetic field quantity in the fine grid area;
[0012] Step 4, calculation of the electromagnetic field quantity at the interface between the coarse grid area and the fine grid area;
[0013] Step 5: Repeat the above steps to complete all iterations.
[0014] A further improvement of the present invention is that, in step 1, for the two-dimensional transverse electric wave TE mode, the fine structure part and the nearby area are divided using a local fine grid, and other areas are divided using a coarse grid.
[0015] A further improvement of the present invention is that the size of the coarse grid is 1 / 10 to 1 / 8 of the wavelength of the electromagnetic wave in the calculation problem, the size of the fine grid is less than or equal to 1 / 2 of the size of the coarse grid, and the ratio of the size of the coarse grid to the size of the fine grid is nf.
[0016] A further improvement of the present invention is that in step 2, in the two-dimensional TE wave mode, the expansion of the Maxwell equations in the coarse grid area is:
[0017]
[0018]
[0019]
[0020] In the formula, E xc 、E yc are the electric field components in the x and y directions on the coarse grid, H zc is the magnetic field component in the z direction on the coarse grid, ε is the dielectric constant of the medium in the calculation area, σ is the conductivity of the medium in the calculation area, and μ is the magnetic permeability of the medium in the calculation area;
[0021] When solving electromagnetic field quantities, the FDTD method simultaneously performs central difference discretization on the time partial differential operator and the space partial differential operator, thereby transforming the partial differential equations into algebraic equations. The iterative solution formula of the FDTD method is as follows:
[0022]
[0023]
[0024] Where Mμ 、M ε and M σ are diagonal matrices containing material parameters such as magnetic permeability, dielectric constant and conductivity, C is the discrete curl operator, E and H are the electric field intensity vector and magnetic field intensity vector, n is the number of iteration time steps, and Δt is the time step;
[0025] The selection of the time step of the FDTD method is limited by the CFL stability condition. The expression of the FL stability condition is as follows:
[0026]
[0027] In the formula, Δx c is the spatial step size of the coarse grid in the x direction, Δy c is the spatial step of the coarse grid in the y direction, and c is the propagation speed of electromagnetic waves in the medium, which is determined by the dielectric constant and magnetic permeability.
[0028] A further improvement of the present invention is that in step 3, in the two-dimensional TE wave mode, the expansion of the Maxwell equations in the fine grid area is:
[0029]
[0030]
[0031]
[0032] In the formula, E xf 、E yf are the electric field components in the x and y directions on the fine grid, respectively, and H zf is the magnetic field component in the z direction on the fine grid;
[0033] When solving electromagnetic field quantities, the PITD method treats the time partial differential operator and the space partial differential operator separately. First, the space partial differential operator of equations (7) to (9) is discretized by second-order central difference, and the time partial differential operator is not processed, thus obtaining a set of ordinary differential equations as follows:
[0034]
[0035]
[0036]
[0037] In the formula, Δx f is the spatial step size of the fine grid in the x direction, Δy f is the spatial step size of the fine grid in the y direction;
[0038] Formula (10)-Formula (12) are unified into matrix form:
[0039]
[0040] In the formula, X=(E xf ,E yf ,H zf ) T is a one-dimensional column vector containing all electromagnetic field quantities in the spatial discrete grid, M is a coefficient matrix determined by the spatial step size and medium parameters and does not change with time, and f(t) is a one-dimensional column vector introduced by the excitation source;
[0041] According to the theory of ordinary differential equations and using three-point interpolation to construct the Gaussian integral formula, the iterative formula of the PITD method is obtained as follows:
[0042]
[0043] The numerical stability condition of the PITD method is:
[0044]
[0045] Where l = 2 N , N is a positive integer for pre-fetching.
[0046] A further improvement of the present invention is that, in step 4, in order to advance the iterative solution process of the hybrid algorithm, the electromagnetic field quantities on the interface between the coarse grid area and the fine grid area are solved to realize the exchange of computational information between the FDTD method in the coarse grid area and the PITD method in the fine grid area; wherein an information interaction strategy between the two algorithms is constructed based on the nested grids.
[0047] A further improvement of the present invention is that in step 4, the specific implementation method is as follows
[0048] First, assume that the coarse grid space step size Δx c =Δy c =Δ c , fine grid spatial step Δx f =Δy f =Δ f , Δ c / Δ f = nf;
[0049] Step 4-1, solve the electromagnetic field quantity on the interface in the x direction;
[0050] For the field quantity E on the interface in the x direction xc and E xf, the nodes of the coarse grid field quantity are numbered (i+1 / 2, j-1 / 2), and the corresponding nodes of the sub-grid field quantity are numbered (I+1 / 2, J+1 / 2), ..., (I+nf-1 / 2, J+1 / 2);
[0051] The surrounding magnetic field component H zc and H zf , we can get the coarse grid electric field component E on the interface in the x direction xc The iteration formula is as follows:
[0052]
[0053] In the formula, T is the 1×nf identity matrix;
[0054] The electric field component E of the fine grid on the interface in the x direction xf The corresponding coarse grid electric field component E xc Equal, that is, the iteration formula is:
[0055]
[0056] Step 4-2, solve the electromagnetic field quantity on the interface in the y direction;
[0057] For the field quantity E on the interface in the y direction yc and E yf , the nodes of the coarse grid field quantity are numbered (i-1 / 2, j+1 / 2), and the corresponding nodes of the sub-grid field quantity are numbered (I+1 / 2, J+1 / 2), ..., (I+1 / 2, J+nf-1 / 2);
[0058] The surrounding magnetic field component H zc and H zf , we can get the coarse grid electric field component E on the interface in the y direction yc The iteration formula is as follows:
[0059]
[0060] In the formula,
[0061] The fine grid electric field component E on the interface in the y direction yf The iteration formula is:
[0062]
[0063] A further improvement of the present invention is that in step 5, the solution process and iterative formula of the transverse magnetic wave TM mode can be obtained by analogy with the TE wave mode. The specific operation process is as follows:
[0064] (1) Use local subgrid technology to perform spatial grid division on the computational domain of multi-scale problems;
[0065] (2) Using the FDTD method to solve the electromagnetic field quantity E in the coarse grid area xc 、E yc and H zc ;
[0066] (3) The PITD method is used to solve the electromagnetic field quantity E in the fine grid area. xf 、E yf and;
[0067] (4) Using equations (16) and (18) to interpolate and calculate E on the interface between the coarse grid and the fine grid xc 、E yc Quantity;
[0068] (5) Using equations (17) and (19), calculate E on the interface between the coarse grid and the fine grid: xf 、E yf Quantity;
[0069] (6) Repeat process (1) to process (5).
[0070] The present invention has at least the following beneficial technical effects:
[0071] In the multi-scale problem of electromagnetic waves, usually the fine structure area is small, and the other areas are large. If all areas are divided into fine grids according to the fine structure, the number of grid divisions will be very large, resulting in a large demand for computer memory and a waste of computing resources. The present invention is based on the sub-grid space division method, and uses fine grids to divide the fine structure and nearby areas in the multi-scale problem of electromagnetic waves, and uses coarse grids to divide other areas. The FDTD method and the PITD method are used to solve the field quantities in the coarse grid area and the fine grid area respectively. At the same time, in order to meet the exchange requirements of computing information between the two different algorithms, a reasonable interpolation strategy is constructed based on the nested grid technology to calculate the electromagnetic field quantities on the interface between the coarse grid and the fine grid. The numerical algorithm has the following advantages:
[0072] First: Use local subgrid technology to spatially divide multi-scale problems, reduce the number of spatial grids, reduce computer memory requirements, and avoid wasting computing resources;
[0073] Second: Due to the limitation of CFL stability conditions, the traditional sub-grid FDTD method needs to select the time step according to the fine grid size, that is, the time step will be very small, resulting in a large number of iteration steps and a large cumulative error. The present invention uses the PITD method for calculation in the fine grid area. This method can break through the limitation of the CFL stability condition, that is, the same larger time step as the FDTD method in the coarse grid area can be used for simulation. On the one hand, the unified time step can avoid additional numerical errors caused by interpolation or extrapolation in time, and on the other hand, a larger time step can reduce the number of time iteration steps.
[0074] Third: Although the traditional PITD method is not limited by the CFL stability condition, it has a large memory requirement. The efficiency is not high if the PITD method is used for calculation in the entire area. The present invention uses the PITD method that can use a larger time step to solve the fine grid area with a smaller range, and uses the FDTD method with a smaller memory requirement to solve the coarse grid area with a larger range, thereby maximizing the characteristics and advantages of the two algorithms;
[0075] Fourth: The present invention constructs a computational information exchange strategy based on the nested grid technology to solve the electromagnetic field quantities at different grid interfaces. Compared with the traditional interpolation method, this strategy can ensure that the hybrid algorithm remains convergent after a long period of iterative simulation and has better long-term stability;
[0076] Fifth: The computational information exchange strategy on the interface of the present invention is applicable to materials such as free space, dielectrics and good conductors, and has wide applicability;
[0077] Sixth: The algorithm proposed in the present invention has the characteristics of small memory requirement, small number of iterations, and good long-term stability when solving the multi-scale problem of electromagnetic waves. In summary, the algorithm has the advantages of high calculation accuracy and high calculation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 The figure is a schematic diagram of the calculation flow of the algorithm proposed in the present invention.
[0079] Figure 2 Schematic diagram of spatial grid division.
[0080] Figure 3 is the field E on the interface between the coarse mesh area and the fine mesh area in the x direction xc and E xf Schematic diagram of the distribution.
[0081] Figure 4 is the field E on the interface between the coarse mesh area and the fine mesh area in the x direction yc and E yf Schematic diagram of the distribution.
[0082] Figure 5 is the electric field component E at the observation point in the resonant cavity in Example 1 of the present invention yc Graph of changes over time.
[0083] Figure 6 Schematic diagram of the geometric structure and different sub-grid arrangements of Example 2 of the present invention.
[0084] Figure 7 is the electric field component E at the observation point when the block material is copper in Example 2 of the present invention yc Graph of changes over time.
[0085] Figure 8 is the electric field component E at the observation point when the block material is a dielectric in Example 2 of the present invention yc Graph of changes over time.
[0086] Fig. 9 This is a schematic diagram of the geometric structure of Example 3 of the present invention.
[0087] Fig.10 is the electric field component E at the observation point in Example 3 of the present invention xc Graph of changes over time. DETAILED DESCRIPTION
[0088] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to be able to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0089] The present invention proposes an efficient numerical simulation method for multi-scale electromagnetic wave problem analysis. The calculation process is shown in the attached figure. Figure 1 Taking the two-dimensional TE wave mode as an example, first follow the Figure 2 The spatial grid division method shown in the figure uses fine grids and coarse grids to divide the calculation area of the multi-scale problem, where the fine grid is used for fine structures and nearby areas, and the coarse grid is used for other areas. Then the PITD method that can use a large time step is used to solve the electromagnetic field quantities in the coarse grid area (except for the electromagnetic field quantities on the interface), and the FDTD method with smaller memory requirements is used to solve the electromagnetic field quantities in the fine grid area (except for the electromagnetic field quantities on the interface). Next, with the attached Figure 3 and attached Figure 4Based on the nested grid technology shown in the figure, a reasonable solution strategy is established to calculate the electromagnetic field quantities of the fine grid and the coarse grid on the interface, so as to achieve the purpose of exchanging the calculation information of different algorithms. Finally, the above process is repeated until the required number of iterative time steps is completed. The solution process and iterative formula of the TM wave mode can be obtained by analogy with the TE wave mode.
[0090] In order to achieve the above objectives, the present invention proposes an efficient numerical simulation method for multi-scale electromagnetic wave problem analysis, comprising the following steps:
[0091] Step 1: According to the geometric structure of the multi-scale electromagnetic wave problem, the local sub-grid partitioning technology is used to partition the calculation area into spatial grids. Taking the two-dimensional TE mode as an example, the schematic diagram of the grid space partitioning is shown in the attached figure. Figure 2 As shown in the figure, the fine structure part and the nearby area are divided by local fine grids, and the other areas are divided by coarse grids. The size of the coarse grid is usually 1 / 10 to 1 / 8 of the wavelength of the electromagnetic wave being calculated, the size of the fine grid is less than or equal to 1 / 2 of the coarse grid size, and the ratio of the coarse grid size to the fine grid size is nf.
[0092] Step 2: Use the FDTD method to solve the electromagnetic field quantities in the coarse grid area.
[0093] In the two-dimensional TE wave mode, the expansion of Maxwell's equations in the coarse grid area is:
[0094]
[0095]
[0096]
[0097] In the formula, E xc 、E yc are the electric field components in the x and y directions on the coarse grid, H zc is the magnetic field component in the z direction on the coarse grid, ε is the dielectric constant of the medium in the calculation area, σ is the conductivity of the medium in the calculation area, and μ is the magnetic permeability of the medium in the calculation area.
[0098] When solving electromagnetic field quantities, the FDTD method needs to perform central difference discretization on both the time partial differential operator and the space partial differential operator, thereby transforming the partial differential equations into algebraic equations. The iterative solution formula of the FDTD method is as follows:
[0099]
[0100]
[0101] Where M u 、Mε and M σ are the diagonal matrices containing material parameters such as magnetic permeability, dielectric constant and conductivity, c is the discrete curl operator, E and H are the electric field intensity vector and magnetic field intensity vector, n is the number of iteration time steps, and Δt is the time step.
[0102] The selection of the time step of the FDTD method is limited by the CFL stability condition. The expression of the CFL stability condition is as follows:
[0103]
[0104] In the formula, Δx c is the spatial step size of the coarse grid in the x direction, Δy c is the spatial step of the coarse grid in the y direction, and c is the propagation speed of electromagnetic waves in the medium, which is determined by the dielectric constant and magnetic permeability.
[0105] Step 3: Use the PITD method to solve the electromagnetic field quantities in the fine grid area.
[0106] In the two-dimensional TE wave mode, the expansion of Maxwell's equations in the fine grid area is:
[0107]
[0108]
[0109]
[0110] In the formula, E xf 、E yf are the electric field components in the x and y directions on the fine grid, respectively, and H zf , is the magnetic field component in the z direction on the fine grid.
[0111] When solving electromagnetic field quantities, the PITD method treats the time partial differential operator and the space partial differential operator separately. First, the space partial differential operator of equations (26)-(28) is discretized by second-order central difference, and the time partial differential operator is not processed, thus obtaining a set of ordinary differential equations as follows:
[0112]
[0113]
[0114]
[0115] In the formula, Δx f is the spatial step size of the fine grid in the x direction, Δy f is the spatial step size of the fine grid in the y direction.
[0116] Formula (29)-Formula (31) are unified into matrix form:
[0117]
[0118] In the formula, X=(E xf , E yf , H zf ) T is a one-dimensional column vector containing all electromagnetic field quantities in the spatial discrete grid, M is a coefficient matrix determined by the spatial step size and medium parameters and does not change with time, and f(t) is a one-dimensional column vector introduced by the excitation source.
[0119] According to the theory of ordinary differential equations and using three-point interpolation to construct the Gaussian integral formula, the iterative formula of the PITD method can be obtained as follows:
[0120]
[0121] The numerical stability condition of the PITD method is:
[0122]
[0123] Where l = 2 N , N is a positive integer for pre-fetching.
[0124] Step 4: Calculate the electromagnetic field at the interface between the coarse grid area and the fine grid area.
[0125] In order to promote the iterative solution process of the hybrid algorithm, it is necessary to solve the electromagnetic field quantity on the interface between the coarse grid area and the fine grid area to realize the exchange of computational information between the FDTD method in the coarse grid area and the PITD method in the fine grid area. At the same time, if the computational information exchange strategy is not suitable for the hybrid algorithm, non-convergence, instability and other phenomena are prone to occur. The present invention is based on nested grids and constructs an information interaction strategy between the two algorithms, which can not only accurately exchange computational information, but also ensure the stability of the hybrid algorithm.
[0126] First, assume that the coarse grid space step size Δx c =Δy c =Δ c , fine grid spatial step Δx f =Δy f =Δ f , Δ c / Δ f =nf.
[0127] Step 4-1, solve the electromagnetic field quantity on the interface in the x direction.
[0128] For the field quantity E on the interface in the x direction xc and Exf , and its nested grid distribution is shown in the attached Figure 3 The nodes of the coarse grid field quantity are numbered as (i+1 / 2, j-1 / 2), and the corresponding nodes of the sub-grid field quantity are numbered as (I+1 / 2, J+1 / 2), ..., (I+nf-1 / 2, J+1 / 2).
[0129] The surrounding magnetic field component H zc and H zf , we can get the coarse grid electric field component E on the interface in the x direction xc The iteration formula is as follows:
[0130]
[0131] In the formula, T is the 1×nf identity matrix.
[0132] The electric field component E of the fine grid on the interface in the x direction xf The corresponding coarse grid electric field component E xc Equal, that is, the iteration formula is:
[0133]
[0134] Step 4-2, solve the electromagnetic field quantity on the interface in the y direction.
[0135] For the field quantity E on the interface in the y direction yc and E yf , and its nested grid distribution is shown in the attached Figure 4 The nodes of the coarse grid field quantity are numbered as (i-1 / 2, j+1 / 2), and the corresponding nodes of the sub-grid field quantity are numbered as (I+1 / 2, J+1 / 2), ..., (I+1 / 2, J+nf-1 / 2).
[0136] The surrounding magnetic field component H zc and H zf , we can get the coarse grid electric field component E on the interface in the y direction yc The iteration formula is as follows:
[0137]
[0138] In the formula,
[0139] The fine grid electric field component E on the interface in the y direction yf The iteration formula is:
[0140]
[0141] Step 5: Repeat the above steps to complete all iterations. The solution process and iteration formula of the TM wave mode can be obtained by analogy with the TE wave mode.
[0142] The specific operation process is as follows:
[0143] (1) The local sub-grid technology is used to perform spatial grid division on the computational area of multi-scale problems.
[0144] (2) Using the FDTD method to solve the electromagnetic field quantity E in the coarse grid area xc 、E yc and H zc (excluding the E on the interface between the coarse grid and the fine grid xc 、E yc Quantity);
[0145] (3) The PITD method is used to solve the electromagnetic field quantity E in the fine grid area. xf 、E yf and H zf (excluding the E on the interface between the coarse grid and the fine grid xf 、E yf Quantity);
[0146] (4) Using equations (35) and (37) to interpolate and calculate E on the interface between the coarse grid and the fine grid xc 、E yc Quantity;
[0147] (5) Using equations (36) and (38), calculate E on the interface between the coarse grid and the fine grid: xf 、E yf Quantity;
[0148] (6) Repeat process (1) to process (5).
[0149] Example 1: A two-dimensional resonant cavity with a size of 60 mm×40 mm.
[0150] The central 10mm×10mm area is divided by local sub-grid, and the other areas are divided by coarse grid. The size of the coarse grid is Δx c =Δy c =1mm, the ratio of coarse grid size to fine grid size is nf = 4. Based on the CFL stability that the FDTD method should satisfy, the simulation time step Δt is the maximum time step that can be selected according to the coarse grid size. The number of iterative time steps for the entire simulation is 10 6 , the excitation source is Gaussian differential pulse.
[0151] Attached Figure 5 The electric field intensity E at the observation point when calculating Example 1 by the hybrid method proposed in the present invention is shown as follows: yThe curve chart of changes over time. 6 After time iterations, the calculation results still converge, that is, the algorithm has good long-term stability.
[0152] Embodiment 2: As attached Figure 6 As shown in the figure, the calculation area is 40 mm × 40 mm, and an 8 mm × 8 mm block is set inside. The material of the block is set according to two situations: copper (conductivity is 5.6 × 10 7 s / m) and a lossy dielectric (conductivity of 5S / m and relative permittivity of 2). The subgrids can be configured to surround blocks, pass through blocks, or not contain blocks.
[0153] The full coarse grid FDTD method, the full fine grid FDTD method, and the hybrid algorithm under three sub-grid configuration forms are used to simulate Example 2. The size of the coarse grid is Δx c =Δy c =1mm, and the ratio of coarse to fine mesh size is nf=4. The time step of the all-fine mesh FDTD method is set to Δt=0.589ps, and the time step of the all-coarse mesh FDTD method and the hybrid algorithm is set to 4Δt. Δt is the maximum time step that can be selected according to the CFL stability condition under the fine mesh size. The excitation source is a Gaussian differential pulse. The entire calculation area is truncated using the stretched coordinate perfectly matched layer (SC-PML) absorbing boundary condition.
[0154] Attached Figure 7 The electric field strength E at the observation point is shown in Figure 2 when different algorithms are used to calculate Example 2 (the object is copper). y Graph of changes over time.
[0155] Attached Figure 8 The electric field strength E at the observation point is shown in Figure 2 when different algorithms are used to calculate Example 2 (the object is a lossy dielectric). y Graph of changes over time.
[0156] Under different sub-grid arrangements and different interface material properties, the calculation results of the algorithm proposed in the present invention are consistent with other algorithms and have good feasibility.
[0157] Example 3: Ground Penetrating Antenna Test Simulation, the geometric structure is arranged as shown in the attached figure. Fig. 9 The material parameter of the dielectric is the relative dielectric constant ε r =6, conductivity σ = 0. A 3mm wide air gap is set in the dielectric. The excitation source of the ground penetrating radar transmitting antenna (point T) is set to a Gaussian differential pulse with a center frequency of 900MHz.
[0158] The traditional full-fine grid FDTD method, sub-grid FDTD method and the hybrid algorithm of the present invention are used to simulate the example. For the sub-grid algorithm, the air gap and the surrounding area are divided into sub-grids, and the size of the sub-grid is set to Δx f =Δy f =1mm, and the other areas are divided by coarse grids, and the size of the coarse grid is set to Δx c =Δy c =3mm, that is, nf = 3. The traditional FDTD method is divided according to a uniform grid size, that is, Δx = Δy = 1mm. The time step of the traditional full-fine grid FDTD method and the sub-grid FDTD method is set according to the size of the fine grid, that is, Δt = 2.35ps. The time step of the algorithm proposed in the present invention is set to 3Δt.
[0159] Attached Fig.10 The electric field strength E at the receiving antenna (point O) is shown in Figure 3 when different algorithms are used to calculate the electric field strength E at the receiving antenna (point O) in Example 3. x It can be observed that the calculation results of the algorithm proposed in the present invention are consistent with those of other algorithms in terms of the two reflections at the interface between the dielectric and the air and at the air gap.
[0160] Appendix 1 shows a comparison of computing resource information of Example 3 calculated using different algorithms.
[0161] Table 1
[0162]
[0163]
[0164] The traditional FDTD method uses a uniform fine grid for partitioning. The number of grids in the main calculation area is about 360,000, and the number of grids for the SC-PML absorbing boundary condition is about 24,400, which is a large number of grids. The local sub-grid technology is used for partitioning. The number of grids in the main calculation area is about 40,240, and the number of grids for the SC-PML absorbing boundary condition is about 8,400, which is greatly reduced.
[0165] The hybrid algorithm proposed in the present invention can use a larger time step for simulation, the number of iterations is 1 / 3 of the other two algorithms, and the CPU execution time is the shortest, which is about 1 / 22 of the traditional FDTD method and 1 / 2 of the sub-grid FDTD method.
[0166] Example 3 verifies that the hybrid algorithm proposed in the present invention can effectively reduce computer memory requirements and CPU execution time, thereby improving the computational efficiency in solving electromagnetic wave multi-scale problems.
[0167] Although the present invention has been described in detail above with general descriptions and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements may be made thereto based on the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all fall within the scope of protection claimed by the present invention.
Claims
1. An efficient numerical simulation method for multi-scale electromagnetic wave problem analysis, characterized in that: include: Step 1: According to the geometric structure of the multi-scale electromagnetic wave problem, the local sub-gridding technology is used to perform spatial grid division on the calculation area; For the 2D TE mode, the fine structure part and the nearby area are divided using a local fine grid, and other areas are divided using a coarse grid; Step 2, using the FDTD method to solve the electromagnetic field quantity in the coarse grid area; Step 3, using the PITD method to solve the electromagnetic field quantity in the fine grid area; Step 4, calculation of electromagnetic field quantities on the interface between the coarse mesh region and the fine mesh region; in order to promote the iterative solution process of the hybrid algorithm, the electromagnetic field quantities on the interface between the coarse mesh region and the fine mesh region are solved to realize the exchange of computational information between the FDTD method in the coarse mesh region and the PITD method in the fine mesh region; based on the nested grid, an information interaction strategy between the two algorithms is constructed; the specific implementation method is as follows First, assume that the coarse grid space step size θx c =Δy c =Δ c , fine grid spatial step Δx f =Δy f =Δ f , Δ c / Δ f = nf; Step 4-1, solve the electromagnetic field quantity on the interface in the x direction; For the field quantity E on the interface in the x direction xc and E xf , the nodes of the coarse grid field quantity are numbered (i+1 / 2,j-1 / 2), and the corresponding nodes of the sub-grid field quantity are numbered (I+1 / 2,J+1 / 2),…,(I+nf-1 / 2,J+1 / 2); The surrounding magnetic field component H zc and H zf , we can get the coarse grid electric field component E on the interface in the x direction xc The iteration formula is as follows: In the formula, T is the identity matrix of 1×nf; The electric field component E of the fine grid on the interface in the x direction xf The corresponding coarse grid electric field component E xc Equal, that is, the iteration formula is: AND xf | I+1 / 2,J =…=And xf | I+nf-1 / 2,J =And xc | i+1 / 2,j (17) Step 4-2, solve the electromagnetic field quantity on the interface in the y direction; For the field quantity E on the interface in the y direction yc and E yf , the nodes of the coarse grid field quantity are numbered (i-1 / 2, j+1 / 2), and the corresponding nodes of the sub-grid field quantity are numbered (I+1 / 2, J+1 / 2), …, (I+1 / 2, J+nf-1 / 2); The surrounding magnetic field component H zc and H zf , we can get the coarse grid electric field component E on the interface in the y direction yc The iteration formula is as follows: In the formula, The fine grid electric field component E on the interface in the y direction yf The iteration formula is: AND yf | I,J+1 / 2 =…=And yf | I,J+nf-1 / 2 =And yc | i,j+1 / 2 (19) Step 5: Repeat the above steps to complete all iterations.
2. The efficient numerical simulation method for multi-scale electromagnetic wave problem analysis according to claim 1, characterized in that: The size of the coarse grid is 1 / 10 to 1 / 8 of the wavelength of the electromagnetic wave being calculated, the size of the fine grid is less than or equal to 1 / 2 of the size of the coarse grid, and the ratio of the coarse grid size to the fine grid size is nf.
3. The efficient numerical simulation method for multi-scale electromagnetic wave problem analysis according to claim 2 is characterized in that: In step 2, in the two-dimensional TE wave mode, the expansion of Maxwell's equations in the coarse grid area is: In the formula, E xc 、E yc are the electric field components in the x and y directions on the coarse grid, H zc is the magnetic field component in the z direction on the coarse grid, ε is the dielectric constant of the medium in the calculation area, σ is the conductivity of the medium in the calculation area, and μ is the magnetic permeability of the medium in the calculation area; When solving electromagnetic field quantities, the FDTD method simultaneously performs central difference discretization on the time partial differential operator and the space partial differential operator, thereby transforming the partial differential equations into algebraic equations. The iterative solution formula of the FDTD method is as follows: Where M μ 、M ε and M σ are diagonal matrices containing material parameters such as magnetic permeability, dielectric constant and conductivity, C is the discrete curl operator, E and H are the electric field intensity vector and magnetic field intensity vector, n is the number of iteration time steps, and Δt is the time step; The selection of the time step of the FDTD method is limited by the CFL stability condition. The expression of the FL stability condition is as follows: In the formula, Δx c is the spatial step size of the coarse grid in the x direction, Δy c is the spatial step size of the coarse grid in the y direction, and c is the propagation speed of electromagnetic waves in the medium, which is determined by the dielectric constant and magnetic permeability.
4. The efficient numerical simulation method for multi-scale electromagnetic wave problem analysis according to claim 3 is characterized in that: In step 3, in the two-dimensional TE wave mode, the expansion of Maxwell's equations in the fine grid area is: In the formula, E xf 、E yf are the electric field components in the x and y directions on the fine grid, respectively, and H zf is the magnetic field component in the z direction on the fine grid; When solving electromagnetic field quantities, the PITD method treats the time partial differential operator and the space partial differential operator separately. First, the space partial differential operator of equations (7) to (9) is discretized by second-order central difference, and the time partial differential operator is not processed, thus obtaining a set of ordinary differential equations as follows: In the formula, Δx f is the spatial step size of the fine grid in the x direction, Δy f is the spatial step size of the fine grid in the y direction; Formula (10)-Formula (12) are unified into matrix form: In the formula, X=(E xf ,E yf ,H zf ) T is a one-dimensional column vector containing all electromagnetic field quantities in the spatial discrete grid, M is a coefficient matrix determined by the spatial step size and medium parameters and does not change with time, and f(t) is a one-dimensional column vector introduced by the excitation source; According to the theory of ordinary differential equations and using three-point interpolation to construct the Gaussian integral formula, the iterative formula of the PITD method is obtained as follows: The numerical stability condition of the PITD method is: Where l = 2 N , N is a positive integer for pre-fetching.
5. The efficient numerical simulation method for multi-scale electromagnetic wave problem analysis according to claim 4, characterized in that: In step 5, the solution process and iteration formula of the transverse magnetic wave TM mode can be obtained by analogy with the TE wave mode. The specific operation process is as follows: (1) Use local subgrid technology to perform spatial grid division on the computational domain of multi-scale problems; (2) Using the FDTD method to solve the electromagnetic field quantity E in the coarse grid area xc 、E yc and H zc ; (3) The PITD method is used to solve the electromagnetic field quantity E in the fine grid area. xf 、E yf and; (4) Using equations (16) and (18) to interpolate and calculate E on the interface between the coarse grid and the fine grid xc 、E yc Quantity; (5) Using equations (17) and (19), calculate E on the interface between the coarse grid and the fine grid: xf 、E yf Quantity; (6) Repeat process (1) to process (5).
