MATLAB Answers

Import of a 2D mesh created by Mesh2D or NodeLab into PDE Toolbox

5 views (last 30 days)
Heinrich Villinger
Heinrich Villinger on 16 Jul 2019
Answered: Ravi Kumar on 16 Jul 2019
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

Sign in to comment.

Answers (2)


Ravi Kumar
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

Sign in to comment.

Sign in to answer this question.