Dennis M. Sullivan

Electromagnetic Simulation Using the FDTD Method with Python


Скачать книгу

FDTD cells displaying sinusoidal waves and dashed step curves with segments for T= 150 and Eps= 4 (top) and T= 425 and Eps =4 (bottom)."/>

      1 Modify your program fd1d_1_3.py to simulate the sinusoidal source (see fd1d_1_4.py).

      2 Keep increasing your incident frequency from 700 MHz upward at intervals of 300 MHz. What happens?

      3 A wave packet, a sinusoidal function in a Gaussian envelope, is a type of propagating wave function that is of great interest in areas such as optics. Modify your program to simulate a wave packet.

      Choosing the cell size to be used in an FDTD formulation is similar to any approximation procedure: Enough sampling points must be taken to ensure that an adequate representation is made. The number of points per wavelength is dependent on many factors (3, 4). However, a good rule of thumb is 10 points per wavelength. Experience has shown this to be adequate, with inaccuracies appearing as soon as the sampling drops below this rate.

      Naturally, we must use a worst‐case scenario. In general, this will involve looking at the highest frequencies we are simulating and determining the corresponding wavelength. For instance, suppose we are running simulations with 400 MHz. In free space, EM energy will propagate at the wavelength

      (1.18)equation

      If we were only simulating free space, we would choose

equation

      However, if we are simulating EM propagation in biological tissues, for instance, we must look at the wavelength in the tissue with the highest dielectric constant, because this will have the corresponding shortest wavelength. For instance, muscle has a relative dielectric constant of about 50 at 400 MHz, so

      In this case, we would probably select a cell size of 1 cm.

      1 Simulate a 3 GHz sine wave impinging on a material with a dielectric constant of εr = 20.

      So far, we have simulated EM propagation in free space or in simple media that are specified by the relative dielectric constant εr. However, there are many media that also have a loss term specified by the conductivity. This loss term results in the attenuation of the propagating energy.

      Once more we will start with the time‐dependent Maxwell’s curl equations, but we will write them in a more general form, which allows us to simulate propagation in media that have conductivity:

      (1.19b)equation

      J, the current density, can also be written as

equation equation

      We now revert to our simple one‐dimensional equation:

equation

      (1.20b)equation

      Next, take the finite‐difference approximation for both the temporal and spatial derivatives similar to Eq. (1.3a):

equation

      so Eq. (1.21) becomes

equation

      or

equation Graph of Ex versus FDTD cells displaying a solid sinusoidal wave and dashed step curve with segments for T= 500, Eps= 4, and Cond = 0.04.

      (1.22a)equation

      (1.22b)equation

      where

      (1.23a)equation

      (1.23b)