New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CoilSolver Crappy potentials for multi-turn circuit case #460
Comments
I looked around a bit. Didn't find the problem yet, but I cleaned the case up so it will be easier to narrow the problem down: |
I tried running the case, getting convergence problem:
@ettaka Can you reproduce "crappy potentials" error with cleansed case? |
@jvencels yes, I did reproduce it also. I must have uploaded some other try. I will upload another |
This gives me the error you mention: |
In the case I shared before, the coil solver is not solved in the air. |
That is the correct way. I'll try to review further today if I have time. |
I had a look now and it seems that if one adds elmerfem/fem/src/modules/CoilSolver.F90 Line 361 in 48ade7a
Then the results are as expected. If one adds it after that line, then the problem re-emerges. FYI @raback FYI @jvencels, Maybe as for a temporary hack, you can try to use that. |
Thanks, @ettaka |
Also we hack coil solver such that we don't have the problem shown in: #460 (comment)
@ettaka
The geometry has two simple turns.
oneCoil.sif - we connect only one turn to circuits, another one is modeled as air. This works.
series.sif - we connect both turns in series using circuits and get an error.
CoilSolver_Circuits.zip
These are the difference in cases:
On the left sif where turns connected in series, on the right - only one turn
Further, there are differences in circuit equations - one component and two components. The circuit setup should be ok as we use it all the time.
The text was updated successfully, but these errors were encountered: