Skip to content
Snippets Groups Projects
Commit d852b471 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

gmsh 2.0 fixes all of these
parent 26054b30
No related branches found
No related tags found
No related merge requests found
File moved
File moved
File moved
// The old 2D iso algo and the new 2D aniso algo generate flat Mesh.CharacteristicLengthFactor = 1000;
// triangles in this case
Point(1) = {0, 0, 0, 0.5}; Point(1) = {0, 0, 0, 0.5};
Point(2) = {1, 0, 0, 0.5}; Point(2) = {1, 0, 0, 0.5};
Point(3) = {1, 1, 0, 0.5}; Point(3) = {1, 1, 0, 0.5};
......
File moved
File moved
File moved
// the old 2D algo chokes on this:
Point(1) = {0, 0, 24.5, 90};
Point(3) = {0, 24.5, 0, 90};
Point(5) = {0, 0, 0, 90};
Point(7) = {100, 42.5, 17.5, 90};
Circle (1) = {1, 5, 3}; // this is bad
// Line (1) = {1, 3}; // this is OK
Line (9) = {1, 7};
Line (11) = {3, 7};
Line Loop (1) = {9, -11, -1}; // this is bad
// Line Loop (1) = {-11, -1, 9}; // this is OK
Ruled Surface (2) = {1};
lc = 0.007 ;
Point(1) = {0, 0, 0, 9.e-1 * lc} ;
Point(2) = {.1, 0, 0, lc} ;
Point(3) = {.1, .3, 0, lc} ;
Point(4) = {0, .3, 0, lc} ;
//Line(1) = {1,2} ;
//Line(2) = {3,2} ;
//Line(3) = {3,4} ;
//Line(4) = {4,1} ;
//Line Loop(5) = {4,1,-2,3} ;
//Plane Surface(6) = {5} ;
Line(101) = {2,4};
Line(102) = {1,3};
Intersect;
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment