Robert Koslover
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
1 year ago
2023年8月22日 GMT-4 15:21
Updated:
1 year ago
2023年8月22日 GMT-4 16:09
Fields computed in the frequency domain formulation are complex valued. Your plot of the normal component (that's the component of the vector along a surface normal, not to be confused with the "norm" of a vector!) of the polarization P is not a time-averaged value. Rather, it is simply a plot of the real-value part of a complex term. If you want to plot the magnitude of the P vector, plot emw.normP instead. If you want the magnitude of the specific vector component that you described in your post, plot abs( ) of the expression that you wrote.
-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Fields computed in the frequency domain formulation are complex valued. Your plot of the normal component (that's the component of the vector along a surface normal, not to be confused with the "norm" of a vector!) of the polarization P is *not* a time-averaged value. Rather, it is simply a plot of the real-value part of a complex term. If you want to plot the magnitude of the P vector, plot emw.normP instead. If you want the magnitude of the specific vector component that you described in your post, plot *abs( )* of the expression that you wrote.
Please login with a confirmed email address before reporting spam
Posted:
1 year ago
2023年8月23日 GMT-4 07:23
Fields computed in the frequency domain formulation are complex valued. Your plot of the normal component (that's the component of the vector along a surface normal, not to be confused with the "norm" of a vector!) of the polarization P is not a time-averaged value. Rather, it is simply a plot of the real-value part of a complex term. If you want to plot the magnitude of the P vector, plot emw.normP instead. If you want the magnitude of the specific vector component that you described in your post, plot abs( ) of the expression that you wrote.
Thank you for your precise and clear answer.
Alberto
>Fields computed in the frequency domain formulation are complex valued. Your plot of the normal component (that's the component of the vector along a surface normal, not to be confused with the "norm" of a vector!) of the polarization P is *not* a time-averaged value. Rather, it is simply a plot of the real-value part of a complex term. If you want to plot the magnitude of the P vector, plot emw.normP instead. If you want the magnitude of the specific vector component that you described in your post, plot *abs( )* of the expression that you wrote.
Thank you for your precise and clear answer.
Alberto