Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

Mesh information

$
0
0

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!


Viewing all articles
Browse latest Browse all 5773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>