[Meep-discuss] Multiple field components in plot2D and animate2D

2020-12-29 Thread Nikolaos Matthaiakakis
Hello all, this is probably something relatively simple but I am having trouble including multiple field components in the plot2D method and animate2D class (for example including both mp.Ex and mp.Ey). Is there a simple way to set this up through the user interface? Thank you very much Best

Re: [Meep-discuss] Multiple field components in plot2D and animate2D

2020-12-29 Thread Nikolaos Matthaiakakis
region. Best wishes Nikolaos p.s the colormap error might have been due to a problem with a sub process call instead of with h5utils itself. From: Alec Hammond<mailto:alec.m.hamm...@gmail.com> Sent: 29 December 2020 18:14 To: Nikolaos Matthaiakakis<mailto:nikolao...@outlook.com>; mee

[Meep-discuss] non-uniform gridding

2020-11-30 Thread Nikolaos Matthaiakakis
commercial solutions. Saying that, I will try my best to get the scaling transformation running. Best wishes Nikolaos Matthaiakakis P.s I am not sure what you are working on but depending on your structure maybe an FEM solver would be more suitable (could be true for my case too). Sadly I am

[Meep-discuss] non-uniform gridding

2020-11-30 Thread Nikolaos Matthaiakakis
I apologize this was meant to be sent as a response to https://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg06628.html by I ended up opening a new thread by mistake. ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu

[Meep-discuss] Coordinate transform and nonlinear materials

2020-12-15 Thread Nikolaos Matthaiakakis
Dear all, I was wondering if anyone has experience with using the coordinate transform with nonlinear materials (materials with chi3 etc). https://meep.readthedocs.io/en/latest/Python_User_Interface/#medium https://meep.readthedocs.io/en/latest/Units_and_Nonlinearity/ Would the

Re: [Meep-discuss] Coordinate transform and nonlinear materials

2020-12-16 Thread Nikolaos Matthaiakakis
Thank you very much for the reply. I will try to implement it this way and will provide updates if successful. Sent: 15 December 2020 23:43 Subject: Re: [Meep-discuss] Coordinate transform and nonlinear materials You have to modify the math to handle nonlinear materials in transformation

Re: [Meep-discuss] Coordinate transform and nonlinear materials

2020-12-15 Thread Nikolaos Matthaiakakis
trying to simulate 3rd harmonic generation in graphene for example. This is going to make things a bit challenging. From: Andrew Stone<mailto:andrewston...@gmail.com> Sent: 15 December 2020 21:39 To: Nikolaos Matthaiakakis<mailto:nikolao...@outlook.com> Cc: meep-discuss@ab-in

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

2020-11-10 Thread Nikolaos Matthaiakakis
Thank you very much for the reply. So I should, for example, use the Drude model to fit the graphene conductivity over the desired frequency range and follow the tip from FAQ and assign it in the form of an anisotropic volumetric conductivity (or permittivity) to a block with a 1/resolution

[Meep-discuss] Obtaining polarization dependent Poynting flux

2020-11-11 Thread Nikolaos Matthaiakakis
Dear all, Since mp.get_fluxes() gives the Poynting flux due to all field components, I was wondering if there is a smart way to obtain the Poynting flux through a monitor region separately for Ex and Ey, as well as the phase associated with them. Thank you for your time. Best wishes Nikolaos

Re: [Meep-discuss] Obtaining polarization dependent Poynting flux

2020-11-11 Thread Nikolaos Matthaiakakis
Thank you very much, I see it is well documented in the user interface page. From: Steven G. Johnson<mailto:stevenj@gmail.com> Sent: 11 November 2020 22:45 To: Nikolaos Matthaiakakis<mailto:nikolao...@outlook.com> Cc: meep-discuss@ab-initio.mit.edu<mailto:meep-discuss@ab

Re: [Meep-discuss] Obtaining polarization dependent Poynting flux

2020-11-14 Thread Nikolaos Matthaiakakis
Issue was resolved by removing the reference source field components instead of intensity from the second simulation including the geometry From: Nikolaos Matthaiakakis<mailto:nikolao...@outlook.com> Sent: 12 November 2020 23:27 To: meep-discuss@ab-initio.mit.edu<mailto:meep-d

[Meep-discuss] Scattering flux due to cathodoluminescence (moving charge source)

2020-11-20 Thread Nikolaos Matthaiakakis
Dear Prof. Johnson and MEEP users, I have been playing around with the Cherenkov radiation example with the goal of monitoring the fields generated due to the interaction of the moving charge with a geometry (cathodoluminescence, transition radiation, scattered fields). I also aim to obtain

[Meep-discuss] In plane anisotropic conductivity of Black phosphorus

2020-11-17 Thread Nikolaos Matthaiakakis
Dear all and Prof. Johnson, I have written a code that studies the polarization dependent scattering properties of a plasmonic nanodisks. As a test material I used gold from the material library included with Meep and everything works well. For the actual simulation that I am interested in I

[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

[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

[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