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.

Error in sweep: Failed to evaluate variable "dom"

Please login with a confirmed email address before reporting spam

Hi all,

I'm trying to solve an AC/DC model using electric currents in frequency domain. I want to solve this model for different source positions, hence I try to set up a parametric sweep to change the values of a "Terminal"-Boundary condition.

Within the Terminal I defined the current as: "Ic*(dom==dom_C1)", where dom_C1 is the parameter which is going to change in the models.

However, when trying to solve the model I get the error that Comsol cannot evaluate the variable "dom", which should actually be a predefined variable pointing to a domain or boundary.

So do I use this Variable in the wrong way?

Thanks for your help!

0 Replies Last Post 2012年3月21日 GMT-4 05:35
COMSOL Moderator

Hello Sebastian Uhlemann

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.