[Gmsh] .msh file problems

Kubicek Bernhard Bernhard.Kubicek at ait.ac.at
Thu Jul 30 18:04:00 CEST 2009


In have a functional converter from the 3d-gambit mesh file format to the gmsh file format.
If you send me the compressed Gambit mesh, I could send you back the gmsh mesh.
Also, I have  a converter from gmsh geo file to gambit journal file. 
However, both are programmed using linux, and I am not really allowed to give away the code (approx 1year of coding, and it includes much more than just the converter, but also solvers and a lot of junk). 
If you really need it more often, maybe i can try to compile it with cygwin and send you a windows executable for non-commercial use. Linux binary is more tricky, as we only use amd64 with ubuntu j* j*.

greetings,
 Bernhard

PS: by the way, 500000 is _not_ a large mesh.  

Bernhard Kubicek
Energy Department
Electric Energy Systems



Bitte beachten Sie unsere neuen Kontaktdaten!
Please note our new contact details!

AIT Austrian Institute of Technology
Österreichisches Forschungs- und Prüfzentrum Arsenal Ges.m.b.H.
Giefinggasse 2 | 1210 Vienna | Austria
T +43(0) 50550-6258 | M +43(0) 664 1504403

bernhard.kubicek at ait.ac.at | http://www.ait.ac.at
________________________________________
From: gmsh-bounces at geuz.org [gmsh-bounces at geuz.org] On Behalf Of David Colignon [David.Colignon at ulg.ac.be]
Sent: Thursday, July 30, 2009 5:31 PM
To: Javier Piñeiro
Cc: gmsh at geuz.org
Subject: Re: [Gmsh] .msh file problems

Javier Piñeiro wrote:

> Dear All
>
> I am currently working on my MSc Thesis at Cranfield University (UK)
> about Open Source and CFD, and Gmsh is one of the software packages I am
> evaluating.
>
> My problem is that the startpoint for the comparartive is a mesh
> developed in Gambit. It is a quite big file, with around 500000 cells
> and 34 Mb. The format file is .msh, but Gmsh is not able to open it
> (even though it opens .msh).


Hi Javier,

I suppose Gambit and Gmsh use .msh as an extension for mesh file, but it doesn't mean that the format of the files is
the same (open both with a text editor to see the differences). I am not aware that Gmsh is able to open Gambit mesh
files... Gmsh has its own format for mesh files: http://www.geuz.org/gmsh/doc/texinfo/gmsh-full.html#SEC56


> Does anyone know what the problem might be? Is there a way to convert
> the file to something readible by Gmsh, if possible in open source?


Gmsh can also import and export meshes in  I-deas UNV, Nastran
BDF, STL, Medit MESH and VRML 1.0 files format


Is
> the size of the file or the number of cells a limitation
>
> I also tried to do the mesh from scratch on Gmsh, including the
> geometry. I got a mesh but if I try to refine it the program crashes.


Can you send us your .geo file ?


Cheers,

Dave

--
David Colignon, Ph.D.
Collaborateur Logistique du F.R.S.-FNRS
CÉCI - Consortium des Équipements de Calcul Intensif
ACE - Applied & Computational Electromagnetics
Sart-Tilman B28
Université de Liège
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
WWW:    http://hpc.montefiore.ulg.ac.be/
Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com


> Changing the options in the characteristic length does not have any
> effect, it generates exactly the same mesh. Does anyone know something
> about this?
>
>
> Thank you in advanced for your help
>
>
>
> Kind regards
>
>
>
> Javier Pineiro
>
>
>
> --
> Javier Piñeiro Pérez
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


_______________________________________________
gmsh mailing list
gmsh at geuz.org
http://www.geuz.org/mailman/listinfo/gmsh