[Gmsh] CopyMeshingMethod Problem

Stefan Zörner stefan.zoerner at tuwien.ac.at
Wed Oct 10 17:29:34 CEST 2012


The CopyMeshingMethod should preserve any transfinite information during 
copying (Duplicata).
I have the problem that if I want to copy an extruded surface the 
meshing data is lost and the new copied surface has the fallback meshing 
information.
Attached is a simple testcase. The "Duplicata" works prefectly on the 
original surface but not on the extruded one.

I am glad for any help and thank in advance!


Stefan

-- 
----------------------------------------------------------------------------------------------------------
Stefan Zörner

Vienna University of Technology
Wiedner Hauptstrasse 8-10
A-1040 Wien, Austria

-------------- next part --------------
Mesh.RecombineAll = 1;
Geometry.CopyMeshingMethod=1;

Point(1) = {0, -1, -1, 1.0};
Point(2) = {0, 1, -1, 1.0};
Point(3) = {0, 1, 1, 1.0};
Point(4) = {0, -1, 1, 1.0};
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
Transfinite Line{1,2,3,4} = 3;
Line Loop(33) = {1, 2, 3, 4};
Plane Surface(34) = {33};
Transfinite Surface '*';
Recombine Surface '*';
Extrude {1, 0, 0} {
  Surface{34};
  Layers{1};
  Recombine;
}
Transfinite Surface '*';
Recombine Surface '*';
Translate {5, 0, 0} {
Duplicata{
  Surface{56};
  //Surface{34};
  }
}
Transfinite Surface '*';
Recombine Surface '*';
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stefan_zoerner.vcf
Type: text/x-vcard
Size: 355 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20121010/56d441f5/attachment.vcf>