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.

Rectangular Pulse Train Current (Magnetic Fields time dependant)

Please login with a confirmed email address before reporting spam

Hi,
I used a rectangular wave as external current density in Magnetic field module.
Got a following error:
Nonlinear solver did not converge.
Time : 0
Undefined value found.
NaN or Inf found when solving linear system using GMRES
Last time step is not converged.

I got this error when the number in the "upper limit" field in rect1 definition was equal to "upper limit field" in the periodic extension. Although the the total pulse length was smaller than the period time I got the error.

Solution: in order to make rectangular pulse train with 100microsec length and 20 microsec pause define:

lower limit 0 upper limit 100 and periodic extension upper limit 120 does work
Lower limit 20 , upper limit 120 and periodic extension 120 does not work.

0 Replies Last Post 17 mai 2011, 16:19 UTC−4
COMSOL Moderator

Hello Alex Golberg

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.

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.