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.

Parametric sweep - initial guess

Please login with a confirmed email address before reporting spam

Hello,
I have an AC/DC model where I want to see the state for different positions of a magnet (I'm using Comsol 4.1).
I can simulate with no problem all these different positions alone.

I made a parametric sweep to be able to plot some results depending on the magnet's position.
However in the sweep, the solver cannot converge for the second value.

I think it comes from the inital values, as in the sweep it takes the solutions from the previous results as initial guess.
Is it possible to force it to take the same initial values for each parameter step ? (I couldn't find in the documentation).

Or can I make this differently ?

Thanks !
Patrick

2 Replies Last Post 7 mar 2011, 10:08 GMT-5
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 7 mar 2011, 09:11 GMT-5
Hi

If you use an "external" parametric sweep it restarts normally from the initial position (default zero) , if you use a solver "Extension Continuation" sweep it will normally start from previous step

At least that is what I have understood


--
Good luck
Ivar
Hi If you use an "external" parametric sweep it restarts normally from the initial position (default zero) , if you use a solver "Extension Continuation" sweep it will normally start from previous step At least that is what I have understood -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 7 mar 2011, 10:08 GMT-5
Thanks for the reply.

As it doesn't work with both, then the problem must be something else :-/

I'll keep testing...
Thanks for the reply. As it doesn't work with both, then the problem must be something else :-/ I'll keep testing...

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.