As discussed in “Convergence Conditions and Analytical Accuracy”, convergence conditions for the ICCG and Newton-Raphson methods are a major issue in obtaining the necessary accuracy. To obtain high accuracy, the convergence conditions must be strict, but this increases the computation time. In addition, if the convergence is too slow or if the convergence calculation is terminated at the maximum number of iterations of the Newton-Raphson method (NONLINEAR_ITERATIONS), there are cases in which sufficient accuracy has not been obtained. In such cases, the conventional EMSolution requires recalculation from the beginning with stricter convergence conditions, which is computationally expensive, especially in the case of three-dimensional analysis. We have now added a restart analysis function that takes the once-computed results as initial values and performs the analysis with stricter convergence conditions.
The following is an example of TEAM Workshop Problem 20 (Fig. 1) used in “Convergence Conditions and Analysis Accuracy”.
First, let us analyze the original data in the benchmark. Fig. 2 shows the number of ICCG iterations and residuals for the cases with coil current of 1 kA (first step).
The original convergence condition (ORIGINAL) is poor, and the ICCG method diverges without satisfying the convergence condition (ICCG_CONV=1.0e-6) in the final step of the Newton-Raphson method. However, the maximum value of the magnetic field change ($\delta B_{max}$) is 3.23e-3T, which is sufficiently convergent, and it has been demonstrated in the literature [1] that even under the ORIGINAL condition, the ICCG method is accurate in comparison with the measured values, but the divergence of the ICCG method may be questionable. Subsequent additional functionality has shown that the convergence can be improved by using the following settings, and indeed recalculation under these conditions (mod) shows that the method converges to $\delta B_{max}$ = 0.01T or less (on the order of 1.0e-9 in the ICCG residuals) in slightly more steps than the original.
The computation time is about the same for both original and mod, about 30 seconds for 4 steps, but analyzing the same problem twice by changing only the convergence conditions means that the calculation cost is twice as much.
Therefore, by applying the restart analysis function for changing convergence conditions, a new function that was added this time, to the calculation using the original result as the initial value and reflecting the mod setting (restart3), the calculation starts from the residual of the final step of the original and converges immediately to the same level as the mod. The calculation time is only 8 seconds. Table 1 shows the calculation results for the interlinkage flux. As a result, even the results of original agrees with the results of mod up to the fourth significant digit, which is sufficiently accurate. The results of mod and restart3 with stricter convergence conditions agree up to the fifth significant digit, so it can be assumed that they have almost reached the same solution.
Interlinkage flux (Wb) | ||||
---|---|---|---|---|
original | mod | restart3 | ||
1000A | Loop1 | 4.42284E-05 | 4.42287E-05 | 4.42287E-05 |
Loop2 | -4.16667E-05 | -4.16671E-05 | -4.16671E-05 | |
3000A | Loop1 | 1.11718E-04 | 1.11718E-04 | 1.11718E-04 |
Loop2 | -1.12385E-04 | -1.12385E-04 | -1.12385E-04 | |
4500A | Loop1 | 1.25318E-04 | 1.25319E-04 | 1.25319E-04 |
Loop2 | -1.37195E-04 | -1.37195E-04 | -1.37195E-04 | |
5000A | Loop1 | 1.28069E-04 | 1.28069E-04 | 1.28069E-04 |
Loop2 | -1.43926E-04 | -1.43927E-04 | -1.43927E-04 |
This function is available for static (STATIC), AC steady (AC), and transient (TRANSIENT) fields.
A restart analysis of convergence condition changes can be performed by setting DATA_TYPE=3 in addition to the same settings as for a normal restart. In this case, the solutions file that is the result of the previous analysis should be renamed old_solutions. The static magnetic field analysis can be performed in steps of INITIAL_STEP>1. For AC steady-state analysis, set INITIAL_STEP =0. Transient analysis can be restarted analysis from INITIAL_STEP >=0. For transient analysis, if the number of steps in the analysis is greater than or equal to the number of calculation steps in the previous analysis, steps with no results in old_solutions file are analyzed as usual.
[1] A. Kameari, “Local force calculation in 3D FEM with edge elements”, International Journal of Applied Electromagnetics in Materials 3, 1993, pp. 231-240
©2020 Science Solutions International Laboratory, Inc.
All Rights reserved.