[Gmsh] Small question on triangle, tetgen, netgen and others
David Colignon
David.Colignon at ulg.ac.be
Wed Jan 17 12:49:01 CET 2007
Hi Marc,
Durufle marc wrote:
> I read your subject on using triangle and tetgen with
> gmsh. I am really interested with that. But there is
> no explanation on the documentation how I can do that.
> I hear often that in 3-D, we can use the netgen, but I
> don't know how.
>
> For netgen, it is an option like ?? :
> Mesh.Algorithm = 1;
Yes
http://geuz.org/gmsh/doc/texinfo/gmsh-full.html#SEC38
Mesh.Algorithm
2D mesh algorithm (1=isotropic, 2=anisotropic, 3=triangle)
Default value: 1
Saved in: General.OptionsFileName
Mesh.Algorithm3D
3D mesh algorithm (1=isotropic, 4=netgen, 5=tetgen)
Default value: 1
Saved in: General.OptionsFileName
>
> For triangle and tetgen, I have to compile these two
> codes, specify that I want to use them for gmsh. I
> have to configure gmsh like that ? :
> configure --enable-triangle --enable-tetgen
Yes. Put them in the gmsh/contrib directory
Here is what I have:
$ ll contrib/Triangle/
total 844K
drwxrwxr-x+ 2 colignon 0 Aug 18 10:49 CVS/
-rw-r--r-- 1 colignon 1.5K Mar 1 2006 Makefile
-rw-r--r-- 1 colignon 9.1K Nov 28 2005 README
-rw-r--r-- 1 colignon 636K Nov 28 2005 triangle.c
-rw-r--r-- 1 colignon 22K Nov 28 2005 triangle.h
-rw-rw-r-- 1 colignon 165K Oct 10 16:18 triangle.o
$ ll contrib/Netgen/
total 774K
-rw-rw-r-- 1 colignon 26K Sep 21 2005 COPYING.LIB
drwxrwxr-x+ 2 colignon 0 Nov 14 17:49 CVS/
-rw-r--r-- 1 colignon 219K Nov 14 17:49 Makefile
-rw-rw-r-- 1 colignon 2.7K Sep 21 2005 README
-rw-rw-r-- 1 colignon 14 Sep 21 2005 VERSION
drwxrwxr-x+ 15 colignon 0 Sep 28 2005 libsrc/
-rw-rw-r-- 1 colignon 2.0K Sep 21 2005 nglib_addon.cpp
-rw-rw-r-- 1 colignon 242 Sep 21 2005 nglib_addon.h
-rw-rw-r-- 1 colignon 515K Oct 10 16:22 nglib_addon.o
Cheers,
Dave
>
> And when it is enable, how do I specify on geo files
> that I want to use the; ? by changing the type of
> algorithm ? By example :
> Mesh.Algorithm = 66;
>
> Perhaps my questions are stupid. I hope not.
>
> Best regards.
>
>
>
>
>
>
>
>
> ___________________________________________________________________________
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
> http://fr.answers.yahoo.com
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh