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

Здесь есть возможность читать онлайн «Dennis M. Sullivan - Electromagnetic Simulation Using the FDTD Method with Python» — ознакомительный отрывок электронной книги совершенно бесплатно, а после прочтения отрывка купить полную версию. В некоторых случаях можно слушать аудио, скачать через торрент в формате fb2 и присутствует краткое содержание. Жанр: unrecognised, на английском языке. Описание произведения, (предисловие) а так же отзывы посетителей доступны на портале библиотеки ЛибКат.

Electromagnetic Simulation Using the FDTD Method with Python: краткое содержание, описание и аннотация

Предлагаем к чтению аннотацию, описание, краткое содержание или предисловие (зависит от того, что написал сам автор книги «Electromagnetic Simulation Using the FDTD Method with Python»). Если вы не нашли необходимую информацию о книге — напишите в комментариях, мы постараемся отыскать её.

Provides an introduction to the Finite Difference Time Domain method and shows how Python code can be used to implement various simulations This book allows engineering students and practicing engineers to learn the finite-difference time-domain (FDTD) method and properly apply it toward their electromagnetic simulation projects. Each chapter contains a concise explanation of an essential concept and instruction on its implementation into computer code. Included projects increase in complexity, ranging from simulations in free space to propagation in dispersive media. This third edition utilizes the Python programming language, which is becoming the preferred computer language for the engineering and scientific community. 
Electromagnetic Simulation Using the FDTD Method with Python, Third Edition Electromagnetic Simulation Using the FDTD Method with Python Guides the reader from basic programs to complex, three-dimensional programs in a tutorial fashion Includes a rewritten fifth chapter that illustrates the most interesting applications in FDTD and the advanced graphics techniques of Python Covers peripheral topics pertinent to time-domain simulation, such as Z-transforms and the discrete Fourier transform Provides Python simulation programs on an accompanying website An ideal book for senior undergraduate engineering students studying FDTD,
will also benefit scientists and engineers interested in the subject.

Electromagnetic Simulation Using the FDTD Method with Python — читать онлайн ознакомительный отрывок

Ниже представлен текст книги, разбитый по страницам. Система сохранения места последней прочитанной страницы, позволяет с удобством читать онлайн бесплатно книгу «Electromagnetic Simulation Using the FDTD Method with Python», без необходимости каждый раз заново искать на чём Вы остановились. Поставьте закладку, и сможете в любой момент перейти на страницу, на которой закончили чтение.

Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Suppose we are looking for a boundary condition at the end where k = 0. If a wave is going toward a boundary in free space, it is traveling at c 0, the speed of light. So, in one time step of the FDTD algorithm, it travels

Electromagnetic Simulation Using the FDTD Method with Python - изображение 25

This equation shows that it takes two time steps for the field to cross one cell. A commonsense approach tells us that an acceptable boundary condition might be

(1.12) Electromagnetic Simulation Using the FDTD Method with Python - изображение 26

The implementation is relatively easy. Simply store a value of E x(1) for two time steps and then assign it to E x(0). Boundary conditions such as these have been implemented at both ends of the E xarray in the program fd1d_1_2.py. Figure 1.3shows the results of a simulation using fd1d_1_2.py. A pulse that originates in the center propagates outward and is absorbed without reflecting anything back into the problem space.

Figure 13 Simulation of an FDTD program with absorbing boundary conditions - фото 27

Figure 1.3 Simulation of an FDTD program with absorbing boundary conditions. Notice that the pulse is absorbed at the edges without reflecting anything back.

PROBLEM SET 1.3

1 The program fd1d_1_2.py has absorbing boundary conditions at both ends. Get this program running and test it to ensure that the boundary conditions completely absorb the pulse.

1.4 PROPAGATION IN A DIELECTRIC MEDIUM

In order to simulate a medium with a dielectric constant other than 1, which corresponds to free space, we have to add the relative dielectric constant ε rto Maxwell’s equations:

(1.13a) 113b We will stay with our onedimensional example 114a - фото 28

(1.13b) We will stay with our onedimensional example 114a 114b - фото 29

We will stay with our one‐dimensional example,

(1.14a) 114b then go to the finitedifference approximations and make the change - фото 30

(1.14b) then go to the finitedifference approximations and make the change of - фото 31

then go to the finite‐difference approximations and make the change of variables in Eq. (1.5):

(1.15a) 115b From this we can get the computer equations 116a - фото 32

(1.15b) From this we can get the computer equations 116a 116b - фото 33

From this we can get the computer equations

(1.16a) 116b Figure 14 Simulation of a p - фото 34

(1.16b) Figure 14 Simulation of a pulse striking dielectric material with a dielectric - фото 35

Figure 14 Simulation of a pulse striking dielectric material with a dielectric - фото 36

Figure 1.4 Simulation of a pulse striking dielectric material with a dielectric constant of 4. The source originates at cell number 5.

where

(1.17) over those values of k that specify the dielectric material The program - фото 37

over those values of k that specify the dielectric material.

The program fd1d_1_3.py simulates the interaction of a pulse traveling in free space until it strikes a dielectric medium. The medium is specified by the parameter cbin Eq. (1.17). Figure 1.4shows the result of a simulation with a dielectric medium having a relative dielectric constant of 4. Note that one portion of the pulse propagates into the medium and the other is reflected, in keeping with basic EM theory (6).

PROBLEM SET 1.4

1 The program fd1d_1_3.py simulates a problem containing partly free space and partly dielectric material. Run this program and duplicate the results of Fig. 1.4.

2 Look at the relative amplitudes of the reflected and transmitted pulses. Are they correct? Check them by calculating the reflection and transmission coefficients ( Appendix 1.A).

3 Still using a dielectric constant of 4, let the transmitted pulse propagate until it hits the far right wall. What happens? What could you do to correct this?

1.5 SIMULATING DIFFERENT SOURCES

In the fd1d_1_1.py and fd1d_1_2.py, a source is assigned as values to E x; this is referred to as a hard source . In fd1d_1_3.py, however, a value is added to E xat a certain point; this is called a soft source . The reason is that with a hard source, a propagating pulse will see that added value and be reflected because a hard value of E xlooks like a metal wall to FDTD. With the soft source, a propagating pulse will just pass through.

Until now, we have been using a Gaussian pulse as the source. It is very easy to switch to a sinusoidal source. Just replace the parameter pulsewith the following:

The parameter freqindetermines the frequency of the wave This source is used - фото 38 The parameter freqindetermines the frequency of the wave This source is used - фото 39

The parameter freq_indetermines the frequency of the wave. This source is used in the program fd1d_1_4.py. Figure 1.5shows the same dielectric medium problem with a sinusoidal source. A frequency of 700 MHz is used. Notice that the simulation was stopped before the wave reached the far right side. Remember that we have an absorbing boundary condition, but only for free space.

Figure 15 Simulation of a propagating sinusoidal wave of 700 MHz striking a - фото 40

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 ddxand the time step dtare specified explicitly. We do this because we need dtin the calculation of pulse. The cell size ddxis only specified because it is needed to calculate dtfrom 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).

Читать дальше
Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Похожие книги на «Electromagnetic Simulation Using the FDTD Method with Python»

Представляем Вашему вниманию похожие книги на «Electromagnetic Simulation Using the FDTD Method with Python» списком для выбора. Мы отобрали схожую по названию и смыслу литературу в надежде предоставить читателям больше вариантов отыскать новые, интересные, ещё непрочитанные произведения.


Отзывы о книге «Electromagnetic Simulation Using the FDTD Method with Python»

Обсуждение, отзывы о книге «Electromagnetic Simulation Using the FDTD Method with Python» и просто собственные мнения читателей. Оставьте ваши комментарии, напишите, что Вы думаете о произведении, его смысле или главных героях. Укажите что конкретно понравилось, а что нет, и почему Вы так считаете.

x