Failed to find consistent initial values

Please login with a confirmed email address before reporting spam

I am trying to run a simulation of a DC magnetic coil. The simulation runs with no issues as a stationary problem and gives a sensible result. I would like to run the analysis as a transient problem*. I get a message saying:

Failed to find consistent initial values Undefined value found NaN or Inf found when solving linear system Last time step is not converged.

I am using the same initial values as the stationary solution which works. I have checked the documentation and forum posts. There is a suggestion to run a stationary analysis and then initialise the transient analysis with the stationary result. I have set this up and get the exact same error message.

I have tried using a tiny dt. I have tried with an enormous dt. I have tried changing the prescribed initial conditions. Same error

I guess there is a condition or setting I need to apply to get this to work in transient mode but I am at a loss to work out what this could be - I am a fairly new COMSOL user.

Any advice would be welcomed.

  • I understand there is no reason to analyse a DC magnetic field in a transient manner but I wish to couple the analysis with other transient physics problems later and want to test/validate the magnetic fields independently first.

0 Replies Last Post 17 Apr 2020, 10:10 GMT-4
COMSOL Moderator

Hello Tim Tilford

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.