After using "save" to generate a .msh file, these two matlab functions
should work for you.

On Fri, Apr 1, 2011 at 1:41 PM, Esad Tombarevic
<[email protected]> wrote:
> Dear Cristophe Geuzaine and Jean-Francois Remacle,
>
> I have downloaded your mesh generator gmesh from your website, and playing
> with it for a while.
> I am trying to find the option how to export grid data to a .txt file which
> I can use to import grid data in Matlab orĀ Fortran.
> Under grid data I mean:
> for 2D grid of triangles - x and y coordinates of points, and number of
> points that makes triangles.
> for 3D grid something similar - x, y and z coordinates of points and number
> of points that makes tethraedrons.
>
> And also points on boundaries...
>
> Is it possible at all?
>
> Best regards,
>
> Esad Tombarevic
> Faculty of Mechanical Engineering, University of Montenegro
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://www.geuz.org/mailman/listinfo/gmsh
>
>



-- 
Jeff Borggaard
Department of Mathematics
Interdisciplinary Center for Applied Mathematics
Virginia Tech

Attachment: twod_read_msh.m
Description: Binary data

Attachment: threed_to_gmsh.m
Description: Binary data

_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to