Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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's Enorm
Posted 7 giu 2012, 05:51 GMT-4 RF & Microwave Engineering Version 3.5a 7 Replies
Please login with a confirmed email address before reporting spam
Here I want to ask some very basic questions:
1. What's Enorm in comsol?
2. What's relationship between Enorm and Ex(or Ey Ez)
Please login with a confirmed email address before reporting spam
check your equation views, there you find the definitions (mostly)
I assume its the norm of E hence the scalar sqrt(Ex^2+Ey^2+Ez^2) where (Ex,Ey,Ez) is your field vector
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Best regards
Please login with a confirmed email address before reporting spam
"The variable normE is defined by the expression
sqrt(realdot(Ex,Ex)+realdot(Ey,Ey)+realdot(Ez,Ez)), where the operator
realdot(a,b) treats complex numbers a and b as if they were real-valued
vectors of length 2 and returns their dot product (like a shorthand form of
real(a*conj(b)), except in respect to its partial derivatives). More
information on the realdot() operator can be found in the COMSOL
Multiphysics User's Guide on p. 119"
It is a bit more involved that the square root of the sum of squares.
Please login with a confirmed email address before reporting spam
you are perfectly correct,
because of the possible COMPLEX representations of the E field phasor you need then to use the realdot() operator, this applies several places, not only for E. It all depends in which study you are , thanks for the reminder
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Can you tell me how to get the complex value E from the comsol. it really annoyed me. I used comsol-matlab (mentioned in the following), but the value what I get is real value (not complex data), it should be the complex data (include phase), right?
Looking ofrward to your reply! thanks very much!!
e.g., if I want to get the Ey value.
yy=postplot(fem,'tridata',{'Ey','cont','internal','unit','V/m'},'solnum',index,'outtype','postdataonly');
the value waht I get is only real data (no imaginary part).
Please login with a confirmed email address before reporting spam
COMSOL has the complex values stored, but you can only extract a scalar hence when youneed t fetch it in two steps as a real(E)+i*imag(E), and dump it via 2 real values and recombine with the "i" in matlab or EXcel or whatever you use
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
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.
Suggested Content
- BLOG Philosophy of the Ribbon
 - KNOWLEDGE BASE What are batch licenses and how can I use them?
 - BLOG What Is COMSOL Multiphysics?
 - FORUM What is mf.PCoil1
 - KNOWLEDGE BASE What Does Degrees of Freedom (DOFs) Mean in COMSOL Multiphysics?
 
