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 May 16, 2024, 7:18 a.m. EDT
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.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.