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.

Error handling in Comsol

Please login with a confirmed email address before reporting spam

Hello,

I have a question about possibilities to handle errors. I use different "for"-loops to change parameters. A few sets of geometric parameters cause errors when the mesh is initialized. My problem is that comsol script stops calculation then and I can not carry on with the next parameter set.
Is there any possibility to say "on error resume next" as in visual basic to make comsol continue the calculation? If I could handle an error I could just continue the loop with the next set of parameters.

Thanks a lot for your effort!

Clemens

1 Reply Last Post 23 sept. 2014, 04:47 UTC−4
COMSOL Moderator

Hello C

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.


Please login with a confirmed email address before reporting spam

Posted: 10 years ago 23 sept. 2014, 04:47 UTC−4
Dear Clemens,

just found your "old" message.
If you are still interested in this issues maybe my current question and the replies to it(www.comsol.com/community/forums/general/thread/47639/) might be of relevance to you.

Best regards,
Juergen
Dear Clemens, just found your "old" message. If you are still interested in this issues maybe my current question and the replies to it(http://www.comsol.com/community/forums/general/thread/47639/) might be of relevance to you. Best regards, Juergen

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.