Magnus Ringh
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
4 years ago
03.03.2021, 09:06 GMT-5
Hi Amartya,
This error occurs because you are using the optional third argument to the realdot
operator in in an unintended way. From the COMSOL Multiphysics documentation:
realdot(a,b,jaclevel)
The jaclevel
argument controls Jacobian contributions of the realdot(a,b)
operator and can have the following values:
- −1: (default) Jacobian contributions in the assembling only if splitting of complex variables in real and imaginary part is active for the Study
- 0: no Jacobian contributions
- 1: always Jacobian contributions
In your model, you have defined the variable nEz
as intop1(realdot(emw.Ez,emw.Ez,emw.Ez))/A
, which is an incorrect use of the syntax with three input arguments.
Best regards,
Magnus Ringh
Hi Amartya,
This error occurs because you are using the optional third argument to the `realdot` operator in in an unintended way. From the COMSOL Multiphysics documentation:
`realdot(a,b,jaclevel)`
The `jaclevel` argument controls Jacobian contributions of the `realdot(a,b)` operator and can have the following values:
* −1: (default) Jacobian contributions in the assembling only if splitting of complex variables in real and imaginary part is active for the Study
* 0: no Jacobian contributions
* 1: always Jacobian contributions
In your model, you have defined the variable `nEz` as `intop1(realdot(emw.Ez,emw.Ez,emw.Ez))/A`, which is an incorrect use of the syntax with three input arguments.
Best regards,
Magnus Ringh