Leon Allmannsdörfer
Subscriber

Hi,

I´m using the field calculator to charge the magnetization of the box. Therefore I use the calculatet values of B, H and a constant. Following this, the angular between the calculated vector and a constant vector is charged. The cos() of this angular is the signal im measuring. An integration over the volume of the box, followed by a scaling is also needed.

Sometimes the calculation returns nan and sometimes the signal seems to be random, while it should be a cos()-function.

What could be the reason it returns nan?

In the latest attempts, i can see too high B-Vectors at the edges of the teeth of the gearwheel. I tried using a roung shape of the edges, but it only got worse.

Is there anything else i could try?

Regards,

Leon