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.

how to fix error "NaN or Inf found when solving linear system using SOR"

Please login with a confirmed email address before reporting spam

Hi I have attached my model. Here outer coil has AC current at 1000Hz and I want to find induced voltage/current in inner coil. I have tried changing mesh, element size, frequency, even solver and boundary conditions but problem never converges and gives error "Undefined value found. - Detail: NaN or Inf found when solving linear system using SOR". And sometimes, it just went off. I would be much obliged if anyone can see whats wrong in model/problem.



2 Replies Last Post 2023年5月2日 GMT-4 14:50
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 12 months ago 2023年5月2日 GMT-4 12:00
Updated: 12 months ago 2023年5月2日 GMT-4 12:01

You are using the Magnetic Fields formalism and that means you need to avoid regions of zero conductivity. The Comsol Help system says: "Note that the frequency and time-domain formulations become ill-posed when approaching the static limit. You can extend the useful frequency range downward by adding a low conductivity." So, assign a small non-zero conductivity to the air in your model and it will help the model to converge. I also suggest you try the GMRES solver instead of BiCGStab.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
You are using the Magnetic Fields formalism and that means you need to avoid regions of zero conductivity. The Comsol Help system says: "Note that the frequency and time-domain formulations become ill-posed when approaching the static limit. You can extend the useful frequency range downward by adding a low conductivity." So, assign a small non-zero conductivity to the air in your model and it will help the model to converge. I also suggest you try the GMRES solver instead of BiCGStab.

Please login with a confirmed email address before reporting spam

Posted: 12 months ago 2023年5月2日 GMT-4 14:50

You are using the Magnetic Fields formalism and that means you need to avoid regions of zero conductivity. The Comsol Help system says: "Note that the frequency and time-domain formulations become ill-posed when approaching the static limit. You can extend the useful frequency range downward by adding a low conductivity." So, assign a small non-zero conductivity to the air in your model and it will help the model to converge. I also suggest you try the GMRES solver instead of BiCGStab.

Thankyou Robert Is there any detailed documentatation related to this scenario? Adding little conductivity to air. I want to make it more clear.

Regards

>You are using the Magnetic Fields formalism and that means you need to avoid regions of zero conductivity. The Comsol Help system says: "Note that the frequency and time-domain formulations become ill-posed when approaching the static limit. You can extend the useful frequency range downward by adding a low conductivity." So, assign a small non-zero conductivity to the air in your model and it will help the model to converge. I also suggest you try the GMRES solver instead of BiCGStab. Thankyou Robert Is there any detailed documentatation related to this scenario? Adding little conductivity to air. I want to make it more clear. Regards

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.