Patent ID: 8180612

Claim:
An electromagnetic field simulator for repeatedly calculating a distribution of an electromagnetic field in a 3-dimensional space, comprising: a processor; and a memory operatively coupled to the processor, the processor configured to execute a process including: first calculating, using a finite-difference time-domain method, a distribution of an electric field component of the electromagnetic field and a distribution of a magnetic field component of the electromagnetic field at a first point in time using the distribution of electromagnetic field at a previous, second point in time on the 3-dimensional space, second calculating, using the finite-difference time-domain method, distributions of the electric field components of TM mode and TE mode of the electromagnetic field and distributions of TM mode and TE mode of the magnetic field component of the electromagnetic field at the first point in time using the distribution of electromagnetic field at the second point in time on a 2-dimensional space on a cut plane obtained by cutting the 3-dimensional space by a plane, setting an excitation condition of generating an electromagnetic wave in the 3-dimensional space by using a calculation result of said second calculating the distribution of the electric field component of the electromagnetic field and the distribution of the magnetic field component of the electromagnetic field at the first point in time using the distribution of electromagnetic field at the second point in time, and third calculating a distribution of the electromagnetic field generating an electromagnetic wave by forcibly vibrating the electromagnetic field in a part of the 3-dimensional space by using the calculation result of each mode calculated by said second calculating as the excitation condition, wherein: said first calculating, said second calculating, said setting, and said third calculating are repeatedly performed by using the excitation condition, and a 2-dimensional electric field calculation of said second calculating is performed first, a 3-dimensional electric field calculation of said first calculating is performed next, then a 2-dimensional magnetic field calculation of said second calculating is performed, and finally a 3-dimensional magnetic field calculation of said first calculating is performed.