<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Dune,  I have generated a mesh of a hexahedron<div><br><div>with dimensions: lx = 200; ly = 300; lz = 400<br><div><br></div><div>with periodic boundaries in x,y and z direction, i.e. the boundary</div><div>surfaces in x, y and z directions consist of congruent triangles.</div><div><br></div><div><br></div><div>I am now confronted with the problem of telling ALUGrid<tetrahedral simplex></div><div><div>that the mesh in the DGF file is indeed periodic so that ALUGrid can wrap around</div><div>the mesh.</div><div><br></div><div>In the documentation I have found instructions as:</div><div><br></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b>PeriodicFaceTransformation</b> <br>Each line describes an affine transformation that shall be used to glue grid boundaries together. The transformation is denoted as <em>matrix</em> + <em>shift</em>. The following 2d example describes a shift by the first unit vector:<div class="fragment" style="font-family: monospace, fixed; font-size: 15px; "><pre class="fragment" style="font-family: monospace, fixed; font-size: 14px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); background-color: rgb(245, 245, 245); margin-top: 4px; margin-bottom: 4px; margin-left: 2px; margin-right: 8px; padding-left: 6px; padding-right: 6px; padding-top: 4px; padding-bottom: 4px; ">  1 0, 0 1 + 1 0</pre></div></span><div><br></div></div><div><br></div><div>Thus, I would write something like:</div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b>PeriodicFaceTransformation</b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b>1 0 0, 0 1 0, 0 0 1 + 200  0     0</b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b>1 0 0, 0 1 0, 0 0 1 + 0     300</b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b>1 0 0, 0 1 0, 0 0 1 + 0     0     400</b></span></b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><br></b></span></b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b>to tell ALUGrid that I have periodicities:</b></span></b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><br></b></span></b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b>200 in x direction</b></span></b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b>300 in y direction</b></span></b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b>400 in z direction </b></span></b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><br></b></span></b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b>?</b></span></b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><br></b></span></b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b>Thanks and have a great day! Benedikt</b></span></b></span></b></span></div><div><span class="Apple-style-span" style="font-family: Geneva, Arial, Helvetica, sans-serif; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><span class="Apple-style-span" style="font-weight: normal; "><b><br></b></span></b></span></b></span></div><div><br></div><div><br></div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>--------------------------------------------------------------------------------------------------------------------------------------------------------------------</div><div>Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, <a href="http://www.psi.ch">www.psi.ch</a>, Computational Accelerator Scientist, <a href="http://amas.web.psi.ch">http://amas.web.psi.ch</a></div><div>Paul Scherrer  Institute (PSI), CH-5232 Villigen, Suisse, <a href="mailto:benedikt.oswald@psi.ch">benedikt.oswald@psi.ch</a>, +41(0)56 310 32 12</div><div><br></div><div>"Passion is required for any great work, and for the revolution passion and audacity are required in big doses.",<br> Ernesto 'Che' Guevara, Letter to his parents.<br>--------------------------------------------------------------------------------------------------------------------------------------------------------------------</div></div></div></span></span>
</div>
<br></div></div></div></div></body></html>