1
$\begingroup$

In Constantine A. Balanis' book about antennas, he introduced the method of moments for current distribution over a finite dipole.

I found that the method of moments works very bad for a half-wavelength dipole when you increase the subsegment to 2001. What's wrong?

POCKLINGTON''S EQN NUMBER OF SUBDIVISIONS <ODD NUMBER> = 2001 TOTAL DIPOLE LENGTH <WAVELENGTHS> = 0.9 RADIUS OF DIPOLE <WAVELENGTHS> =0.005 MAGNETIC-FRILL 

The following is what it looks like when NUMBER OF SUBDIVISIONS = 2001

enter image description here

The following is what it looks like when NUMBER OF SUBDIVISIONS = 201

enter image description here

The link for this code in matlab. get code here

1. Different Ways of Discretizing the Integral

Original Simpson’s-rule–style code

  1. Splits the integral over $z'$ into segments and uses Simpson’s rule to approximate
    $$ \int_{-l/2}^{+l/2} \frac{e^{-j k R}}{R^5} \bigl[(1 + j k R)(2R^2 - 3a^2) + (k a R)^2\bigr] \,dz' $$

$$\int_{-l/2}^{+l/2} \frac{I_z(z') e^{-jkR}}{4\pi R^5} \left[ (1 + jkR)(2R^2 - 3a^2) + (kaR)^2 \right] dz' = -j\omega E_z^i (\rho = a) $$ 2. There are explicit factors like $\tfrac{4}{3}$, or sums of coefficients 4 and 2 in the loop (if mod(k,2)~=0 ...), which is the Simpson integration logic.

Matrix-based Method of Moments (MoM) code

  1. Builds a discrete matrix $\mathbf{Z}$ (which you named imp) of dimension $N\times N$:
    $$ Z_{nm} \;=\; f\bigl(a,z_n, z_m\bigr)\,\Delta z' \quad\text{where}\quad z_n,\;z_m \;\text{are discrete points along the wire, etc.} $$
  2. The function
    function zi = f(a,z,z1) R = sqrt( (z - z1)^2 + a^2 ); k = 2*pi; p1 = exp(-1i*k*R)/(4*pi*R^5); p2 = (1+1i*k*R)*(2*R^2 - 3*a^2) + (k*a*R)^2; zi = p1*p2; end 
    corresponds to the kernel of your integral $\frac{1}{4\pi R^5}\bigl(\cdots\bigr)$.
  3. Instead of using Simpson’s rule, the code essentially multiplies by $\Delta z'$ (dz1) and then sums these entries in the matrix equation $\mathbf{Z}\,\mathbf{I} = \mathbf{V}$.

Key difference: The Simpson’s-rule code accumulates the integral by adding up function values with coefficients (4,2,1). The matrix code lumps the kernel values into matrix entries (Z_{n,m}) (plus a uniform $\Delta z'$ factor), then solves $\mathbf{Z}\,\mathbf{I} = \mathbf{b}$.

Constantine A. Balanis used simpson rule in his matlab code.

$\endgroup$
6
  • $\begingroup$ You are expecting too much of the people here. You show a five-line input file for software likely noone here knows, and then you show a picture for which you neither explain what it shows, nor what you expect, nor what how these differ. You're unlikely going to get good answers if you don't ask good questions. $\endgroup$ Commented Jan 27 at 17:45
  • $\begingroup$ @WolfgangBangerth More details has been added now $\endgroup$ Commented Jan 27 at 18:28
  • $\begingroup$ Isn't this still the (nearly) fullwave dipole from your previous question, but now only plotted over the left half? Isn't that what 0.9 indicates? $\endgroup$ Commented Jan 27 at 18:54
  • $\begingroup$ @rchilton1980 Yes, but it doesn't look likes trig at all when you increase the number of subdivision to 2001 $\endgroup$ Commented Jan 27 at 19:52
  • $\begingroup$ You haven't addressed this part: "you show a picture for which you neither explain what it shows, nor what you expect, nor what how these differ" $\endgroup$ Commented Jan 27 at 20:16

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.