[Gmsh] reading stl and meshing

Martin Genet martin.genet at polytechnique.edu
Mon Sep 19 17:39:20 CEST 2016


Dear all:

Attaching a gmsh script + stl that used to work fine (loading the stl, 
remeshing the surface and then meshing the volume), at least until 2.11 
(see test.2.11.0.log), but not anymore (see test-2.13.2.log). I tried 
with 2.12.0, 2.13.0, 2.13.1, 2.13.2, but it just hangs after "Re-orient 
all 0 face normals coherently". Any idea on what might be going on? 
Thanks a lot!

Martin


-------------- next part --------------
////////////////////////////////////////////////////////////////////////

Mesh.CharacteristicLengthFactor = 1.1;

Mesh.Algorithm = 6; // (1=MeshAdapt, 2=Automatic, 5=Delaunay, 6=Frontal, 7=bamg, 8=delquad) (Default=2)

Mesh.RemeshAlgorithm = 1; // (0=no split, 1=automatic, 2=automatic only with metis) (Default=0)

Mesh.RemeshParametrization = 7; // (0=harmonic_circle, 1=conformal_spectral, 2=rbf, 3=harmonic_plane, 4=convex_circle, 5=convex_plane, 6=harmonic square, 7=conformal_fe) (Default=4)

Mesh.Algorithm3D = 4; // (1=Delaunay, 4=Frontal, 5=Frontal Delaunay, 6=Frontal Hex, 7=MMG3D, 9=R-tree) (Default=1)

////////////////////////////////////////////////////////////////////////

Merge "test.stl";

ss[] = Surface "*";

S1 = news; Compound Surface(S1) = ss[0];

SL1 = newsl; Surface Loop(SL1) = {S1};
V1 = newv; Volume(V1) = {SL1};
Physical Volume("V1") = {V1};

////////////////////////////////////////////////////////////////////////
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.stl
Type: application/sla
Size: 115184 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20160919/6a960870/attachment-0001.stl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-2.11.0.log
Type: text/x-log
Size: 3430 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20160919/6a960870/attachment-0002.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-2.13.2.log
Type: text/x-log
Size: 2066 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20160919/6a960870/attachment-0003.log>


More information about the gmsh mailing list