This application claims priority to Chinese Patent Application No. 202410019009.0, filed on Jan. 5, 2024, the contents of which are hereby incorporated by reference.
This application belongs to the field of electromagnetic field simulation, and in particular relates to electromagnetic field simulation methods based on face-centered cubic and subgrids.
No matter the conventional Cartesian grid or the face-centered cubic grid, the two grids are modeled using a uniform space partition size, when the model structure is relatively fine, the moment consumption and memory occupation required by the simulation will be greatly increased, which seriously impairs the simulation efficiency. In recent years, there are many methods to improve the numerical dispersion, one of which is that a higher order Taylor expansion is used for the differential operator in Maxwell's equations to map to the FDDT algorithm, which is to add more grid points in the grid to constrain the calculation. Although this method may obviously improve the isotropy, the increase of grid points leads to slower calculation speed and the more constraint conditions, making it very complicated to process different coal quality boundaries and difficult to implement. The second method is to change the spectral characteristics of excitation and optimize the dispersion characteristics of specific frequency band and specific Angle by modifying the coefficients of Maxwell's iterative equation. The universality of this method is not high, and other coefficients are needed for different frequency bands and angles. These two improved methods are based on the conventional Cartesian grid. Some researchers have taken a new approach and began to explore new inspiration from the chemical grid structure. According to the theory of chemical structure, they discovered the face-centered cubic (FCC) grid, and then applied the FCC in the electromagnetic field and wave equation, and implemented related simulation. It is found that compared with the conventional Cartesian grid, FCC grids have looser stability conditions and better isotropy. At present, there are few researches on this method at home and abroad, and there are few related literatures. Many essential elements of finite-difference time-domain (FDTD) method need to be studied.
For numerical simulation of models of different sizes, different grid partition sizes need to be selected. Fine grid partitioning will lead to more accurate conclusions, but it will consume a lot of moment and occupy much memory; rough grid partitioning leads to relatively large errors, but the simulation speed is faster and the memory burden is less. Therefore, an electromagnetic field simulation method based on a face-centered cubic and a subgrid is provided.
To solve the above technical problems, the application provides an electromagnetic field simulation method based on face-centered cubic and subgrid.
To achieve the above purpose, the application provides an electromagnetic field simulation method based on a faced-centered cubic and a subgrid, including:
Optionally, setting the period boundary conditions includes:
Obtaining an updating equation of the face-centered cubic based on the sampling point distribution of the face-centered cubic grid combined with a sampling point distribution of FDTD and the updating equation;
Optionally, setting the metal plate includes:
Optionally, Ex and Ey in the TE mode are:
Exn+1(i,j)=CA(m)·Exn(i,j)+
E
y
n+1(i,j)=CA(m)·Eyn+1(i,j)+
Optionally, Hx and Hy in the TM mode are:
Hxn+1/2(i+1/4,j+1/4)=CP(m)·Hxn−1/2(i+1/4,j+1/4)−
H
y
n+1/2(i+1/4,j+1/4)=CP(m)·Hyn−1/2(i+1/4,j+1/4)−
Where Hx and Hy are a magnetic field values in an x direction and a y direction respectively.
Optionally, simulation of electromagnetic fields includes:
Optionally, linear interpolation is used to transfer the next moment electric field component of coarse grid to the fine grid, including:
ex1=Ex1
ey1=Ey1
Optionally, linear interpolation is used to pass the next moment electric field component of coarse grid after the fine grid, including:
Where Hz is the z direction magnetic field value of the coarse grid, hz1, hz2, hz3 and hz4 are the first, second, third and fourth magnetic field values in the z direction of the fine grid respectively.
Optionally, simulation of the electromagnetic field also includes:
The beneficial effects of the application are:
For more clearly describing the technical scheme in the embodiments of the application or the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only embodiments of the application, and other drawings may be obtained from them without creative labor by persons of ordinary skill in the art.
The following is a clear and complete description of the technical scheme in the embodiments of the application in combination with the drawings. Obviously, the described embodiments are only a part of the embodiments of the application, but not the whole embodiments. Based on the embodiments of the applications, all other embodiments obtained by ordinary technicians in the art without making creative labor fall within the scope of protection of the application.
In order to make the above purposes, features and advantages of the application more obvious and understandable, the application is further explained in detail in conjunction with the drawings and specific embodiments.
As shown in
In the process of building an electromagnetic field simulation model, the simulation process of the model includes the following steps:
In the process of constructing the electromagnetic field simulation model, by setting the position and periodic boundary conditions of the subgrid, two metal plates are placed vertically on both sides of the subgrid region;
In the process of constructing the electromagnetic field simulation model, by setting the location of the subgrid and the metal plate, the point source is selected and placed in the center region where the subgrid and the metal plate are vertical;
In the process of building the electromagnetic field simulation model, the updating equation of two-dimensional FCC is derived through Maxwell equation:
TE mode includes formulas (1)-(7):
Hzn+1/2(i+¼,j+¼)=CP(m)·Hzn−1/2(i+¼,j+¼)−
For Ex and Ey, getting that:
Exn+1(i,j)=CA(m)·Exn(i,j)+
E
y
n+1(i,j)=CA(m)·Eyn(i,j)+
Similarly, TM pattern includes formulas (8)-(10):
Ezn+1(i,j)=CA(m)·Ezn+1(i,j)−
where Ez is an electric field value in a z direction, Hy is a magnetic field value in a y direction, and Hx is a value of the magnetic field in a x direction.
Hx and Hy are:
Hxn+1/2(i+¼,j+¼)=CP(m)·Hxn−1/2(i+¼,j+¼)−
H
y
n+1/2(i+¼,j+¼)=CP(m)·Hyn−1/2(i+¼,j+¼)−
Where Hx and Hy are a magnetic field values in a x direction and a y direction respectively, Hxn−1/2 is a value of a magnetic field in a x direction at a previous moment.
After obtaining an updating equation of a two-dimensional FCC, when the ratio of coarse to fine grids placed in the simulation region is 2:1, the field value exchange from the coarse grid to the subgrid region is realized by linear interpolation of the electric field of the coarse grid at the intersection line position to the electric field of the fine grid at the corresponding position of the subgrid. The mode of linear interpolation may be described by the following equations (11)-(14):
ex1=Ex1 (11)
ey1=Ey1 (12)
Obtaining the coefficient of linear interpolation according to the distance, and the interpolation of the electric field component in the y direction is the same as that in the x direction. However, since the magnetic field corresponding to the coarse grid of the FCC fine grid is replaced by the electric field of the fine grid, the magnetic field of the fine grid needs to be processed in a certain way, which is described according to the following formula (15):
After obtaining the messages of each process in the simulation region, generating a waveform through the source point, and obtaining a required moment domain waveform at the detecting point, which is convenient to verify the correctness of the result in the later stage.
According to the technical scheme, the application has the following technical effects:
In the simulation process, the technical scheme reduces the moment consumption and memory occupation required by the simulation and improves the simulation efficiency. As the ratio of the FCC moment value of FCC added to the subgrid and that of FCC not added to the subgrid is 1:4, 86.39% may be improved. This method aims to reduce the moment consumption and memory occupation of FCC algorithm simulation and improve the simulation efficiency when simulating fine models. Starting from the face-centered cubic grid, the updating equation of FCC grid is given first, and then the subgrid is combined with it to provide an interpolation method different from the conventional FDTD subgrid; finally, according to the characteristics of subgrid, a weighting method for the boundary magnetic field of coarse and fine grid is given. Finally, in order to verify the accuracy of the proposed algorithm, a simulation surface example with metal plate is presented. The proposed method is proved accurate by comparing the moment-domain waveforms of the detecting points in the simulation region with different updating methods.
The simulation method is shown in
In this embodiment, starting from Maxwell's equations:
In the two-dimensional case, Maxwell's moment-domain equations for TE mode are shown in the formula (16):
Maxwell's moment domain equations for TM mode are as shown in the formula (17):
Taking TE mode Hz component equation for example, the discrete scheme of FCC-FDTD is analyzed. For convenience, ¼ two-dimensional FCC cells (Four electric fields surround a magnetic field in the middle) are taken as shown in
The method of the application is shown in
The conventional FDTD algorithm usually uses a uniform Yee grid to partition the specific target. When the target is too small, a finer grid is needed to partition the specific target, so the whole simulation process consumes more moment and occupies more memory. The FCC subgrid used in this embodiment does not need to update the electric field and magnetic field of the coarse grid in the entire simulation region, but only needs to set the fine grid in the specified region for electric field and magnetic field iteration. Since the sampling points of FCC grid are different from those of FDTD, the interpolation processing of FCC is different from that of FDTD. The interpolation method used in this embodiment is shown in
When the ratio of coarse to fine grids placed in the simulation region is 2:1, the field value exchange between the coarse grid and the subgrid region is realized by linear interpolation between the coarse grid electric field at the intersection boundary and the fine grid electric field at the corresponding position of the subgrid, the linear interpolation method may be described by the above formulas (11)-(14).
The coefficient of linear interpolation is obtained according to the distance, the interpolation method of the electric field component in the y direction is the same as that in the x direction. However, because the magnetic field of the coarse grid corresponding to the FCC fine grid is replaced by the electric field of the fine grid, the magnetic field of the fine grid needs to be processed to a certain extent, and the processing method is described in accordance with the above formula (15).
In order to prove the algorithm is correct, this embodiment takes the simulation region structure with a metal plate for example, and uses the conventional FDTD, FCC fine grid and the algorithm proposed in this embodiment to calculate the moment domain waveform of the detecting points in the simulation region with metal plate respectively. The specific sizes are shown in
It can be seen from
In order to clearly state the advantages of the method provided by the application in saving moment, Table 1 shows the comparison result between the method provided by the application and the conventional FCC calculation moment. The moment is recorded by iterating 100 steps at 2 intervals, and the average moment is taken.
It can be seen from the table that when the grid ratio is 1:4, the algorithm provided by the application can save 93.28% of the calculation moment compared with the FCC grid.
The above embodiments are only some embodiments of the application, and do not limit the scope of the application. Under the premise of not deviating from the design spirit of the application, all kinds of changes and improvement of the technical schemes made by ordinary technicians in the field shall fall within the scope of protection determined by the claims of the application.
| Number | Date | Country | Kind |
|---|---|---|---|
| 202410019009.0 | Jan 2024 | CN | national |
| Number | Name | Date | Kind |
|---|---|---|---|
| 20150324498 | Izumi et al. | Nov 2015 | A1 |
| 20230185995 | Fang et al. | Jun 2023 | A1 |
| Number | Date | Country |
|---|---|---|
| 113987792 | Jan 2022 | CN |
| 114781220 | Jul 2022 | CN |
| 116894359 | Oct 2023 | CN |
| Entry |
|---|
| Yang et al “FDTD method for face-centered cube grid for electromagnetic scattering characteristics of object” Systems Engineering & Electronics. Oct. 1, 2021;43(10). (Year: 2021). |
| Huang Z, Wu B, Zhang H, Wu X. Parallel implication of 3-D FDTD method in a four-level atomic system. IEEE Journal of Quantum Electronics. Apr. 26, 2012;48(7):908-14. (Year: 2012). |
| Wang Kai, Research of NPML Absorption Boundary Conditions and Periodic Boundary Conditions Based on FCC-FDTD Algorithm, China Master's Theses Full-text Database—Science series, Feb. 15, 2021, pp. A005-A599, No. 2 (abstract translated pp. II-III) Claims involved: 1-3,7-10. |
| Retrieval report-First search dated Aug. 16, 2024 in SIPO application No. 202410019009.0. |
| Notification to Grant Patent Right for Invention dated Oct. 28, 2024 in SIPO application No. 202410019009.0. |
| Notice of first Office action dated Aug. 17, 2024 in SIPO application No. 202410019009.0. |