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.
access components of a vector
Posted 6 mars 2011, 04:48 UTC−5 RF & Microwave Engineering, Parameters, Variables, & Functions Version 3.5a 3 Replies
Please login with a confirmed email address before reporting spam
Hi
I am newbie for comsol. I want to integrate the cross product between Electric field components (Ex,Ey,Ez) and radius vector (r -originating from the origin [0,0,0]) defined as r=sqrt(x^2+y^2+z^2) inside a domain (volume). integral ( r x E)
I am unable to figure out how to use the vector components of radius vector r. So that I am able to define them as global variable by evaluating the following expression.
| i j k |
| rx ry rz |
| Ex Ey Ez |
Later I could integrate them on the desired domain.
P.S. I am using comsol version 3.5a.
Thanks,
I am newbie for comsol. I want to integrate the cross product between Electric field components (Ex,Ey,Ez) and radius vector (r -originating from the origin [0,0,0]) defined as r=sqrt(x^2+y^2+z^2) inside a domain (volume). integral ( r x E)
I am unable to figure out how to use the vector components of radius vector r. So that I am able to define them as global variable by evaluating the following expression.
| i j k |
| rx ry rz |
| Ex Ey Ez |
Later I could integrate them on the desired domain.
P.S. I am using comsol version 3.5a.
Thanks,
3 Replies Last Post 6 mars 2011, 08:10 UTC−5