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.

Selecting faces with specific coordinates automatically

Please login with a confirmed email address before reporting spam

I simulate diffusion through porous layers. Very simple with two opposite boundaries and two different concentrations.

My problem is that the meshing (imported from another program) is very complex and it's very hard to see in Comsol which face in the geometry actually belongs to which boundary. Or to any boundary at all. So the process of allocating them is very tedious and error prone. Is there a possibility in Comsol to select faces by checking their coordinates? So e.g. select all faces with the x-coordinate of 0. Any other ideas? Thanks!

1 Reply Last Post 13 ago 2011, 13:22 GMT-4
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 13 ago 2011, 13:22 GMT-4
Hi

In v4.2 you have the new "box selection" approach, check the new features under "Definitions - Selections"

In anycase, importing meshed geometry in COMSOL is rather tricky, as in COMSOL you apply first physics to the geometry, and the meshing is done thereafter.
When you import a mesh, you need to redefine a "geoemtry" from it first. This is a particularity of the "Geometry modelling approach" used by COMSOL and only a few newer FEM tools

--
Good luck
Ivar
Hi In v4.2 you have the new "box selection" approach, check the new features under "Definitions - Selections" In anycase, importing meshed geometry in COMSOL is rather tricky, as in COMSOL you apply first physics to the geometry, and the meshing is done thereafter. When you import a mesh, you need to redefine a "geoemtry" from it first. This is a particularity of the "Geometry modelling approach" used by COMSOL and only a few newer FEM tools -- Good luck Ivar

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.