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 the coordinates of faces

Please login with a confirmed email address before reporting spam

Hello!

I'm using COMSOL with MATLAB, and I need to get the coordinates of the faces of my model. I'm using the following line: [info1, data1] = mphgeominfo(model, 'geom1', 'entity', 'face');

However, I'm encountering a problem because the geometry comes from an imported mesh, which results in the following error:

Error using mphgeominfo DATA output is not supported when the geometric model is defined by a mesh and entity is a face

Error in TestSelecAuto (line 72) [info1, data1] = mphgeominfo(model, 'geom1', 'entity', 'face');

How can I obtain the faces data in this situation?

Thank you, Vassili


0 Replies Last Post 2024年5月16日 GMT-4 07:18
COMSOL Moderator

Hello Vassili DELINE

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.