<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:#073763">Thanks Christophe. I worked around it by exporting geometry and reloading-translating and extruding. </div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><font face="georgia, serif">Saludos/Regards,</font></div><div><font face="georgia, serif"><br></font></div><font face="georgia, serif"><div style="font-size:small;color:rgb(7,55,99);display:inline"></div><span style="font-size:small">--</span><br style="font-size:small"><font size="1">José A. Abel<font color="#000000">l M., <div style="display:inline">PhD</div></font><br><i>Ingeniero Civil <br></i>Profesor Investigador</font></font><div><font face="georgia, serif" size="1">Facultad de Ingeniería y Ciencias Aplicadas<br>Universidad de los Andes</font></div><div><font face="georgia, serif" size="1"><font color="#000000">(+56<div style="display:inline"></div><div style="display:inline"></div>)<div style="display:inline">2</div>-2412<div style="display:inline">-</div>932</font>1</font></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Jul 6, 2016 at 1:49 AM, Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@ulg.ac.be" target="_blank">cgeuzaine@ulg.ac.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Jose,<br>
<br>
Extrude + Layers will not work if you modify the geometry : the extrusion direction (translation, rotation, etc.) is used as-is when creating the structured mesh. You will have to resort to the "Transfinite" command in that case.<br>
<br>
Christophe<br>
<div><div class="h5"><br>
> On 05 Jul 2016, at 17:06, Jose A. Abell M. <<a href="mailto:jaabell@miuandes.cl">jaabell@miuandes.cl</a>> wrote:<br>
><br>
> Dear gmsh devs,<br>
><br>
> Suppose I want to create a skewed hexahedral geometry to be meshed using a structured method. I want to use extrusions to create a regular cube first and then translating the points created by the extrusion to 'skew' it.<br>
><br>
> Translating the extruded points and lines works, but the surfaces and volumes created by extrusion seem attached to their old geometry, generating errors.<br>
><br>
> Please see example below:<br>
><br>
> //Create 1x1x1 cube using extrusions<br>
> Point(1) = {0, 0, 0, 1};<br>
><br>
> lines[] = Extrude {1, 0, 0}{<br>
> Point{1};<br>
> Layers{10};<br>
> Recombine;<br>
> };<br>
><br>
> surfaces[] = Extrude {0, 1, 0}{<br>
> Line{lines[]};<br>
> Layers{10};<br>
> Recombine;<br>
> };<br>
><br>
> volumes[] = Extrude {0, 0, 1}{<br>
> Surface{surfaces[]};<br>
> Layers{10};<br>
> Recombine;<br>
> };<br>
><br>
> // Distort the geometry using a translation for point on a face<br>
><br>
> Translate {1, 0, 0} {<br>
> Point{2, 1, 4, 3};<br>
> }<br>
><br>
><br>
><br>
><br>
> Saludos/Regards,<br>
><br>
> --<br>
> José A. Abell M., PhD<br>
> Ingeniero Civil<br>
> Profesor Investigador<br>
> Facultad de Ingeniería y Ciencias Aplicadas<br>
> Universidad de los Andes<br>
> (+56)2-2412-9321<br>
</div></div>> _______________________________________________<br>
> gmsh mailing list<br>
> <a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br>
> <a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
<br>
--<br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science<br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine" rel="noreferrer" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br>
<br>
Tetrahedron V, July 4-5 2016: <a href="http://tetrahedron.montefiore.ulg.ac.be" rel="noreferrer" target="_blank">http://tetrahedron.montefiore.ulg.ac.be</a><br>
Free software: <a href="http://gmsh.info" rel="noreferrer" target="_blank">http://gmsh.info</a> | <a href="http://getdp.info" rel="noreferrer" target="_blank">http://getdp.info</a> | <a href="http://onelab.info" rel="noreferrer" target="_blank">http://onelab.info</a><br>
<br>
<br>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
</blockquote></div><br></div></div>