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.
Mesh information
Posted Sep 17, 2020, 12:23 p.m. EDT Mesh Version 5.5 0 Replies
Please login with a confirmed email address before reporting spam
Hi! I'm having problems retrieving the mesh data, using LiveLink with Matlab. Once the mesh is created, I get the data by using the function [stats, data] = mphmeshstats(model). I must use the nodes, the elements topology and the boundary elements topology of my tetrahedral mesh to pass them as input to another functions. The vertex are obtained by simply doing vtx = data.vertex. As I understand, the elements topology are obtained by: H = data.elem{2}' + 1 (+1 beacuse of the zero indexing), but I'm not sure how to recreate the boundaries elements topology from the data structure. Any idea? Thanks!
Hello Demian Vera
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.