How can I generate a mesh of quadrilaterals for a given 2D surface using MATLAB?

28 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

KSSV
KSSV am 31 Mär. 2017
  3 Kommentare
Ahmed Hossam
Ahmed Hossam am 1 Apr. 2017
What I need is the detailed mathematical theory of the transfinite interpolation in order for me to be able to generate my own code based on this theory.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Jiexian Ma
Jiexian Ma am 7 Mär. 2025
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.
Please check these two examples: demo14 demo13
To run demo14, you need to install Matlab mapping toolbox, and download Im2mesh package and Gmsh sofware.

Kategorien

Mehr zu Triangulation Representation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by