Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial example for computing the radiation pattern of axisymmetric and nonaxisymmetric linearly polarized dipoles in cylindrical coordinates #2950

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

oskooi
Copy link
Collaborator

@oskooi oskooi commented Dec 27, 2024

Closes #2656.

Adds a new tutorial which demonstrates the computation of the radiation pattern of axisymmetric and nonaxisymmetric dipoles with linear polarization in cylindrical coordinates. The results are validated using the analytic formula for a dipole antenna in vacuum.

For some reason, I was not able to set this up using step 2 of the procedure described in Tutorial/Nonaxisymmetric Dipole Sources:

Screenshot 2024-12-26 at 17 03 21

To get this working, it was necessary to replace step 2 with the full expansion of the Fourier series involving the computation of the $+m$ and $-m$ fields separately and taking their sum via $\sum_{m=1}^M E_m + E_{-m}$ rather than using $2 \sum_{m=1}^M \Re{E_m}$. Unfortunately, this roughly doubles the number of simulations required.

@codecov-commenter
Copy link

codecov-commenter commented Dec 27, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.71%. Comparing base (f29a8c7) to head (8ba2157).
Report is 38 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2950      +/-   ##
==========================================
- Coverage   73.81%   73.71%   -0.10%     
==========================================
  Files          18       18              
  Lines        5423     5449      +26     
==========================================
+ Hits         4003     4017      +14     
- Misses       1420     1432      +12     

@oskooi
Copy link
Collaborator Author

oskooi commented Dec 28, 2024

I determined why step 2 of the procedure to compute the far fields described in the tutorial does not work. This has to do with the fact that the $\pm m$ fields are not complex conjugates for $\phi = 0$. This property had been a key assumption which we used to simplify the Fourier-series expansion involving the azimuthal dependence.

The actual relationship between the fields for an $E_r$ point source is shown below which was determined empirically. Note that for an $E_r$ source and $m = 0$, only the $(E_r, H_\phi, E_z)$ fields are nonzero. The Fourier series expansion preserves this property.

(An $E_\phi$ point source involves flipping the sign of the right hand side for the expressions below for $E_r$, $E_\phi$, $E_z$, $H_r$, $H_\phi$, and $H_z$. For an $E_\phi$ source and $m = 0$, only the $(H_r, E_\phi, H_z)$ fields are nonzero.)

cylindrical_coordinates_field_relationships

cylindrical_coordinates_fourier_series_expansion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants