Hi, I had installed the meep FDTD package a few months before, for an internship project, I am currently working on. First of all, I should confess that I am very new to FDTD simulations. I wanted to make a simulation of a dipole source kept in ice which has a varying refractive index.
As a first step, I simply kept the source (continuous wave_ freq=1 ) in middle of my cell in vacuum and tried plotting intensity as a function of distance from the source. When I fitted it with 1/r^2 it was not fitting (where r is the x distance from the source). when freq= 3 or less : the fit with 1/r^2 was not good... when freq=4 or 5: it was fitting with 1/r^2 almost... when freq=more than 7: it was much steeper than the fit.. I averaged total power outputted over each time step in hdf5 files- till some 300 runs- to get intensity values. Am I finding intensity in a wrong way? Should'nt the intensity be decreasing as 1/r^2 for any frequency? What am I doing wrong here ? Please help. Thanks, -- Krishna Nivedita G, Int.BS-MS, School of Physics, IISER Thiruvananthapuram.
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss