how to mesh a geometry from matlab in gmsh

조회 수: 6 (최근 30일)
scorpio13
scorpio13 2012년 3월 15일
편집: Walter Roberson 2025년 3월 18일
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!

답변 (1개)

Jiexian Ma
Jiexian Ma 2025년 3월 18일
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: demo14 demo13
To run demo14, you need to install Matlab mapping toolbox, and download Im2mesh package and Gmsh sofware.

카테고리

Help CenterFile Exchange에서 Map Display에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by