how to mesh a geometry from matlab in gmsh

hi...
as part of my final project i have created the geometry of the cross section of a dam, in matlab, using an isogeometric numerical method code....
i have been asked to use the control points of this geometry, to mesh it on gmsh software, so that to compare the 2 methods, by finding the nodal coordinates and the connective matrix from the gmsh...
i have never used a meshing software before and i am a bit unfamiliar with the concepts of nodal coordinates and connective matrix i am supposed to find....
i know this is a more gmsh and finite element related question, however i would appreciate any help from this blog....
thanks in advance!

Antworten (1)

Jiexian Ma
Jiexian Ma am 18 Mär. 2025
Bearbeitet: Jiexian Ma am 14 Jun. 2026

0 Stimmen

It is possible to generate mesh with Gmsh for a geometry from Matlab.
In Im2mesh (an open-source Matlab package), I demostrate how to define 2d geometry in Matlab and then generate mesh with Gmsh.
Please check these two examples: demo11 demo12
To run demo, you need to download Im2mesh package and Gmsh sofware.

Produkte

Gefragt:

am 15 Mär. 2012

Bearbeitet:

am 14 Jun. 2026

Community Treasure Hunt

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

Start Hunting!

Translated by