Difference between revisions of "Scattering from an infinite cylinder"

From Medusa: Coordinate Free Mehless Method implementation
Jump to: navigation, search
(Results)
(Analytical solution)
Line 21: Line 21:
  
 
==Analytical solution==
 
==Analytical solution==
 +
The solution to this problem is sought in terms of sums of cylindrical harmonics. The incident wave is a plane wave $\b E_i = \hat e_z E_0 e^{-ikx}$ and can be decomposed into Bessel functions of the first kind as
 +
\begin{equation}
 +
\mathbf{E}_{i}=\widehat{z} E_{0} e^{-i k_{0} x}= \widehat{z} E_{0} \sum_{n=-\infty}^{\infty} i^{-n} J_{n}\left(k_{0} \rho\right) e^{i n \phi}.
 +
\end{equation}
 +
The scattered field is a sum of Hankel functions so it satisfies the Sommerfeld radiation condition
 +
\begin{equation}
 +
\mathbf{E}^{s}=\widehat{z} E_{0} \sum_{n=-\infty}^{\infty} i^{-n} a_{n} H_{n}^{(2)}\left(k_{0} \rho\right) e^{i n \phi}, \quad \rho \geq a
 +
\end{equation}
 +
and finally the total field is again a sum ob Bessel functions of the first kind
 +
\begin{equation}
 +
\mathbf{E}^{t}=\widehat{z} E_{0} \sum_{n=-\infty}^{\infty} i^{-n} b_{n} J_{n}\left(k_{1} \rho\right) e^{i n \phi}, \quad \rho \leq a.
 +
\end{equation}
 +
The boundary conditions for the field and its derivative on the boundary between the cylinder and free space surrounding it give two expressions
 +
\begin{equation}
 +
J_{n}\left(k_{0} a\right)+a_{n} H_{n}^{(2)}\left(k_{0} a\right)=b_{n} J_{n}\left(k_{1} a\right)
 +
\end{equation}
 +
and
 +
\begin{equation}
 +
k_0 J^{\prime}_{n}\left(k_{0} a\right)+ k_0 a_{n} H_{n}^{\prime(2)}\left(k_{0} a\right)=k_1 b_{n} J^{\prime}_{n}\left(k_{1} a\right).
 +
\end{equation}
 +
Which give the coefficients $a_n$ and $b_n$ in the above expansions as
 +
\begin{equation}
 +
a_{n}=-\frac{J_{n}\left(k_{0} a\right)-\Gamma_{h} J_{n}^{\prime}\left(k_{0} a\right)}{H_{n}^{(2)}\left(k_{0} a\right)-\Gamma_{h} H_{n}^{(2)^{\prime}}\left(k_{0} a\right)},
 +
\end{equation}
 +
where
 +
\begin{equation}
 +
\Gamma_{h}=\frac{Z_{0}}{Z_{1}} \frac{J_{n}\left(k_{1} a\right)}{J_{n}^{\prime}\left(k_{1} a\right)}
 +
\end{equation}
 +
and
 +
\begin{equation}
 +
b_n = \frac{J_n(k_0a)}{J_n(k_1a)} + a_n \frac{H_n^{(2)}(k_0a)}{J_n(k_1a)}.
 +
\end{equation}
 +
 
==Results==
 
==Results==
 
[[File:FDFD_2D_dielcyl_Re_1.png|400px]][[File:FDFD_2D_dielcyl_Im_1.png|400px]]
 
[[File:FDFD_2D_dielcyl_Re_1.png|400px]][[File:FDFD_2D_dielcyl_Im_1.png|400px]]

Revision as of 19:56, 11 August 2020

Back to Computational electromagnetics.

Case

\( \newcommand{\eps}{\varepsilon} \newcommand{\dpar}[2]{\frac{\partial #1}{\partial #2}} \newcommand{\ddpar}[2]{\frac{\partial^2 #1}{\partial #2^2}} \def\doubleunderline#1{\underline{\underline{#1}}}\) As a simple two dimensional case let us consider a plane wave scattering on a dielectric cylinder. This case is important for two reasons, firstly, it shows how to encode the incident wave into the boundary between the cylinder and free space and thus calculate only with the scattered field outside. It shows how to use analytic expressions to represent sources with known analytical solutions, this is especially useful when dealing with point sources. Zgled je pomemben iz dveh razlogov, prvi\v c, ogledali si bomo kako vpadno polje zapi\v semo v rob med materialom in prostim prostorom in lahko kot take vire analiti\v cno predstavimo\footnote{Tu to ne pride posebno prav, ker imamo opravka z ravnim valom, v primerih ko imamo to\v ckaste izvire pa je zelo prakti\v cno.}. Secondly the problem has a relatively simple analytical solution in terms of Hankel funitons and can be used as a benchmark case.The problem is defined in two domains, inside and outside the cylinder, we are solving the following system of two PDE that are coupled on the inside boundary \begin{align} \nabla^2 v +\eps_r \frac{\omega^2}{c_0^2}\thinspace v = 0 \qquad &\text{and} \quad \Omega \label{eq:inner} \\ \nabla^2 u^s + \frac{\omega^2}{c_0^2}u^s = 0 \qquad & \text{outside} \quad \Omega \label{eq:outer} \end{align} The field $v$ is the total field inside, $u^s$ is only the scattered part of $E_z$ Outside the cylinder. The boundary conditions are \begin{equation} v - u^s =u^i \qquad \text{on} \quad \partial \Omega \label{eq:BC1}, \qquad \text{and} \qquad \dpar{v}{n} - \frac{1}{\eps_r}\dpar{u^s}{n} = \dpar{u^i}{n} \qquad \text{on} \quad \partial \Omega. \end{equation} The incident field $u^i$ has an analytical form in our case a plane wave $e^{ikx}$, since it has a nice closed form we know its derivatives and the boundary conditions are nicely expressed. Around the computational domain we use a PML to simulate an infinite domain.

Analytical solution

The solution to this problem is sought in terms of sums of cylindrical harmonics. The incident wave is a plane wave $\b E_i = \hat e_z E_0 e^{-ikx}$ and can be decomposed into Bessel functions of the first kind as \begin{equation} \mathbf{E}_{i}=\widehat{z} E_{0} e^{-i k_{0} x}= \widehat{z} E_{0} \sum_{n=-\infty}^{\infty} i^{-n} J_{n}\left(k_{0} \rho\right) e^{i n \phi}. \end{equation} The scattered field is a sum of Hankel functions so it satisfies the Sommerfeld radiation condition \begin{equation} \mathbf{E}^{s}=\widehat{z} E_{0} \sum_{n=-\infty}^{\infty} i^{-n} a_{n} H_{n}^{(2)}\left(k_{0} \rho\right) e^{i n \phi}, \quad \rho \geq a \end{equation} and finally the total field is again a sum ob Bessel functions of the first kind \begin{equation} \mathbf{E}^{t}=\widehat{z} E_{0} \sum_{n=-\infty}^{\infty} i^{-n} b_{n} J_{n}\left(k_{1} \rho\right) e^{i n \phi}, \quad \rho \leq a. \end{equation} The boundary conditions for the field and its derivative on the boundary between the cylinder and free space surrounding it give two expressions \begin{equation} J_{n}\left(k_{0} a\right)+a_{n} H_{n}^{(2)}\left(k_{0} a\right)=b_{n} J_{n}\left(k_{1} a\right) \end{equation} and \begin{equation} k_0 J^{\prime}_{n}\left(k_{0} a\right)+ k_0 a_{n} H_{n}^{\prime(2)}\left(k_{0} a\right)=k_1 b_{n} J^{\prime}_{n}\left(k_{1} a\right). \end{equation} Which give the coefficients $a_n$ and $b_n$ in the above expansions as \begin{equation} a_{n}=-\frac{J_{n}\left(k_{0} a\right)-\Gamma_{h} J_{n}^{\prime}\left(k_{0} a\right)}{H_{n}^{(2)}\left(k_{0} a\right)-\Gamma_{h} H_{n}^{(2)^{\prime}}\left(k_{0} a\right)}, \end{equation} where \begin{equation} \Gamma_{h}=\frac{Z_{0}}{Z_{1}} \frac{J_{n}\left(k_{1} a\right)}{J_{n}^{\prime}\left(k_{1} a\right)} \end{equation} and \begin{equation} b_n = \frac{J_n(k_0a)}{J_n(k_1a)} + a_n \frac{H_n^{(2)}(k_0a)}{J_n(k_1a)}. \end{equation}

Results

FDFD 2D dielcyl Re 1.pngFDFD 2D dielcyl Im 1.png

FDFD 2D dielcyl Re 2.pngFDFD 2D dielcyl Im 2.png

FDFD 2D dielcyl Re 3.pngFDFD 2D dielcyl Im 3.png

FDFD 2D dielcyl Re 4.pngFDFD 2D dielcyl Im 4.png

FDFD 2D dielcyl Re 5.pngFDFD 2D dielcyl Im 5.png

FDFD 2D benchmark times basic.png

FDFD 2D dx conv2.png