How can I generate a mesh of quadrilaterals for a given 2D surface using MATLAB?
조회 수: 29 (최근 30일)
이전 댓글 표시
Does somebody know, how to simply and theoretically generate a mesh of quadrilaterals on a given surface?
The surface is in the x,y-plane and might also have curved borders.
I have searched on google and found like tons and tons of informations and also free software to take over this Job, but I really would like to know, how I can generate a mesh of quadrilateral elements which corresponds to a given surface just on my own.
So where is the best place to start? I need to develop my own understanding and also my own spaghetti code for this task.
Given the borders of and the interior of a 2D surface, how or where should I start in order to get my 'new' vertices on the interior of the surface? How do I know, how many quadrilateral elements and corresponding vertices do I need?
Thank you for your help and support in advance.
Regards
Ahmed Hossam
채택된 답변
추가 답변 (1개)
Jiexian Ma
2025년 3월 7일
A general way is using Gmsh to generate quasi-structured or unstructured quadrilateral mesh.
In Im2mesh (an open-source Matlab package), I demostrate how to define 2d geometry in Matlab and then generate unstructured quadrilateral mesh via Gmsh.
To run demo14, you need to install Matlab mapping toolbox, and download Im2mesh package and Gmsh sofware.

댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Triangulation Representation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!