<div dir="ltr">Dear Christophe,<div><br></div><div>thanks so much for your helpful and fast response. It is really appreciated!</div><div><br></div><div>Just to double check: Does that mean that the assignment of surface names with the syntax I used before does not work any longer in gmsh ?</div><div><br></div><div>Thanks so much and have a great day :)<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Kind regards,</div><div><br></div><div>Lisa <br></div><div><br></div><div>----------------------------------------------------------------------------------------------------------------------</div><div><b>Lisa Pankewitz</b></div><div>PhD student</div><div>Simula Research Laboratory</div><div>Martin Linges vei 25<br>1364 Fornebu</div><div>Office 329</div><div><a href="mailto:lisa@simula.no" target="_blank">lisa@simula.no</a></div><div><img src="https://docs.google.com/uc?export=download&id=1_8poiAtQF4MfCPR4gY_1ihjiPfS20mG0&revid=0BzUd-6x7y_vCOEp3ZFdReVVvZzdERXV5TFEvS3ZzV0FaS2tJPQ"><br></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 22 Jun 2020 at 18:10, Christophe Geuzaine <<a href="mailto:cgeuzaine@uliege.be">cgeuzaine@uliege.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Lisa,<div><br></div><div>Your script seems quite complicated. Here's a simple one that produces a decent mesh:</div><div><br></div><div>Merge "File_1.vtk";<br>Merge "File_2.vtk";<br>Merge "File_3.vtk";<br>Merge "File_4.vtk";<br>Merge "File_5.vtk";<br>Merge "File_6.vtk";<br>Merge "File_7.vtk";<br><br>Coherence Mesh; // remove duplicate mesh nodes<br><br>ClassifySurfaces{21 * Pi/180, 1, 0 /* or 1 */, 40 * Pi / 180};<br>CreateGeometry;<br><br>Mesh.CharacteristicLengthMax = 10;<br>Mesh.CharacteristicLengthMin = 0.1;<br>Mesh.CharacteristicLengthFromCurvature = 1;<br>Mesh.MinimumElementsPerTwoPi = 20;<br><br>s() = Surface{:};<br>Surface Loop(1) = s();<br>Volume(1) = 1;<br><br>We still need to add some tools to automate the identification of curves/surfaces created by ClassifySurfaces. For now you'll need to tag them manually (or use some geometrical tests, e.g. using the Gmsh API).</div><div><br></div><div>Christophe</div><div><br></div><div><img id="gmail-m_1151297612205653128AFFB0D48-BA63-4BE5-9650-87E09867987C" src="cid:172dcfd8406c3645b171"></div><div><br></div><div><br><br><blockquote type="cite">On 22 Jun 2020, at 17:25, Lisa Pankewitz <<a href="mailto:lisa@simula.no" target="_blank">lisa@simula.no</a>> wrote:<br><br>To whom it may concern,<br><br>I am trying to remesh a geometry based on .vtk files.<br>I merge 7 .vtk files. 4 vtk files are used to create a surface that consists of 4 compounds. All 7 surfaces together define the volume. I assign tags (names) to the physical surfaces, which I need in later steps. Unfortunately, I realized the surface does not remesh. I checked several tutorials and parameters but could not yet find a possibility to keep the tags and remesh the surface and the volume in the assigned characteristic length in gmsh version 4.<br>I tried<br>''' <br>RefineMesh<br>'''<br>but this only splits the elements instead of performing an optimal refinement.<br><br>Do you by chance know what I could assign in order to remesh the surface AND the volume and not only the volume?<br><br>Thanks so much for your time and have a wonderful day!<br>Kind regards,<br><br>Lisa <br><br>----------------------------------------------------------------------------------------------------------------------<br>Lisa Pankewitz<br>PhD student<br>Simula Research Laboratory<br>Martin Linges vei 25<br>1364 Fornebu<br>Office 327<br><a href="mailto:lisa@simula.no" target="_blank">lisa@simula.no</a><br><br><span id="gmail-m_1151297612205653128cid:f_kbqnia7r4"><File_4.vtk></span><span id="gmail-m_1151297612205653128cid:f_kbqnia7n3"><File_3.vtk></span><span id="gmail-m_1151297612205653128cid:f_kbqnia7i2"><File_2.vtk></span><span id="gmail-m_1151297612205653128cid:f_kbqnia740"><complex.geo></span><span id="gmail-m_1151297612205653128cid:f_kbqnia7d1"><File_1.vtk></span><span id="gmail-m_1151297612205653128cid:f_kbqnia7v5"><File_5.vtk></span><span id="gmail-m_1151297612205653128cid:f_kbqnia7y6"><File_6.vtk></span><span id="gmail-m_1151297612205653128cid:f_kbqnia827"><File_7.vtk></span>_______________________________________________<br>gmsh mailing list<br><a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br><a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br></blockquote><br><div>— <br>Prof. Christophe Geuzaine<br>University of Liege, Electrical Engineering and Computer Science <br><a href="http://www.montefiore.ulg.ac.be/~geuzaine" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br><br><br></div><br></div></div></blockquote></div>