The invention belongs to the technical field of
square waveguide internal field distribution calculation, and particularly relates to a method for determining field distribution of any three-dimensional curved section in a
square waveguide, which comprises the following steps of: S1, under a rectangular coordinate
system, obtaining a two-dimensional
reference plane square waveguide TEmn mode two-dimensional solution based on a variable
separation method, establishing a three-dimensional regular curved surface, and determining the field distribution of any three-dimensional curved section in the rectangular coordinate
system; initializing intrinsic
waves propagated from the two-dimensional
reference plane to the three-dimensional regular curved surface; s2, calculating an
electromagnetic field of a
ray propagated to a corresponding position of the three-dimensional regular curved surface according to a
ray propagation
optical path, establishing a mapping relation between three-dimensional curved surface
waveguide port mode field distribution and two-dimensional plane mode field distribution, determining mesh division lengths on an X axis and a Y axis, performing mesh division, determining the position of each mapping point of the three-dimensional regular curved surface in a mesh, and determining the position of each mapping point of the three-dimensional regular curved surface; and an
electromagnetic field thereof; and S3, on the basis of a rectangular coordinate
system, the local coordinate axis vector is recalibrated through a differential geometry method, and then coordinate transformation is performed on the
electromagnetic field of each mapping point on the three-dimensional regular curved surface to obtain an electromagnetic field component.