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

10 次查看(过去 30 天)
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

回答(2 个)

KSSV
KSSV 2019-7-16
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
Ravi Kumar 2019-7-16
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)

类别

Help CenterFile Exchange 中查找有关 Geometry and Mesh 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by