Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
30 set 2010, 01:13 GMT-4
Hi
I do not have 3.3, but if I apply "similarity", and make the hypothesis that:
_E_ = (Ex,Ey,Ez)
then the norm should be something like
norm(_E_) = (_E_*_E_) = Ex^2+Ey^2+Ez^2
provided _E_ is real this is certainly true.
If _E_ is imaginary, I'm no longer sure now if you can use directly the same formula or you should use the complex conjugated version, I would have to check again ;)
It's mentionned somewhere in the doc
if you want the norm of the gradient of _E_, at least in V3.5 and V4, you have the components of the gradient defined as (Exx,Eyy,Ezz) or Exx = d(Ex,x)
so this should then be trivial to extrapolate, with the little warning to check for complex values.
If Exx is not defined in 3.3, you still have the diff(Ex,x), or is it already the new current notation d(Ex,x) that applies in 3.3 ?
--
Good luck
Ivar
Hi
I do not have 3.3, but if I apply "similarity", and make the hypothesis that:
_E_ = (Ex,Ey,Ez)
then the norm should be something like
norm(_E_) = (_E_*_E_) = Ex^2+Ey^2+Ez^2
provided _E_ is real this is certainly true.
If _E_ is imaginary, I'm no longer sure now if you can use directly the same formula or you should use the complex conjugated version, I would have to check again ;)
It's mentionned somewhere in the doc
if you want the norm of the gradient of _E_, at least in V3.5 and V4, you have the components of the gradient defined as (Exx,Eyy,Ezz) or Exx = d(Ex,x)
so this should then be trivial to extrapolate, with the little warning to check for complex values.
If Exx is not defined in 3.3, you still have the diff(Ex,x), or is it already the new current notation d(Ex,x) that applies in 3.3 ?
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
30 set 2010, 01:39 GMT-4
I've tried diff(Ex,x) and that work. thank you Ivar.
but then I encontered another error messege which was,
error : 7043
Initial guess leads to undefined function value.
how can I solve this kind off error messege?
I've tried diff(Ex,x) and that work. thank you Ivar.
but then I encontered another error messege which was,
error : 7043
Initial guess leads to undefined function value.
how can I solve this kind off error messege?
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
30 set 2010, 08:26 GMT-4
Hi
check what are the initial conditions (often = 0), and sometimes you divide by this value => error. It could also come from an imaginary part when only real is expected, then a "real() would help. Normally you should have a way to test your mdoel only on the initial conditions (even in 3.3)
--
Good luck
Ivar
Hi
check what are the initial conditions (often = 0), and sometimes you divide by this value => error. It could also come from an imaginary part when only real is expected, then a "real() would help. Normally you should have a way to test your mdoel only on the initial conditions (even in 3.3)
--
Good luck
Ivar