Re: [Meep-discuss] Field divergence in coordinate transforming (stretching)

2013-11-08 Thread Tran Quyet Thang
tran quyet thang writes: > > > Dear professor Johnson and Meep users, > > It has been mentioned multiple times that a capacity similar to variable mesh size can be emulated in meep by applying the coordinate transformation technique formulated in "Coordinate Transformation & > Invariance in El

[Meep-discuss] Field divergence in coordinate transforming (stretching)

2013-11-07 Thread tran quyet thang
Dear professor Johnson and Meep users, It has been mentioned multiple times that a capacity similar to variable mesh size can be emulated in meep by applying the coordinate transformation technique formulated in "Coordinate Transformation & Invariance in Electromagnetism". However my attempts i

Re: [Meep-discuss] Field divergence

2008-11-18 Thread dy zhao
Hi, Yang, thanks for your help. I had previously tried the case of turning off eps-averaging, and found it can only weaken but not completely avoid the divergence if the run-time is more longer. The following is a new example in which the run-time is 6553.6. When the eps-averaging is turned off, i

Re: [Meep-discuss] Field divergence

2008-11-16 Thread jinkyu . yang
I also met this problem before. If your structure is so large and calculation time is too long, you should activate non-averaging to avoid divergence issue just like; (set! eps-averaging? false) Quoting dy zhao <[EMAIL PROTECTED]>: > Dear Dr. Steven and meep users, > > Recently, I have met the

[Meep-discuss] Field divergence

2008-11-15 Thread dy zhao
Dear Dr. Steven and meep users, Recently, I have met the divergence problem several times. Here is just one example. In order to get the more accurate transmission of a PC slab, I set a relatively long run-time, but the field is divergent at about 800 meep-time-step for r=0.25. When r=0.20, it is

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-08-01 Thread Steven G. Johnson
On Jul 31, 2008, at 3:28 AM, Jefferson Thomas wrote: > Thanks. One more thing about adding the sources in case of > symmetries : > If I have a box of sizes 4, 4, 4 with odd symmetry on X and I want > to add > a source with Ex with > f.add_point_source(Ex, src, vec(1, 1, 1), 10); where 10

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-31 Thread Jefferson Thomas
Thanks. One more thing about adding the sources in case of symmetries : If I have a box of sizes 4, 4, 4 with odd symmetry on X and I want to add a source with Ex with f.add_point_source(Ex, src, vec(1, 1, 1), 10); where 10 means the amplitude then as far as I understand I have to add a symm

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-30 Thread Jefferson Thomas
You are right. When I symmetrized the eps function the divergences disappeared. I really didnt know that this one last pixel could have such a big influence. I have also some other kind of divergences in other cases. They seem not to be connected to symmetries but arise from PML layers. I am start

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-30 Thread Steven G. Johnson
On Jul 30, 2008, at 9:20 PM, Jefferson Thomas wrote: > What you are saying is really very helpful. In fact I had no idea I > have to supply the symmetric > source. I will try it right now and see how it goes. See: http://ab-initio.mit.edu/wiki/index.php/Exploiting_symmetry_in_Meep If you don't su

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-30 Thread Jefferson Thomas
Hi Steven, What you are saying is really very helpful. In fact I had no idea I have to supply the symmetric source. I will try it right now and see how it goes. On the other hand I dont understand the thing with the symmetric eps. Although I dont know how meep works internally with the symmetries

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-29 Thread Steven G. Johnson
Your problem seems to stem from the fact that neither your structure nor your sources obey the symmetry you specified. On Jul 22, 2008, at 9:40 PM, Jefferson Thomas wrote: >meep::symmetry S=meep::identity(); >S = S+ meep::mirror(meep::X, v)*(-1); /// Introducing symmetries > on X and Y a

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-19 Thread Steven G. Johnson
On Jul 16, 2008, at 10:11 PM, Jefferson Thomas wrote: > - exciting with one gaussian_src_time with freq 0.7, width 3.0 for the Try using a narrower-bandwidth source centered on your mode frequency. That will also help harminv out, in that with a narrower bandwidth source harminv has cleaner d

[Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-16 Thread Jefferson Thomas
Hi I have a problem with meep. I am creating a pretty big simulation of photonic crystals. The size of the volume is about 200x200x200 and it is running on MPI. There is a photonic crystal structure inside and a nanocavity which is supposed to have a Q-factor of about 10^7 so to calculate it I need

[Meep-discuss] Field Divergence at PML

2006-12-08 Thread Zhichao Ruan
Hi Steven and Meep's user, When i calculate a surface plamson waveguide with metal-air-metal structure, fields always deverge at the metal-air interface nearby (and insider) the PML. The problem also exists in some other FDTD programs. Could you give some comment and advice? The following ctl f