Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Modeling Electromagnet
Posted Dec 17, 2010, 2:58 a.m. EST Low-Frequency Electromagnetics, Studies & Solvers Version 4.1 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
attached is a model of an electromagnet (DC). The excitation happens at the coil endings via "Electric potential" and "Ground".
I managed to solve that model in v4.0a with the direct solver PARDISO with a finer mesh and linear elements. Unfortunately, this method consumes a huge amount of RAM and it is only a submodel for further investigations for me. Now I want to solve that with the iterative solver (coarser mesh but quadratic elements).
When I set a constant damping factor (see solver 1) I get "Divergence of the linear iterations". Depending on what value I set for the factor, this error occurs earlier or later.
When I set automatic damping factor (see solver 2), the solution process stops after 1 iteration without error, but the stepsize is still very large and I don't believe it is converged. Moreover, the solution process always starts with damping factor 1 although I set a smaller value.
What do you think, is this a kind of bug in COMSOL or is there something wrong with the boundaries (they changed from v4.0a to v4.1 in AC/DC module)? What can I do solve that model. I already tested various mesh sizes and solver settings.
Any comment would be appreciated.
mb
attached is a model of an electromagnet (DC). The excitation happens at the coil endings via "Electric potential" and "Ground".
I managed to solve that model in v4.0a with the direct solver PARDISO with a finer mesh and linear elements. Unfortunately, this method consumes a huge amount of RAM and it is only a submodel for further investigations for me. Now I want to solve that with the iterative solver (coarser mesh but quadratic elements).
When I set a constant damping factor (see solver 1) I get "Divergence of the linear iterations". Depending on what value I set for the factor, this error occurs earlier or later.
When I set automatic damping factor (see solver 2), the solution process stops after 1 iteration without error, but the stepsize is still very large and I don't believe it is converged. Moreover, the solution process always starts with damping factor 1 although I set a smaller value.
What do you think, is this a kind of bug in COMSOL or is there something wrong with the boundaries (they changed from v4.0a to v4.1 in AC/DC module)? What can I do solve that model. I already tested various mesh sizes and solver settings.
Any comment would be appreciated.
mb
Attachments:
2 Replies Last Post Dec 17, 2010, 8:38 a.m. EST