Robert Koslover
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
12 months ago
30 août 2024, 20:03 UTC+2
Well, you can find quite a lot of info about any mesh from within the Model Builder. For example, by going to Component 1, then right-click on Mesh 1, and choose Statistics. This will bring up info about the number of vertices and the various numbers of various types of elements in your mesh, along with various options for displaying/listing their characteristics. I hope that helps.
-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Well, you can find quite a lot of info about any mesh from within the Model Builder. For example, by going to Component 1, then right-click on Mesh 1, and choose Statistics. This will bring up info about the number of vertices and the various numbers of various types of elements in your mesh, along with various options for displaying/listing their characteristics. I hope that helps.
Lars Gregersen
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
12 months ago
4 sept. 2024, 12:09 UTC+2
I you have access to LiveLink for Matlab you can use the function mphmeshstats to retrieve the coordinates and connectivity for all the mesh types you have in the mesh.
-------------------
Lars Gregersen
Comsol Denmark
I you have access to LiveLink for Matlab you can use the function **mphmeshstats** to retrieve the coordinates and connectivity for all the mesh types you have in the mesh.
Please login with a confirmed email address before reporting spam
Posted:
6 months ago
18 févr. 2025, 04:25 UTC+1
Gregersen
Dr Gregersen, how about the syntax when there are multiple meshes?
>Gregersen
Dr Gregersen, how about the syntax when there are multiple meshes?
Lars Gregersen
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
6 months ago
21 févr. 2025, 11:18 UTC+1
help mphmeshstats
gives you the answer.
E.g.
stats = mphmeshstats(model, 'mesh2')
If you write
stats = mphmeshstats(model,
and press TAB then Matlab will show you the valid mesh tags
-------------------
Lars Gregersen
Comsol Denmark
help mphmeshstats
gives you the answer.
E.g.
stats = mphmeshstats(model, 'mesh2')
If you write
stats = mphmeshstats(model,
and press TAB then Matlab will show you the valid mesh tags