Hi Serge, I'm working on a similar problem, I have a resonant cavity... What I do is, I excite the cavity with a pulse and wait for the fields to settle down. As soon as the fields have settled down, I know extract Q factor of my cavity plus the |E|^2 field distribution.
R. Loudon's paper back in the 70s (http://iopscience.iop.org/0022-3689/3/3/008) states that the average energy (W) in a material is equal to: W= (epsilon_0 / 2) * (n^2 + 2*omega*n*k/gamma) * |E|^2 (for dispersive media) or W= (epsilon_0 / 2) * n^2 * |E|^2 (for non-dispersive media) The latter is the same as output-dpwr on the MEEP website, as far as I can tell... Best regards, Milan -----Original Message----- From: meep-discuss-boun...@ab-initio.mit.edu [mailto:meep-discuss-boun...@ab-initio.mit.edu] On Behalf Of Serge Solntsev Sent: donderdag 14 oktober 2010 11:02 To: meep-discuss@ab-initio.mit.edu Subject: [Meep-discuss] How to find average energy density? Dear MEEP users and Dr. Johnson, I'm trying to calculate absorption in the device. I start simulation with CW source, wait for a while... this is OK. Then I output electric-field energy density using (output-dpwr). Using average energy I can calculate the absorption. But as far as I understood I got momentary values of the energy from (output-dpwr). So my question is: How to find average (or maximum) of the energy for certain points of the device? I would really appreciate your help, Serge Solntsev, TU Delft _______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss _______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss