Extract element list from genereted mesh by matlab
3 views (last 30 days)
Show older comments
Luca Raffaelli
on 31 Oct 2019
Edited: Luca Raffaelli
on 12 Dec 2019
Hi,
I had generated the mesh in photo, i need to extract and put in a vector the name of each elements that are displayed, how can i do?
The mesh was generated with this command:
generateMesh(model,'GeometricOrder','linear')
thak you :)
3 Comments
Guillaume
on 5 Nov 2019
Luca Raffaelli's comment originally posted as an answer moved here:
I need to generet a vector (1,N) in wich will be insert the numbers of each edge of the rectangualer elements, I need this becuse this vector will be used in a boundary condition fo a navier-stokes problem.
thank you
Ganesh Regoti
on 12 Dec 2019
Hi,
May I know how you are adding the geometry to the model?
The edge names are assigned in the same order as of the points in geometry. So if you have geometry information, you can create the edge-name vectors directly from it.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!