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.
Basic question about domains/subdomains
Posted 21 feb 2011, 05:15 GMT-5 Interfacing, Geometry, Mesh Version 3.5a, Version 4.0a 0 Replies
Please login with a confirmed email address before reporting spam
fem.geom = block3(1,1,1,'base','corner','pos',[0 0 0]);
fem.mesh = meshinit(fem, 'hauto',9);
then i obtain the elements of that mesh:
meshelements = get(fem.mesh,'el');
then take a look at the elements and the domains:
meshelements{1}.dom
meshelements{2}.dom
meshelements{3}.dom
meshelements{4}.dom
What i see is that the vertices belong to domain numbers from 1 to 8, the edges from 1 to 12, the triangles from 1 to 6 and the tetraeders are only located in domain 1.
I guess triangles are always located on one of the 6 surfaces of the block3 but the rest of the numbering is confusing me, so how does this domain numbering work?
What would happen if i add another block3 object? Is it possible to distinguish eg between triangles located in block3 A or block3 B using the domain(subdomain?) number?
Thank you in advance
Hello Chris Shor
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.