[Meep-discuss] query on add-flux function

2009-03-06 Thread Ajayram S K S M
Dear Steven, I am working at a single frequency in optical range. i am interested in getting the reflectivity and transmitivity for a geometry. for this i am using the add-flux function as explained in the meep-tutorial. (define refl ;reflected flux (add-flux 1.53233 df nfreq

[Meep-discuss] question: timestep in Meep

2009-01-30 Thread Ajayram S K S M
Hello! I am trying to simulate em fields in the vicinity of nanoparticles. parameters: a = 1 micron How do we find the size of the timestep in seconds? How do we know how many wavelengths will pass at a particular point in two timesteps? Here the last part of the program: (set!

[Meep-discuss] question : field computations

2008-12-15 Thread Ajayram S K S M
Hello! I am trying to calculate field energy in air before the field passes through a medium and after it passes through. The medium has a refractive index of 2.1609. I have used two cases: with periodic boundary conditions (using k-point) and without it. Also I have put metal nano cylinder and

[Meep-discuss] question on effect of pml layer on the phase of the EM wave

2008-12-10 Thread Ajayram S K S M
*Hello!! **I am trying to simulate the propogation of a plane wave in a glass of refractive index 1.47. But, the png image showed distortion of the plane wave with a bulge at the center. When I remove the pml layer in Y direction, I am able to get the plane wave in the glass. But, by removing