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.

Optimization Stops Even When "Stop if error" Checkbox is Cleared.

Please login with a confirmed email address before reporting spam

Hi,

I'm trying to optimize electromagnetic coil dimensions to have desired magnetic field at a point. COMSOL changes the coil dimensions in each iteration by changing control variables. However, the optimization run stops due to geometric intersections after few iterations. I know what causes this error. The workplane objects (which is changed by control variables in each iteration) intersects the revolve axis that I use to create the coil pairs.

What I want to do is, I would like COMSOL to continue with different set of control variables when such geometric error occurs. I have uncleared the "Stop if error" checkbox under "Study1>Job Configurations>Parametric Sweep 1" but COMSOL keeps stopping after that geometric error is occured.

What should I do to make COMSOL keep trying with different set of control variables ?

Thank you.

0 Replies Last Post 2017年2月14日 GMT-5 07:23
COMSOL Moderator

Hello Paul Burton

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.