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.
Posted 14 feb 2017, 07:23 GMT-5 Geometry, Optimization Version 5.2a 0 Replies
Please login with a confirmed email address before reporting spam
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.
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.