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.

Obtain domain ID number of each entity of the geometry

Please login with a confirmed email address before reporting spam

Hi,

I'm creating a geometry with a lot of domains with application builder. But I can't select manually each of them to assign materials because it would take me too much time. So I have written a method to do it.
The problem is that I can't obtain the domain ID number from entities in my geometry.

Do anyone know how to do this ?
I saw other topics using selecting box or sphere but it's not that I want. I aslo saw this :
www.comsol.com/community/forums/general/thread/44315/

I thought it would help me but I don't succeed, maybe I'am doing something wrong...

Please tell me if you know anything that can help me.
Thank you in advance.

0 Replies Last Post 8 lug 2017, 17:20 GMT-4
COMSOL Moderator

Hello Loïc Prince

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.