Periodic Surfaces
Hello @geuzaine,
I'm trying to create two vertical periodic surfaces in 3D but when I check the created mesh they are not periodic at all. The Info I get is: "No periodic vertices in surface 5 (maybe due to a structured mesh constraint on the target surface)"
The code I'm using is:
// Lines
Spline(l_idx+1) = {p_idx_last-7:p_idx_last-4};
Line(l_idx+2) = {p_idx_last-4:p_idx_last-3};
upp_bb() = Translate {0, Pitch, 0} { Duplicata{ Line{l_idx+1};} };
...
// Mesh size
Mesh.CharacteristicLengthMin = lc;
Mesh.CharacteristicLengthMax = lc;
// Transfinite
Transfinite Surface{2};
Mesh.RecombineAll = 1;
Mesh.Recombine3DAll = 1;
Mesh.Algorithm = 5;
Mesh.Smoothing = 1;
// Extrude
Extrude{0,0,lz}{ Surface{:}; Layers{neles_lz}; Recombine;}
Periodic Curve {l_idx+1} = {l_idx+3};
Periodic Surface {5} = {3} Translate {0, ly, 0};
Where am I wrong? Best regards