<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi, <BR>
<BR>
Thanks, it works. But what I really want, in this case for instance, is two different meshes, one for the volume 1 and the other for the second volume. I can do that with your technique.<BR>
But I can't have a conformal interface, ie the same mesh for the surface 32 in both volume mesh.<BR>
I hope you understand my problem.<BR>
Regards,<BR>
<BR>
//Stéphane<BR>
<BR><BR> <BR><SPAN style="FONT-FAMILY: Tahoma, Verdana, Arial, sans-serif; COLOR: rgb(68,68,68)" class=ecxecxecxecxecxApple-style-span>
<DIV></SPAN>
<DIV><SPAN style="FONT-FAMILY: monospace; COLOR: rgb(68,68,68)" class=ecxecxApple-style-span><FONT face=Arial></FONT></SPAN></DIV><FONT class=ecxecxecxecxecxApple-style-span color=#444444 face="Tahoma, Verdana, Arial, sans-serif"><BR></FONT></DIV><BR><BR><BR>
<BR>
<HR id=stopSpelling>
Date: Mon, 15 Mar 2010 13:06:22 +0100<BR>From: David.Colignon@ulg.ac.be<BR>To: stephane.blanchet@esstin.uhp-nancy.fr<BR>CC: gmsh@geuz.org<BR>Subject: Re: [Gmsh] restrict field<BR><BR><BR>On 15/03/10 09:17, Stéphane BLANCHET wrote:
<BLOCKQUOTE cite=mid:COL119-W6209D781D84F3F8097C76FE22E0@phx.gbl>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Hi,<BR> <BR>This a simple exemple I used to understand how works this field:<BR> <BR> <BR><BR>Point(1)= {0,0,0};<BR>Point(2)= {1,0,0};<BR>Point(3)= {1,1,0};<BR>Point(4)= {0,1,0};<BR>Point(5)= {0,2,0};<BR>Point(6)= {1,2,0};<BR>Line(1) = {1, 2};<BR>Line(2) = {2, 3};<BR>Line(3) = {3, 4};<BR>Line(4) = {4, 1};<BR>Line(5) = {4, 5};<BR>Line(6) = {5, 6};<BR>Line(7) = {6, 3};<BR>Line Loop(8) = {5, 6, 7, 3};<BR>Plane Surface(9) = {8};<BR>Line Loop(10) = {3, 4, 1, 2};<BR>Plane Surface(11) = {10};<BR>Extrude {0, 0, 1} {<BR> Surface{9, 11};<BR>}<BR>Physical Surface(56) = {9, 28, 20, 33, 24};<BR>Physical Surface(57) = {32};<BR>Physical Surface(58) = {11, 54, 55, 46, 50};<BR>Physical Volume(59) = {1};<BR>Physical Volume(60) = {2};<BR><BR>Field[1] = Restrict;<BR>Field[1].EdgesList = {6, 19, 14, 23, 7, 5, 13, 15, 3, 18, 16, 27};<BR>Field[1].FacesList = {24, 9, 28, 33, 20, 32};<BR>Field[1].RegionsList = {1};<BR>Background Field = 1;<BR><BR>So, with this field, I want to mesh only the first volume.<BR></BLOCKQUOTE><BR>Hi Stéphane,<BR><BR>if you want to mesh only the first Volume, just add<BR><BR>Delete { Volume {2} ; } <BR><BR> after the extrusion command, or delete the line<BR><BR>Physical Volume(60) = {2};<BR><BR>the second volume will be meshed, but the 3D mesh will not be saved in the .msh file<BR><BR>Regards,<BR><BR>Dave<BR><BR><BR>
<BLOCKQUOTE cite=mid:COL119-W6209D781D84F3F8097C76FE22E0@phx.gbl>But every time I click on the "mesh" button, GMsh crashes.<BR> <BR>Regards<BR> <BR>//Stéphane<BR><BR><SPAN style="FONT-FAMILY: Tahoma,Verdana,Arial,sans-serif; COLOR: rgb(68,68,68)" class=ecxecxecxecxecxecxApple-style-span>
<DIV>
<DIV><SPAN style="FONT-FAMILY: monospace; COLOR: rgb(68,68,68)" class=ecxecxecxApple-style-span></SPAN></DIV><FONT class=ecxecxecxecxecxecxApple-style-span color=#444444 face="Tahoma, Verdana, Arial, sans-serif"><BR></FONT></DIV><BR><BR><BR> <BR>> Date: Sun, 14 Mar 2010 08:45:52 +0100<BR>> From: <A class=ecxmoz-txt-link-abbreviated href="mailto:David.Colignon@ulg.ac.be">David.Colignon@ulg.ac.be</A><BR>> To: <A class=ecxmoz-txt-link-abbreviated href="mailto:stephane.blanchet@esstin.uhp-nancy.fr">stephane.blanchet@esstin.uhp-nancy.fr</A><BR>> CC: <A class=ecxmoz-txt-link-abbreviated href="mailto:gmsh@geuz.org">gmsh@geuz.org</A><BR>> Subject: Re: [Gmsh] restrict field<BR>> <BR>> Hi Stéphane,<BR>> <BR>> can you send us your .geo file and a description of the steps you follow, so that we can try to reproduce the "crash" ?<BR>> <BR>> Regards,<BR>> <BR>> Dave<BR>> <BR>> --<BR>> David Colignon, Ph.D.<BR>> Collaborateur Logistique du F.R.S.-FNRS<BR>> CÉCI - Consortium des Équipements de Calcul Intensif<BR>> ACE - Applied & Computational Electromagnetics<BR>> Institut Montefiore B28<BR>> Université de Liège<BR>> 4000 Liège - BELGIQUE<BR>> Tél: +32 (0)4 366 37 32<BR>> Fax: +32 (0)4 366 29 10<BR>> WWW: <A class=ecxmoz-txt-link-freetext href="http://hpc.montefiore.ulg.ac.be/">http://hpc.montefiore.ulg.ac.be/</A><BR>> Agenda: <A class=ecxmoz-txt-link-freetext href="http://www.google.com/calendar/embed?src=david.colignon@gmail.com">http://www.google.com/calendar/embed?src=david.colignon%40gmail.com</A><BR>> <BR>> On 13/03/10 15:31, Stéphane BLANCHET wrote:<BR>> ><BR>> > Hello,<BR>> ><BR>> > I would like to know if the field "restrict" really works!<BR>> > Indeed, every time I try to use this field on simple geometries, Gmsh<BR>> > crashes!<BR>> ><BR>> > Best Regards<BR>> ><BR>> ><BR>> > ---------------<BR>> ><BR>> > BLANCHET Stéphane<BR>> ><BR>> > Elève-Ingénieur ESSTIN (5 Année)<BR>> > Option: Mécanique des Fluides et Énergétique<BR>> ><BR>> > Tél: 0632224601<BR>> > Mail: <A class=ecxmoz-txt-link-abbreviated href="mailto:stephane.blanchet@esstin.uhp-nancy.fr">stephane.blanchet@esstin.uhp-nancy.fr</A><BR>> ><BR>> > Ecole Supérieure des Sciences et Technologies de l'Ingénieur de Nancy<BR>> > Université Henri Poincaré Nancy I<BR>> > 2, rue Jean Lamour<BR>> > 54 519 - Vandoeuvre Lès Nancy<BR>> ><BR>> ><BR>> ><BR>> ><BR>> > ------------------------------------------------------------------------<BR>> > Hotmail débarque sur votre téléphone ! Paramétrez Hotmail sur votre<BR>> > téléphone! Gratuit ! <A class=ecxmoz-txt-link-rfc2396E href="http://www.messengersurvotremobile.com/?d=Hotmail"><http://www.messengersurvotremobile.com/?d=Hotmail></A><BR>> ><BR>> ><BR>> ><BR>> > _______________________________________________<BR>> > gmsh mailing list<BR>> > <A class=ecxmoz-txt-link-abbreviated href="mailto:gmsh@geuz.org">gmsh@geuz.org</A><BR>> > <A class=ecxmoz-txt-link-freetext href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</A><BR>> <BR><BR>
<HR>
Télécharger en toute sécurité sur Internet ? <A href="http://clk.atdmt.com/FRM/go/206608211/direct/01/">La solution avec Internet Explorer 8</A> <PRE><FIELDSET class=ecxmimeAttachmentHeader></FIELDSET>
_______________________________________________
gmsh mailing list
<A class=ecxmoz-txt-link-abbreviated href="mailto:gmsh@geuz.org">gmsh@geuz.org</A>
<A class=ecxmoz-txt-link-freetext href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</A>
</PRE></SPAN></BLOCKQUOTE> <br /><hr />Acheter en ligne en toute sécurité ? <a href='http://clk.atdmt.com/FRM/go/206608211/direct/01/' target='_new'>Internet Explorer 8 vous protège gratuitement !</a></body>
</html>