<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.5969" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left>
<DIV dir=ltr align=left><SPAN class=568460210-28072010><FONT face=Arial
color=#0000ff size=2>Hello,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=568460210-28072010><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=568460210-28072010><FONT face=Arial
color=#0000ff size=2>I'm no expert (yet), but I'll try an
answer...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=568460210-28072010><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=568460210-28072010><FONT face=Arial
color=#0000ff size=2>If you see physical objects in the tools-visibility-tree
browser list, they are defined and appear in the mesh<SPAN
class=560350910-28072010> too</SPAN>. If you export in MSH format, it's the
fourth column in the element definitions (for code aster call GM1, GM2, etc.) If
you use MED format, call G-2D-1, G-3D-4, ... from code
aster.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=568460210-28072010><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=568460210-28072010><FONT face=Arial
color=#0000ff size=2>If the physical groups don't appear in GMSH, you might want
to use STEP to transfer from Salome to GMSH. It<SPAN
class=560350910-28072010>'s</SPAN> a bit more complicated, as the physical
groups are imported into GMSH with the same order<SPAN class=560350910-28072010>
as defined in the step file</SPAN>, but the names are discarded of
course.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=568460210-28072010><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=568460210-28072010><FONT face=Arial
color=#0000ff size=2>Hope this helps.</FONT></SPAN></DIV></DIV>
<DIV> </DIV>
<DIV class=Section1>
<P class=MsoNormal
style="mso-pagination: none; mso-layout-grid-align: none"><SPAN
class=SpellE><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH">Meilleures</SPAN></SPAN><SPAN
lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"> <SPAN
class=SpellE>salutations</SPAN></SPAN><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"> / <SPAN
class=SpellE>Best <SPAN class=SpellE>regards</SPAN><BR></SPAN><B><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Arial"><BR></SPAN></B><B><SPAN
style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial">Michael
Hansen<BR></SPAN></B><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial">Engineering<BR></SPAN></B><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial"><BR><BR></SPAN></B><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial"><B>ANDRITZ HYDRO
AG<BR></B>Rue des Deux-Gares 6<BR>1800 Vevey, Switzerland<BR>
<TABLE class=style2 style="WIDTH: 100%" cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD style="WIDTH: 46px"><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial">Phone:</SPAN></SPAN></TD>
<TD><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial">+41 (21) 925 77
36</SPAN></SPAN></TD></TR>
<TR>
<TD style="WIDTH: 46px"><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial">Fax:</SPAN></SPAN></TD>
<TD><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial">+41 (21) 925 77
03</SPAN></SPAN></TD></TR>
<TR>
<TD style="WIDTH: 46px"><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial">Mobile:</SPAN></SPAN></TD>
<TD><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial"></SPAN></SPAN></TD></TR>
<TR>
<TD style="WIDTH: 46px"><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial">E-Mail:</SPAN></SPAN></TD>
<TD><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial">Michael.Hansen@andritz.com</SPAN></SPAN></TD></TR>
<TR>
<TD style="WIDTH: 46px"><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial">Internet:</SPAN></SPAN></TD>
<TD><SPAN lang=DE-CH
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: DE-CH"><U><SPAN
lang=TR
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Arial'; mso-ansi-language: TR"><A
class=style1 href="http://www.andritz.com/">h<SPAN lang=DE-CH
style="FONT-FAMILY: Arial; mso-ansi-language: DE-CH">ttp://www.andritz.com</SPAN></A></SPAN></U></SPAN></TD></TR></TBODY></TABLE></P></DIV></SPAN></SPAN>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Jan Schmitz [mailto:schmitz_j@ymail.com]
<BR><B>Sent:</B> mardi, 27. juillet 2010 14:20<BR><B>To:</B>
gmsh@geuz.org<BR><B>Subject:</B> [Gmsh] physical groups from CAD
import<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<DIV>Hello,<BR>I am wondering whether it is possible to define physical groups
in a CAD geometry (especially using OpenCascade) which will be recognized by
Gmsh in the meshing process.<BR><BR>I have created a simple geometry using
Salome, named the primitive bodies and their boundary faces, and imported it as
BRep file into gmsh. However, the resulting mesh contains no
physicals.<BR><BR>Is it possible to define physical groups using CAD tools in
the BRep file, or do I have to define them manually in Gmsh? What are the
required steps?<BR><BR>Thanks<BR>Jan<BR></DIV></DIV><BR></BODY></HTML>