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

조회 수: 6 (최근 30일)
Heinrich Villinger
Heinrich Villinger 2019년 7월 16일
답변: Ravi Kumar 2019년 7월 16일
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