(I've just turned on a single piece of wire right now, for simplicity)
However, when I try to add the magnetic solver, I've been unable to get it to converge. At first, I was using a potential body force, but that caused the solver to hover around an error magnitude of E+04. After reading some posts on this forum, I tried using current density instead. This improved the situation somewhat, as the solver seems to initially head in the right direction, reducing the error through each iteration. However, after a while, the error started to grow again, eventually reaching E+10. I then slightly lowered the convergence threshold, and it stopped the first stage after getting to E-11. Now it has a huge error that only grows on the second stage:
Code: Select all
OptimizeBandwidth: ---------------------------------------------------------
20 0.3214E-01
40 0.1895E-02
60 0.3168E-03
80 0.1910E-04
100 0.9439E-05
120 0.4633E-06
140 0.1555E-07
160 0.2175E-08
180 0.2919E-08
200 0.5198E-10
204 0.7313E-11
MGDynAssembly: Elapsed REAL time: 10.2464 (s)
10 0.1001E+02
20 0.4629E+02
30 0.1824E+03
40 0.6690E+03
50 0.4272E+04
60 0.1441E+05
I want to understand what's going wrong here so I'll be able to debug further problems as the model complexity grows (adding the other currents, and a permanent magnet secondary).