Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

What is the expression of the instantaneous electric field, normEi?

Please login with a confirmed email address before reporting spam

Dear all, I am using RF module, frequency domain study (2D model). I try to plot out the electric field images, I know emw.normE=sqrt(Ex^2+Ey^2). However, when I type in expression emw.Ex^2+emw.Ey^2, the results are different. What is the difference between these two?

And what is the expression of the instantaneous electric field, normEi?


1 Reply Last Post 15.04.2018, 19:32 GMT-4
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 15.04.2018, 19:32 GMT-4
Updated: 7 years ago 15.04.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.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.