[Gmsh] RE The direction of normal vectors on the surface elements

jean pierre aubry jeanpierre at lamachine.fr
Mon Jan 26 15:55:44 CET 2015


hello

the normal orientation of the elements is the same that their parent
surface which cab adjusted at will try this example to understand

lx = 100.0;
ly = 100.0;
Point(1) = {0, 0, 0, cl1};
Point(2) = {lx, 0, 0, cl1};
Point(3) = {lx, ly, 0, cl1};
Point(4) = {0, ly, 0, cl1};
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
Line Loop(5) = {1, 2, 3, 4};
//comment or uncomment next two lines
Plane Surface(6) = {5};
//Plane Surface(6) = {-5};

-- 
jean pierre aubry
jeanpierre[at]lamachine.fr