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.

Convergence problems in time dependent simulations

Please login with a confirmed email address before reporting spam

Hello,

does anyone has experience how to solve convergence problem
in time dependent simulations ? I tried to produce square wave
input waveform from a sine wave input and using two diodes to
cut the waveform. This should be a straightforward but not necessary
the best method to produce square wave. The message I got "nonlinear
solver did not converge, ..., last timestep is not converged". Any specific
solver parameter sets which could help ? A better way to generate square
or PWM waveform ?


1 Reply Last Post 2 ago 2012, 13:50 GMT-4
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2 ago 2012, 13:50 GMT-4
Hi

there are many things to follow with "square" periodic time series, it has been extensively discussed on the FORUM try a search. Amon which: use rather a continuous (smooth) function with a repetition option (analytical function), then be sure you have a few time steps during the constant period BUT also the rise times, not to say. Then be sure you set the "time stepping" to intermediate or strict and NOT to automatic, which might skip periods. Finally, do not foret to ensure you initial conditions are well defined and valid for t=0 settings of your BC

--
Good luck
Ivar
Hi there are many things to follow with "square" periodic time series, it has been extensively discussed on the FORUM try a search. Amon which: use rather a continuous (smooth) function with a repetition option (analytical function), then be sure you have a few time steps during the constant period BUT also the rise times, not to say. Then be sure you set the "time stepping" to intermediate or strict and NOT to automatic, which might skip periods. Finally, do not foret to ensure you initial conditions are well defined and valid for t=0 settings of your BC -- Good luck Ivar

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.