Import of a 2D mesh created by Mesh2D or NodeLab into PDE Toolbox
11 views (last 30 days)
Show older comments
Hello,
is it possible to import a mesh generated with Mesh2D https://de.mathworks.com/matlabcentral/fileexchange/25555-mesh2d-delaunay-based-unstructured-mesh-generation or NodeLab https://de.mathworks.com/matlabcentral/fileexchange/70038-nodelab into PDE Toolbox? If not, is there another Matlab tool to userdefined refine a 2D mesh? Any help will be greatly appreciated. Thanks a lot.
Regards
Heiner
0 Comments
Answers (2)
KSSV
on 16 Jul 2019
You need to proved the mesh in .stl format. Write the required data into .stl file using: https://in.mathworks.com/matlabcentral/fileexchange/20922-stlwrite-write-ascii-or-binary-stl-files
Ravi Kumar
on 16 Jul 2019
You can import triangles in 2-D into PDE Toolbox using geometryFromMesh function. Although it creates geometry using the mesh data, you can retain the original mesh using the syntax
[G,mesh] = geometryFromMesh(model,nodes,elements)
0 Comments
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!