On 9/17/20 12:34, Abers, Paul wrote:
using this mailing list and I did not see any rules or guidelines for
message structure, so please forgive me if I make any errors. Also,
whenever I try and open the links for the meep mailing list archives,
I get a 403 forbidden error “You don't have permission to access
/pipermail/meep-discuss/ on this server.” How can I go about getting
access to the mailing list archives such that I can try and read
previous discussions to answer some of my questions/issues.
The mailing list archives are available at:
https://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/.
My first issue is with the units. I am trying to use an input
frequency of 8 GHz, bandwidth of 500MHz for a cylinder that is 3
meters long and has a diameter of 1 meter. For converting to
dimensionless units, do I just choose a value for a that works for my
system? Say a is 1cm, then frequency = 1/wavelength = 1/3.75 = 0.267,
bandwidth would be 0.5 / 8 = 0.0625 (used in df calculation for
GaussianSource and in Simulation.add_flux), and then cylinder height =
3 / 0.01 = 300 and cylinder diameter = 1 / 0.01 = 100. Is this the
proper approach for the dimensionless units?
See: https://meep.readthedocs.io/en/latest/Introduction/#units-in-meep.
Second, I am trying to create to separate input sources for my
simulation. One that has z-polarization, and one that is orthogonal to
the z-polarization and orthogonal to the k-point vector for an oblique
planewave. I have attempted to do this by using the EigenModeSource
and setting the center, size based on the closest cardinal plane
projection and the k_point based on the direction of travel. The
polarization I control with component and amp_func. An example of my
code to achieve this would look like:
Launching a polarized planewave in 3d using the EigenModeSource requires
passing a (recently added) DiffractedPlanewave object
(https://meep.readthedocs.io/en/latest/Python_User_Interface/#diffractedplanewave)
as the eig_band parameter. To access this feature, you will need to use
the Conda package for the nightly build or build from source using the
master branch of the GitHub repository.
_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss