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.

Can I use the explicit selection in "dom"?

Please login with a confirmed email address before reporting spam

I have got several geometries in which I have to define different subdomains. I may not have some much pain to define an explicit selection for the subdomains. But when it comes to the assignment of materials or afterward postprocessing, I have to use A*(dom==1 || dom==2 ... on and on). It is really painful to find which number a subdomain is pertaining to.

Can I just use A*(dom == sel1), where sel1 is a predefined explicit selection set? I tried to but it failed. Any ideas or suggestions?

Venn Wu

0 Replies Last Post 2016/06/21 12:16 GMT-4
COMSOL Moderator

Hello Venn Wu

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.