Robert Koslover
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
7 years ago
15 apr 2018, 19:32 GMT-4
Updated:
7 years ago
15 apr 2018, 19:33 GMT-4
The reason the two results are different is that in the frequency domain, the electric field is represented as a COMPLEX quantity. That is, the components emw.Ex, emw.Ey, and emw.Ez are all complex numbers. The variable emw.normE is the magnitude of the complex vector. This magnitude is fixed, as the phase varies. When you plot (as opposed to compute with, in an expression) a quantity such as emw.Ex, you only see the real part in your plot. But if you multiply field components together, Comsol multiplies the complex numbers together. So you have to be careful about doing that. You can also work with the real or imaginary parts alone, if you wish, when doing computations, by using these kinds of expressions: real(emw.Ex) or imag(emw.Ex), etc. I hope that helps.
-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
The reason the two results are different is that in the frequency domain, the electric field is represented as a COMPLEX quantity. That is, the components emw.Ex, emw.Ey, and emw.Ez are all complex numbers. The variable emw.normE is the magnitude of the complex vector. This magnitude is fixed, as the phase varies. When you plot (as opposed to compute with, in an expression) a quantity such as emw.Ex, you only see the real part in your plot. But if you multiply field components together, Comsol multiplies the complex numbers together. So you have to be careful about doing that. You can also work with the real or imaginary parts alone, if you wish, when doing computations, by using these kinds of expressions: real(emw.Ex) or imag(emw.Ex), etc. I hope that helps.