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)."/>
Figure 1.5 Simulation of a propagating sinusoidal wave of 700 MHz striking a medium with a relative dielectric constant of 4.
In fd1d_1_4.py, the cell size ddx
and the time step dt
are specified explicitly. We do this because we need dt
in the calculation of pulse
. The cell size ddx
is only specified because it is needed to calculate dt
from Eq. (1.7).
PROBLEM SET 1.5
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.
1.6 DETERMINING CELL SIZE
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)
If we were only simulating free space, we would choose
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.
PROBLEM SET 1.6
1 Simulate a 3 GHz sine wave impinging on a material with a dielectric constant of εr = 20.
1.7 PROPAGATION IN A LOSSY DIELECTRIC MEDIUM
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)
J, the current density, can also be written as
where σ is the conductivity. Putting this into Eq. (1.19a) and dividing through by the dielectric constant we get
We now revert to our simple one‐dimensional equation:
and make the change of variable in Eq. (1.5), which gives
(1.20b)
Next, take the finite‐difference approximation for both the temporal and spatial derivatives similar to Eq. (1.3a):
Notice that the last term in Eq. (1.20a) is approximated as the average across two time steps in Eq. (1.21). The tildes were dropped from Eq. (1.21) for simplicity. From Eq. (1.8),
so Eq. (1.21) becomes
or
Figure 1.6 Simulation of a propagating sinusoidal wave striking a lossy dielectric material with a dielectric constant of 4 and a conductivity of 0.04 (S/m). The source is 700 MHz and originates at cell number 5.
From these we can get the computer equations:
(1.22a)
(1.22b)
where
(1.23a)
(1.23b)