On 22/07/10 1:41, Harsh Menon wrote:

I have a solidworks model which I exported as an STL file. Then I used the 
following test.geo

Geometry.Tolerance = 1.e-12;
MeshSize = 0.1 ;

Merge "refined.stl" ;

Point(1) = {-1.0,-1.0,-1.2, MeshSize};
Point(2) = { 1.4,-1.0,-1.2, MeshSize};
Point(3) = { 1.4, 1.4,-1.2, MeshSize};
Point(4) = {-1.0, 1.4,-1.2, MeshSize};

Line(1) = {1 , 2};
Line(2) = {2 , 3};
Line(3) = {3 , 4};
Line(4) = {4 , 1};


Line Loop(1) = {1, 2, 3, 4};
Plane Surface(2) = {1};

Extrude{0, 0, 2.432}{ Surface{2}; }

Surface Loop(1) = {1};
Surface Loop(2) = { 2, 13, 17, 21, 25, 26};

Volume(2) = {2,1};

Physical Volume("Fluid") = {2};

Physical Surface("Man ") = {1};
Physical Surface("Floor") = {2};
Physical Surface("Roof") = {17};
Physical Surface("Inlet") = {13};
Physical Surface("Outlet") = {21};
Physical Surface("Walls") = {25, 26};

When i do

gmsh -3 test.geo

I get the following error

Error:  Invalid PLC.
   Hint:  Use -d switch to check it.
Error   : Self intersecting surface mesh, computing intersections (this could 
take a while)
Constructing Delaunay tetrahedralization.
   Creating initial tetrahedralization.
   Incrementally inserting points.

I see that I have intersecting facets but is there any thing i can do to fix 
it? (either a switch in gmsh or something i
should do in solidworks)


Hi,

you should modify your model in solidworks so that you don't have intersecting 
surfaces...

Regards,

Dave

--
David Colignon, Ph.D.
Collaborateur Logistique du F.R.S.-FNRS
CÉCI - Consortium des Équipements de Calcul Intensif
ACE - Applied & Computational Electromagnetics
Institut Montefiore 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


Thanks!



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


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

Reply via email to