Hi alex,<br><br>Same problem i faced. Now i solved it using engrid.<br><br>Export the volume mesh to *.msh format in gmsh. Then import to engrid and create the physical boundary conditions using "set boundary codes" and export it back to gmsh format.<br>
<br>Hope it helps !<br><br><div class="gmail_quote">On Tue, Jul 21, 2009 at 8:13 PM, Mark van Doesburg <span dir="ltr"><<a href="mailto:mark.van.doesburg@technolution.nl">mark.van.doesburg@technolution.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello Alex,<br>
<br>
I am using BRL-CAD to generate input for gmsh as well. What I initially<br>
did was to use g-iges to generate a faceted brep model, for example:<br>
<br>
g-iges -o region.iges -f brl.g region.r<br>
<br>
<br>
For each region I generated a seperate IGES file. If you merge the iges<br>
files using the Merge command in the .geo file you can add physical<br>
regions and surfaces.<br>
<br>
When using the IGES format, each triangle will be a seperate geometrical<br>
surface.<br>
<br>
regards,<br>
<br>
Mark van Doesburg<br>
<div><div></div><div class="h5"><br>
<br>
Alexandre Pereira <<a href="mailto:iskandhar2000@gmail.com">iskandhar2000@gmail.com</a>> wrote:<br>
<br>
Hi Forum<br>
<br>
I want to use GMSH to mesh *.stl files that have been built<br>
elsewhere ( In BRL CAD to be more exact ) which will be used as<br>
models for FEA analysis in Code Aster.<br>
<br>
I want to export them in *.med format containing the<br>
mesh info as well as some topological info about physical<br>
lines/surfaces/volumes.<br>
<br>
In GMSH, I can import the *.stl, define a volume using the *.stl<br>
boundary, mesh/refine the boundary, and mesh/refine the created<br>
volume, what i cannot ( do not know how to ...) do is to separate<br>
the boundary of my *stl in primitive faces to give the a physical<br>
meaning ( they will be used on Boundary condition addressing in<br>
ASTER ), can this be done in GMSH, or sould I build my geometry<br>
in GMSH prior to do all this...?<br>
<br>
<br>
My maisn issue is that BRL CAD contains some 3D primitives that do<br>
not exist in GMSH, like elliptical/hyperbolic cones generalyzed<br>
ellipsoids, etc, and I use the generated surfaces in my *.stl<br>
as boundaries in some of my models....<br>
<br>
<br>
Can someone please help...?<br>
<br>
<br>
Best regards<br>
<br>
<br>
Alex<br>
<br>
</div></div>_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
</blockquote></div><br>