[Gmsh] strange behaviour when using mmg3d

trophime christophe.trophime at lncmi.cnrs.fr
Tue Mar 27 22:26:16 CEST 2012


Hi,

I've a got a strange behaviour with latest debian gmsh package (svn rev
11650) build without tetgen support but with mmg3d support.

Try to mesh the cubeaniso example I had this error:

Error   : Tetgen is not compiled in this version of Gmsh

either using gmsh gmsh-ani.geo -3 -algo bamg -algo mmg3d
or adding into geo file :


Mesh.Algorithm = 7; //Bamg
Mesh.Algorithm3D= 7; //mmg3d

Is this normal???

Best
C



-------------- next part --------------
Mesh.Algorithm = 7; //Bamg
Mesh.Algorithm3D= 7; //mmg3d
lc = 0.1;

Point(1) = {0.0,0.0,0.0,lc};         
Point(2) = {1,0.0,0.0,lc};         
Point(3) = {1,1,0.0,lc};         
Point(4) = {0,1,0.0,lc};         
Line(1) = {4,3};         
Line(2) = {3,2};         
Line(3) = {2,1};         
Line(4) = {1,4};         
Line Loop(5) = {2,3,4,1};         
Plane Surface(6) = {5};         
Extrude Surface { 6, {0,0.0,1} }; 

Physical Surface("bottom") = {6};
Physical Surface("top") = {28};
Physical Surface("cooling") = {15, 23};
Physical Surface("glue") = {19, 27};
Physical Volume("omega") = {1};

/*
Field[1] = Attractor;
Field[1].FacesList = {23};
Field[1].NNodesByEdge = 100;

Field[2] = Threshold;
Field[2].IField = 1;
Field[2].DistMax = 0.3;
Field[2].DistMin = 0.05;
Field[2].LcMax = 0.1;
Field[2].LcMin = 0.01;
Background Field = 2;

Field[3] = BoundaryLayer;
Field[3].IField = 1;
Field[3].hfar = 0.1;
Field[3].hwall_n = 0.005;
Field[3].hwall_t = 0.1;
Background Field = 3;
*/

/*
Field[1] = BoundaryLayer;
Field[1].FaceList = {23};
Field[1].hfar = 0.01;
Field[1].hwall_n = 0.005;
Field[1].hwall_t = 0.1;
Field[1].ratio = 1.0;
Field[1].thickness = 0.5;
Background Field = 1;
*/


Field[1] = MathEvalAniso;
Field[1].m11 = "1./(0.1)^2";
Field[1].m12 = "0";
Field[1].m13 = "0";
Field[1].m22 = "y+1/(0.005)^2";
Field[1].m23 = "0";
Field[1].m33 = "1/(0.1)^2";
Background Field = 1;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120327/781ef53f/attachment.asc>