<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:"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:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Dear Petsc team,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I want to load a .msh file generated using Gmsh software into the DMPlex object. There are several things I would want to clarify, but I would like to start with “Physical tags”.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If I have defined “Physical Points”, “Physical Surface”, and “Physical Volume” in my .geo file, I get the physical tags in the “.msh” file.<br>When I load this mesh in DMPlex, and view the DM:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>call DMView(globalMesh, PETSC_VIEWER_STDOUT_WORLD,err_PETSc)<o:p></o:p></p><p class=MsoNormal> CHKERRQ(err_PETSc)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This is the output I get:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>DM Object: n/a 1 MPI process<o:p></o:p></p><p class=MsoNormal> type: plex<o:p></o:p></p><p class=MsoNormal>n/a in 3 dimensions:<o:p></o:p></p><p class=MsoNormal> Number of 0-cells per rank: 14<o:p></o:p></p><p class=MsoNormal> Number of 1-cells per rank: 49<o:p></o:p></p><p class=MsoNormal> Number of 2-cells per rank: 60<o:p></o:p></p><p class=MsoNormal> Number of 3-cells per rank: 24<o:p></o:p></p><p class=MsoNormal>Labels:<o:p></o:p></p><p class=MsoNormal> celltype: 4 strata with value/size (0 (14), 6 (24), 3 (60), 1 (49))<o:p></o:p></p><p class=MsoNormal> depth: 4 strata with value/size (0 (14), 1 (49), 2 (60), 3 (24))<o:p></o:p></p><p class=MsoNormal> Cell Sets: 1 strata with value/size (8 (24))<o:p></o:p></p><p class=MsoNormal> Face Sets: 6 strata with value/size (2 (4), 3 (4), 4 (4), 5 (4), 6 (4), 7 (4))<br><br>I was expecting to get the “Node Sets” or “Vertex Sets” also. Is my assumption wrong?<br><br>If yes, then how can one figure out the boundary nodes and their tags where I want to apply certain boundary conditions?<br>Currently we apply boundary conditions on faces, therefore “Face Sets” was enough. But now we want to apply displacements on certain boundary nodes.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have also attached the .geo and .msh file (hope you can open it)<o:p></o:p></p><p class=MsoNormal>The Petsc version I am using is 3.18.6.<br><br><br>Thanks and Regards,<o:p></o:p></p><p class=MsoNormal>Sharan Roongta<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-family:"Courier New"'>----------------------------------------------- <br>Max-Planck-Institut für Eisenforschung GmbH <br>Max-Planck-Straße 1 <br>D-40237 Düsseldorf <br><br>Handelsregister B 2533 <br>Amtsgericht Düsseldorf <br> <br>Geschäftsführung <br>Prof. Dr. Gerhard Dehm <br>Prof. Dr. Jörg Neugebauer <br>Prof. Dr. Dierk Raabe <br>Dr. Kai de Weldige <br><br>Ust.-Id.-Nr.: DE 11 93 58 514 <br>Steuernummer: 105 5891 1000 <br>------------------------------------------------- <br>Please consider that invitations and e-mails of our institute are <br>only valid if they end with …@mpie.de. <br>If you are not sure of the validity please contact <a href="mailto:rco@mpie.de"><span style='color:blue'>rco@mpie.de</span></a> <br><br>Bitte beachten Sie, dass Einladungen zu Veranstaltungen und E-Mails <br>aus unserem Haus nur mit der Endung …@mpie.de gültig sind. <br>In Zweifelsfällen wenden Sie sich bitte an <a href="mailto:rco@mpie.de"><span style='color:blue'>rco@mpie.de</span></a></span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div><BR />
<BR />
<HR />
-------------------------------------------------<BR />
Stay up to date and follow us on LinkedIn, Twitter and YouTube.<BR />
<BR />
Max-Planck-Institut für Eisenforschung GmbH<BR />
Max-Planck-Straße 1<BR />
D-40237 Düsseldorf<BR />
<BR />
Handelsregister B 2533 <BR />
Amtsgericht Düsseldorf<BR />
<BR />
Geschäftsführung<BR />
Prof. Dr. Gerhard Dehm<BR />
Prof. Dr. Jörg Neugebauer<BR />
Prof. Dr. Dierk Raabe<BR />
Dr. Kai de Weldige<BR />
<BR />
Ust.-Id.-Nr.: DE 11 93 58 514 <BR />
Steuernummer: 105 5891 1000<BR />
<BR />
<BR />
Please consider that invitations and e-mails of our institute are <BR />
only valid if they end with …@mpie.de. <BR />
If you are not sure of the validity please contact rco@mpie.de<BR />
<BR />
Bitte beachten Sie, dass Einladungen zu Veranstaltungen und E-Mails<BR />
aus unserem Haus nur mit der Endung …@mpie.de gültig sind. <BR />
In Zweifelsfällen wenden Sie sich bitte an rco@mpie.de<BR />
-------------------------------------------------<BR />
</body></html>