Robert Koslover
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
1 year ago
Aug 30, 2024, 2:03 p.m. EDT
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
Sep 4, 2024, 6:09 a.m. EDT
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
Feb 17, 2025, 10:25 p.m. EST
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
Feb 21, 2025, 5:18 a.m. EST
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