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


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.