[Gmsh] Periodic Line command

amélie pajot amelie.pajot at gmail.com
Wed Nov 30 14:28:01 CET 2011


Good afternoon,

I would like to use the Periodic Line command but I have a problem with it.
I first try on a simple exemple that I show you below:

h_elem = 0.1;
Point(1) = {1, 0.7, 0, h_elem};
Point(2) = {0,1,0,h_elem};
Point(3) = {0, 0, 0, h_elem};
Point(4) = {1, 0.3, 0, h_elem};
Line(1) = {3, 4};
Line(2) = {4, 1};
Line(3) = {1, 2};
Line(4) = {2, 3};
Line Loop(1) = {1, 2, 3, 4};
Plane Surface(1)={1};
Periodic Line {4} ={-2};

I used the manual to understand how, the commande 'Periodic Line', have to
be used but there is not a lot of exemple and there is also not a lot of
forum dedicated to gmsh and anyway they don't deal at all with this
command.
So, I try by myself to deal with this problem: I try different
configurations,  parenthesis instead of brace, without the minus sign,
before the "Line Loop" command, adding a "Physical Surface", but it
still don't work, I always have this error message 'syntax error (Line)'.

I don't know what to do now, that 's why I contact you.
I hope you will have some time to help me.

Thank you

Sincerely,

Amélie Pajot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20111130/c397f8f7/attachment.html>