<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Good afternoon M. Geuzaine,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Thank you for your answer. I have tried with the new version and it works well.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">With the new version, How are the mesh attributes chosen ? Do it depend of the surface/volume ID, the higher value of the mesh attributes ?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Thank you for your answer,<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">Benoît CURVERS<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-GB">Laser Systems & Solutions of Europe (LASSE)<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">SCREEN Semiconductor Solutions Co. Ltd<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Taïwan Cell : 0965875974 or 7629511<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Email : <a href="mailto:benoit.curvers@screen-lasse.com">
<span style="color:#0563C1">benoit.curvers@screen-lasse.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>De :</b> Christophe Geuzaine <cgeuzaine@uliege.be> <br>
<b>Envoyé :</b> jeudi 31 mai 2018 20:24<br>
<b>À :</b> Benoit CURVERS <benoit.curvers@screen-lasse.com><br>
<b>Cc :</b> gmsh@onelab.info; Karim HUET <karim.huet@screen-lasse.com><br>
<b>Objet :</b> Re: [Gmsh] [gmsh] Boolean operation - Fine to coarse mesh<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On 31 May 2018, at 17:35, Benoit CURVERS <<a href="mailto:benoit.curvers@screen-lasse.com">benoit.curvers@screen-lasse.com</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Dear everyone,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">I’m writing in the connection the option to have a fine to coarse mesh</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">I’m working with the gmsh 3.0.6</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">For my project, I create several shape with different mesh options on some points.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">After this creation, I create a box with all the shapes (+ a little box below all the shapes) and then I perform a Boolean operation (BooleanFragments) to merge lines in order to have one interface between two shapes.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">But when I perform this operation, I lose all the mesh options on the points where there is two interfaces.</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Use the latest snapshot: this is now handled automatically.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB">And when I mesh this structure, the meshing is not acceptable.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">So, how could I not lose the information about the mesh on the interface points when I perform this Boolean operation ?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Is there another option to create one interface between to shape without lose the mesh information ?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">At the end, I would like to have a part with a fine mesh (the volume 1) and for the other part, I would like to have a fine to coarse mesh.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">And, I would like to know : is it possible to perform a “Refine by splitting” on a single part and not for all the structure ?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">No<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Christophe<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Below, you can find the .geo file with the Boolean operation problem :</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">----------------------------------------------------------------------------------------------</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">SetFactory("OpenCASCADE");</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">// Mesh.CharacteristicLengthMin = 1;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">// Mesh.CharacteristicLengthMax = 3;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">p10=newp; Point(p10) = {-10,0,-10, 1};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">p11=newp; Point(p11) = {10,0,-10, 1};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">p12=newp; Point(p12) = {10,10,-10, 1};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">p13=newp; Point(p13) = {-10,10,-10, 1};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l10=newl; Line(l10) = {p10,p11};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l11=newl; Line(l11) = {p11,p12};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l12=newl; Line(l12) = {p12,p13};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l13=newl; Line(l13) = {p13,p10};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">ll10 = newll; Line Loop(ll10) = {l10,l11,l12,l13};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">rs10 = news ; Plane Surface(rs10) = {ll10};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ex10[]= Extrude{0,0,30}{ Surface{rs10}; };<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Physical Volume(1)={ex10[1]};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">p20=newp; Point(p20) = {-10,10,-10, 1};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">p21=newp; Point(p21) = {10,10,-10, 1};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">p22=newp; Point(p22) = {10,30,-10, 1};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">p23=newp; Point(p23) = {-10,30,-10, 1};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l20=newl; Line(l20) = {p20,p21};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l21=newl; Line(l21) = {p21,p22};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l22=newl; Line(l22) = {p22,p23};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l23=newl; Line(l23) = {p23,p20};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">ll20 = newll; Line Loop(ll20) = {l20,l21,l22,l23};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">rs20 = news ; Plane Surface(rs20) = {ll20};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ex20[]= Extrude{0,0,30}{ Surface{rs20}; };<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Physical Volume(2)={ex20[1]};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">p30=newp; Point(p30) = {-10,30,-10, 1};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">p31=newp; Point(p31) = {10,30,-10, 1};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">p32=newp; Point(p32) = {10,210,-10, 50};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">p33=newp; Point(p33) = {-10,210,-10, 50};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l30=newl; Line(l30) = {p30,p31};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l31=newl; Line(l31) = {p31,p32};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l32=newl; Line(l32) = {p32,p33};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">l33=newl; Line(l33) = {p33,p30};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">ll30 = newll; Line Loop(ll30) = {l30,l31,l32,l33};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">rs30 = news ; Plane Surface(rs30) = {ll30};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ex30[]= Extrude{0,0,30}{ Surface{rs30}; };<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Physical Volume(3)={ex30[1]};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">vblock=newv; Block(vblock) = {-10,-50,-10, 20,260,30};<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">v() = BooleanFragments{ Volume{1:3}; Delete; }{ Volume{vblock}; Delete; };<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Physical Volume(0)={4};</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">----------------------------------------------------------------------------------------------</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">(The Mesh.CharacteristicLengthMin and Mesh.CharacteristicLengthMax are commented out. If I activate this command, my mesh is refined in all the region and I do not want to obtain this results.)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Thank you very much for your answer,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Best Regards,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Benoît CURVERS</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span lang="EN-GB">Laser Systems & Solutions of Europe (LASSE)</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">SCREEN Semiconductor Solutions Co. Ltd</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Taïwan Cell : 0965875974 or 7629511</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Email :<span class="apple-converted-space"> </span><a href="mailto:benoit.curvers@screen-lasse.com"><span style="color:#954F72">benoit.curvers@screen-lasse.com</span></a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif">_______________________________________________<br>
gmsh mailing list<br>
</span><a href="mailto:gmsh@onelab.info"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#954F72">gmsh@onelab.info</span></a><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif"><br>
</span><a href="http://onelab.info/mailman/listinfo/gmsh"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#954F72">http://onelab.info/mailman/listinfo/gmsh</span></a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">— <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science <br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine">http://www.montefiore.ulg.ac.be/~geuzaine</a><br>
<br>
Free software: <a href="http://gmsh.info">http://gmsh.info</a> | <a href="http://getdp.info">http://getdp.info</a> | <a href="http://onelab.info">http://onelab.info</a><o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>