<br /><blockquote style="border-left: 2px solid #ff0000; padding-left: 5px; margin-left: 5px">Thank you for your answer,<br /><br />I have the following situation :<br />I have a "big" geometry but I want to mesh only a part of this model. Indeed, I want to cut all the other part of this "big" model.<br /><br />Then, is it possible to cut a part of a geometry defined in gmsh, or to mesh only a part of model ? <br /><br /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta content="Word.Document" /><meta content="Microsoft Word 11" /><meta content="Microsoft Word 11" /><!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><!--[if gte mso 9]><noxml>  <w:WordDocument>   <w:View>Normal</w:View>   <w:Zoom>0</w:Zoom>   <w:HyphenationZone>21</w:HyphenationZone>   <w:PunctuationKerning/>   <w:ValidateAgainstSchemas/>   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>   <w:Compatibility>    <w:BreakWrappedTables/>    <w:SnapToGridInCell/>    <w:WrapTextWithPunct/>    <w:UseAsianBreakRules/>    <w:DontGrowAutofit/>   </w:Compatibility>   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>  </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><noxml>  <w:LatentStyles DefLockedState="false" LatentStyleCount="156">  </w:LatentStyles> </xml><![endif]--><style> <!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal      {mso-style-parent:"";         margin:0cm;     margin-bottom:.0001pt;  mso-pagination:widow-orphan;    font-size:12.0pt;       font-family:"Times New Roman";        mso-fareast-font-family:"Times New Roman";} @page Section1    {size:595.3pt 841.9pt;  margin:70.85pt 70.85pt 70.85pt 70.85pt;         mso-header-margin:35.4pt;       mso-footer-margin:35.4pt;       mso-paper-source:0;} div.Section1       {page:Section1;} --> </style><!--[if gte mso 10]> <style>  /* Style Definitions */  table.MsoNormalTable   {mso-style-name:"Tableau Normal";     mso-tstyle-rowband-size:0;      mso-tstyle-colband-size:0;      mso-style-noshow:yes;   mso-style-parent:"";  mso-padding-alt:0cm 5.4pt 0cm 5.4pt;    mso-para-margin:0cm;    mso-para-margin-bottom:.0001pt;         mso-pagination:widow-orphan;    font-size:10.0pt;       font-family:"Times New Roman";        mso-ansi-language:#0400;        mso-fareast-language:#0400;     mso-bidi-language:#0400;} </style> <![endif]--><!--[if gte mso 9]><noxml>  <o:shapedefaults v:ext="edit" spidmax="1072"/> </xml><![endif]--><!--[if gte mso 9]><noxml>  <o:shapelayout v:ext="edit">   <o:idmap v:ext="edit" data="1"/>  </o:shapelayout></xml><![endif]--><!--[if mso & !supportInlineShapes & supportFields]><span style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family: "Times New Roman";mso-ansi-language:FR;mso-fareast-language:FR;mso-bidi-language: AR-SA'><span style='mso-element:field-begin;mso-field-lock:yes'></span><span style='mso-spacerun:yes'> </span>SHAPE <span style='mso-spacerun:yes'> </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span style="font-size: 12pt; font-family: 'Times New Roman'"><!--[if gte vml 1]><v:group id="_x0000_s1054" editas="canvas" style='width:453.6pt;  height:272.15pt;mso-position-horizontal-relative:char;  mso-position-vertical-relative:line' coordorigin="2362,5032" coordsize="7200,4320">  <o:lock v:ext="edit" aspectratio="t"/>  <v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75"   o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">   <v:stroke joinstyle="miter"/>   <v:formulas>    <v:f eqn="if lineDrawn pixelLineWidth 0"/>    <v:f eqn="sum @0 1 0"/>    <v:f eqn="sum 0 0 @1"/>    <v:f eqn="prod @2 1 2"/>    <v:f eqn="prod @3 21600 pixelWidth"/>    <v:f eqn="prod @3 21600 pixelHeight"/>    <v:f eqn="sum @0 0 1"/>    <v:f eqn="prod @6 1 2"/>    <v:f eqn="prod @7 21600 pixelWidth"/>    <v:f eqn="sum @8 21600 0"/>    <v:f eqn="prod @7 21600 pixelHeight"/>    <v:f eqn="sum @10 21600 0"/>   </v:formulas>   <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>   <o:lock v:ext="edit" aspectratio="t"/>  </v:shapetype><v:shape id="_x0000_s1055" type="#_x0000_t75" style='position:absolute;   left:2362;top:5032;width:7200;height:4320' o:preferrelative="f">   <v:fill o:detectmouseclick="t"/>   <v:path o:extrusionok="t" o:connecttype="none"/>   <o:lock v:ext="edit" text="t"/>  </v:shape><v:rect id="_x0000_s1056" style='position:absolute;left:2833;top:5693;   width:2512;height:3095' strokeweight="1.5pt"/>  <v:oval id="_x0000_s1057" style='position:absolute;left:3249;top:6253;width:381;   height:369'/>  <v:oval id="_x0000_s1058" style='position:absolute;left:4154;top:6741;width:381;   height:369;mso-position-horizontal:absolute;mso-position-vertical:absolute'/>  <v:oval id="_x0000_s1059" style='position:absolute;left:3249;top:6955;width:381;   height:369;mso-position-horizontal:absolute;mso-position-vertical:absolute'/>  <v:oval id="_x0000_s1060" style='position:absolute;left:4106;top:7896;width:381;   height:369;mso-position-horizontal:absolute;mso-position-vertical:absolute'/>  <v:oval id="_x0000_s1061" style='position:absolute;left:4654;top:6122;width:381;   height:369;mso-position-horizontal:absolute;mso-position-vertical:absolute'/>  <v:oval id="_x0000_s1062" style='position:absolute;left:3047;top:8050;width:381;   height:369;mso-position-horizontal:absolute;mso-position-vertical:absolute'/>  <v:line id="_x0000_s1063" style='position:absolute' from="5571,7122" to="6499,7122"   coordsize="21600,21600">   <v:stroke endarrow="block"/>  </v:line><v:rect id="_x0000_s1064" style='position:absolute;left:6511;top:5681;   width:2513;height:3095;mso-position-horizontal:absolute;   mso-position-vertical:absolute'/>  <v:oval id="_x0000_s1065" style='position:absolute;left:6928;top:6241;width:381;   height:369;mso-position-horizontal:absolute;mso-position-vertical:absolute'/>  <v:oval id="_x0000_s1066" style='position:absolute;left:7833;top:6729;width:380;   height:369;mso-position-horizontal:absolute;mso-position-vertical:absolute'/>  <v:oval id="_x0000_s1067" style='position:absolute;left:6928;top:6944;width:381;   height:368;mso-position-horizontal:absolute;mso-position-vertical:absolute'/>  <v:oval id="_x0000_s1068" style='position:absolute;left:7784;top:7884;width:382;   height:369;mso-position-horizontal:absolute;mso-position-vertical:absolute'/>  <v:oval id="_x0000_s1069" style='position:absolute;left:8333;top:6110;width:380;   height:369;mso-position-horizontal:absolute;mso-position-vertical:absolute'/>  <v:oval id="_x0000_s1070" style='position:absolute;left:6725;top:8038;width:381;   height:369;mso-position-horizontal:absolute;mso-position-vertical:absolute'/>  <v:rect id="_x0000_s1071" style='position:absolute;left:6856;top:6419;width:1953;   height:1786' filled="f" strokeweight="1.5pt"/>  <w:wrap type="none"/>  <w:anchorlock/> </v:group><![endif]--><!--[if !vml]--><!--[endif]--></span><!--[if mso & !supportInlineShapes & supportFields]><span style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family: "Times New Roman";mso-ansi-language:FR;mso-fareast-language:FR;mso-bidi-language: AR-SA'><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:453.6pt;  height:272.15pt'>  <v:imagedata croptop="-65520f" cropbottom="65520f"/> </v:shape><span style='mso-element:field-end'></span></span><![endif]-->In the joined file, you can see what I'd want to do : i want to restrain my model to the second square. is it possible with Gmsh ?<br /><br />Thank you<br /><br />Olivier <br /> <br /> <br /><br /><blockquote style="border-left: 2px solid #ff0000; padding-left: 5px; margin-left: 5px">> Message du 02/11/09 16:01<br />> De : "David Colignon" <br />> A : "Olivier DESLANDES" <br />> Copie à : gmsh@geuz.org<br />> Objet : Re: [Gmsh] BoundingBox Meshing<br />> <br />> <br />> Hi Olivier,<br />> <br />> what is your definition of a "bounding box" ?<br />> Can you send us your .geo file to explain what you want to do ?<br />> Usually, the bounding box is the smallest "virtual" box that contains all the geometry, nothing can be out of it ...<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:    http://hpc.montefiore.ulg.ac.be/<br />> Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com<br />> <br />> On 02/11/09 15:53, Olivier DESLANDES wrote:<br />> > Hi,<br />> ><br />> > I'm new gmsh user and I'd like to know if I can only mesh the interior<br />> > of a bounding box.<br />> ><br />> > Or another solution, delete all geometrical entities outside the<br />> > boundingbox. Is it possible ?<br />> ><br />> > Thank you,<br />> ><br />> > Olivier<br />> ><br />> ><br />> ><br />> > _______________________________________________<br />> > gmsh mailing list<br />> > gmsh@geuz.org<br />> > http://www.geuz.org/mailman/listinfo/gmsh<br />> <br />> <br />> <br /></blockquote></blockquote>