November 22, 2016, 08:51
|
having difficulties with easy GMSH periodics problem
|
#1
|
Member
Jack
Join Date: May 2015
Posts: 98
Rep Power: 10
|
Hi all, I have a presumably simple problem with GMSH involving specifying a periodic surface pair. Here is the code to create the error:
Code:
Point(1) = {1.34722, 1.19955, 0, 0.1};
Point(2) = {0.747222, 1.19955, 0, 0.1};
Point(3) = {0, 0.55, 0, 0.1};
Point(4) = {-0.4, 0.55, 0, 0.1};
Point(5) = {1.34722, 0.0995502, 0, 0.1};
Point(6) = {0.747222, 0.0995502, 0, 0.1};
Point(7) = {0, -0.55, 0, 0.1};
Point(8) = {-0.4, -0.55, 0, 0.1};
Line(1) = {1,5};
Line(2) = {5:8};
Line(3) = {8,4};
Line(4) = {4:1};
Line Loop(101) = {1, 2, 3, 4};
Plane Surface(201) = {101};
surfaceVector[] = Extrude {0, 0, 0.25} {Surface {201};Layers{1};Recombine;};
Periodic Surface surfaceVector[5] {208,-206,-217,4} = surfaceVector[3] {209,204,-213,-2};
Physical Volume('internal') = {1};
I get
Code:
Error : Was not able to find corresponding node 5 for periodic connection of surface 214 to 222 using the specified transformation
Any ideas? Many thanks!
|
|
|