Electromagnetic Simulation Using the FDTD Method with Python. Dennis M. Sullivan

Чтение книги онлайн.

Читать онлайн книгу Electromagnetic Simulation Using the FDTD Method with Python - Dennis M. Sullivan страница 10

Electromagnetic Simulation Using the FDTD Method with Python - Dennis M. Sullivan

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

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)equation

      (1.23c)equation

      1 Run program fd1d_1_5.py to simulate a complex dielectric material. Duplicate the results of Fig. 1.6.

      2 Verify that your calculation of the sine wave in the lossy dielectric is correct: That is, it is the correct amplitude going into the slab, and then it attenuates at the proper rate (Appendix 1.A).

      3 How would you write an absorbing boundary condition for a lossy material?

      4 Simulate a pulse hitting

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