The invention relates to the technical field of
electromagnetic field numerical values, and discloses a grid generation method, an
electromagnetic simulation method, a device, equipment, a medium and a product, and the method comprises the steps: extracting a plurality of feature points from a
metal geometric model, the plurality of feature points being used for representing key points enabling an
electromagnetic field to generate singular behaviors in the
metal geometric model; determining the maximum grid step length according to the shortest
wavelength and the longest side of a bounding box of the
metal geometric model; the minimum grid step length, the grid
encryption area, the
encryption step length and the grid
smoothing factor are determined, the
encryption step length is the grid step length of the grid encryption area, and the grid
smoothing factor is used for representing the change rate between every two adjacent grid step lengths; and according to the plurality of feature points, the maximum grid step length, the minimum grid step length, the grid encryption area, the encryption step length and the grid
smoothing factor, generating a plurality of grid points so as to divide the metal geometric model into a plurality of grids. According to the method, the calculation efficiency and the result precision of the FIT
algorithm can be effectively improved.