[Gmsh] IGES import and mesh refinement

=?windows-1252?Q?Jean-Fran=8D=E7ois_Remacle?= jean-francois.remacle at uclouvain.be
Wed Jun 4 10:12:48 CEST 2008


MGlocken at aol.com a écrit :
> Hi all,
>  
Hi Michael,

> I have successfully imported an IGES-file to Gmsh 2.2 (Windows XP). 
> Meshing works fine with different characteristic length factors set in 
> Options-Mesh-General.
>  
> Now I would like to refine the mesh on some certain points. How can I 
> do this?
>  
Yes.

The first thing you should do is to enable gmsh to sew the faces of your 
iges. This is not absolutely necessary.

In Gmsh, you can define various mesh size fields. One common way to do 
so is to define characteristic lengths
at  model vertices.  You shouls therefore start by creating a file, e.g. 
model1.geo.

In this file, you add the 2 lines

Geometry.Tolerance = 0.01; // Geometrical tolerance
Geometry.OCCSewFaces = 1; // Sew faces in STEP, IGES and BRep models
Merge "model1.igs";

Loading the file "model1.geo" is equivalent to load "model1.igs" and sew 
the faces with
a geometric tolerance of 0.01 mm.

Now, you can use the GUI to change characteristic lengths at vertices

Characteristic Length 
{3,8,2,1,33,32,4,5,6,7,10,9,12,11,25,34,24,26,40,35,39,37,19,27,14,20,28,13,16,15,17,18,29,30,31,42,41,38,36,23,22,21} 
= 100;
Characteristic Length {41,38,36} = 10;

jfr

> The IGES-file is listed here: 
> http://www.femcfd.com/assets/files/model1_igs.txt
> (or click on link in 
>  http://www.femcfd.com/gmsh-2-2-iges-datei-listing.html )
>  
> A picture of the geometry can be seen here: 
> http://www.femcfd.com/gmsh-2-2-iges-datei-laden.html
>  
> And a picture of the mesh is presented here: 
> http://www.femcfd.com/gmsh-2-2-iges-modell-vernetzt.html
>  
>  
> Greetings,
>
> Michael Glockenmeier
>
> ----------------------------------------------
> Fa. Michael Glockenmeier
> Dipl.-Ing. Michael Glockenmeier
> Hauptstr. 55 c
> D-86926 Greifenberg
> Germany
>
> Tel ++49 (0) 8192/933 185
> Fax ++49 (0) 8192/933 186
> Email mglocken at aol.com <mailto:mglocken at aol.com>
> ---------------------------------------------
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>   


-- 
Prof. Jean-Francois Remacle
Universite catholique de Louvain (UCL)
Ecole Polytechnique de Louvain (EPL) - Louvain School of Engineering
Institute of Mechanics, Materials and Civil Engineering (iMMC) 
Tel : +32-10-472082 -- Mobile : +32-473-909930