[Meep-discuss] dipole-like source in cylindrical coordinates

2020-11-09 Thread Bogusz, Dominika P
Hello there, I am trying to get a linear, dipole-like source in a circular cavity, taking advantage of cylindrical coordinates. I am looking for the best way to do that and encountered two problems, with the linearity of the source and positioning. First, I assumed that to get a linear point

[Meep-discuss] 45 degrees and circularly polarized source

2020-11-09 Thread Nikolaos Matthaiakakis
Dear all, I am new to MEEP and I am trying to simulate a gold plasmonic scatterer. I am specifically interested in utilizing a 45degrees polarized source (between x and y polarization) or a circularly polarized source in order to excite the plasmonic nanoparticle. What would be the most efficie

[Meep-discuss] dispersive conductivity input for 2D materials

2020-11-09 Thread Nikolaos Matthaiakakis
Dear all, I have seen that it is possible to input a dispersive complex permittivity for a material by using for example DrudeSusceptibility or LorentzianSusceptibility. Is it possible to do the same for conductivity models such as the ones that are commonly used for 2D materials? I am also inte

[Meep-discuss] Removing source flux from add_near2far box

2020-11-09 Thread Nikolaos Matthaiakakis
Dear all, I was wondering if the source related flux can be removed from a nearfield box defined as nearfield_box = sim.add_near2far(frq_cen, dfrq, nfrq, mp.Near2FarRegion(center=mp.Vector3(x=-lxm/2),size=mp.Vector3(0,2*lym/2,2*lzm/2), weight=+1),

[Meep-discuss] Dispersive conductivity for 2D materials

2020-11-09 Thread Nikolaos Matthaiakakis
Dear all I apologize for reposting this but I mistakenly sent it as a reply to another topic before, I have seen that it is possible to input a dispersive complex permittivity for a material by using for example DrudeSusceptibility or LorentzianSusceptibility. Is it possible to do the same for

Re: [Meep-discuss] Removing source flux from add_near2far box

2020-11-09 Thread Steven G. Johnson
> On Nov 9, 2020, at 11:19 AM, Nikolaos Matthaiakakis > wrote: > I was wondering if the source related flux can be removed from a nearfield > box defined as > ... > by using sim.load_minus_flux_data(,) in a similar way as used for flux > monitors. Yes, use sim.load_minus_near2far, documente

Re: [Meep-discuss] Dispersive conductivity for 2D materials

2020-11-09 Thread Steven G. Johnson
> On Nov 9, 2020, at 11:24 AM, Nikolaos Matthaiakakis > wrote: > I have seen that it is possible to input a dispersive complex permittivity > for a material by using for example DrudeSusceptibility or > LorentzianSusceptibility. Is it possible to do the same for conductivity > models such as

[Meep-discuss] Drude Method Material Data

2020-11-09 Thread Gui Max
Hello I am trying to relate the material data(sigma, gamma, etc..) from the Meep material library to the literature from Horiba Technical. NiCr for example, use a value that is not seen from the literature. [image: NiCr (1).jpg] Is the omega_n in Meep not equals to the omega_p in this literature?

Re: [Meep-discuss] 45 degrees and circularly polarized source

2020-11-09 Thread Steven G. Johnson
> On Nov 9, 2020, at 10:35 AM, Nikolaos Matthaiakakis > wrote: > I am new to MEEP and I am trying to simulate a gold plasmonic scatterer. > I am specifically interested in utilizing a 45degrees polarized source > (between x and y polarization) or a circularly polarized source in order to >

Re: [Meep-discuss] Choosing Meep Unit

2020-11-09 Thread Steven G. Johnson
I would step back and ask why you want such a small Δt.If you drastically shrink Δt, the accuracy will still be limited by your spatial resolution Δx, so it is not clear what you hope to learn. Furthermore, if your frequency is 1THz, then a timestep of 0.0264ps is only about 2% of a cycl

Re: [Meep-discuss] Regarding the near to far field calculation, where is the integration done?

2020-11-09 Thread Steven G. Johnson
If it is just a problem with the precise grid, then it should go away as you increase the resolution. If the problem doesn't disappear with increasing resolution, then you have a bug somewhere else. (However, I'm curious about what you hope to learn from the far field. In a periodic structure

[Meep-discuss] Tiny bugs in build script (I think)

2020-11-09 Thread Ian Sage
I just needed to do a fresh Meep install, on a fresh install of Ubuntu 18.04. As usual, I used the script in the "build from source" section of the docs. All was well, except: 1) The meep python package is installed to /usr/local/lib/python3.6/site-packages but that directory is not added to

Re: [Meep-discuss] Regarding the near to far field calculation, where is the integration done?

2020-11-09 Thread Mandy Xia
Thank you and I will try increasing the resolution. My research lies in physically-based rendering in Computer Graphics, where I would like to apply wave optics to improve the accuracy of ray-based material models used in computer graphics. We are making the assumption that we are in the far-field

[Meep-discuss] vary the dielectric constant in a point/region

2020-11-09 Thread Krishna Nivedita G
Hi, I am a very beginner to FDTD simulations. I already gave a function to calculate the refractive index in a cell. Now I have to make some fluctuations at some point say (-49.9, -49.9,0). I have provided my code below, but it doesn't seem to be giving me the required change. Am I doing somethin