how to mesh a geometry from matlab in gmsh
Show older comments
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!
Answers (1)
Jiexian Ma
on 18 Mar 2025
Edited: Jiexian Ma
on 14 Jun 2026 at 0:28
0 votes
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.
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!