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

add more step/stl benchmarks
parent de144f02
Branches
Tags
No related merge requests found
File added
Merge "A319.brep";
xmin = General.MinX;
xmax = General.MaxX;
ymin = General.MinY;
ymax = General.MaxY;
zmin = General.MinZ;
zmax = General.MaxZ;
l = Sqrt((xmax - xmin)^2 + (ymax - ymin)^2 + (zmax - zmin)^2) / 5;
lc = l;
Point(10001) = { xmin - l, ymin - l, zmin - l, lc};
Point(10002) = { xmax + l, ymin - l, zmin - l, lc};
Point(10003) = { xmax + l, ymax + l, zmin - l, lc};
Point(10004) = { xmin - l, ymax + l, zmin - l, lc};
Line(10001) = {10004, 10003};
Line(10002) = {10003, 10002};
Line(10003) = {10002, 10001};
Line(10004) = {10001, 10004};
Line Loop(10005) = {10002, 10003, 10004, 10001};
Plane Surface(10006) = {10005};
tmp[] = Extrude {0, 0, (zmax - zmin) + 2 * l} {
Surface{10006};
};
Delete { Volume{tmp[1]}; }
Characteristic Length{1:1000} = lc / 20;
//created in the gui:
Surface Loop(10029) = {10028,10015,10006,10019,10023,10027};
Surface Loop(10030) = {36,82,72,65,40,46,37,43,42,39,38,41,49,45,48,47,44,35,34,19,13,12,31,29,11,30,10,7,8,9,21,22,23,15,20,18,16,14,17,25,24,27,28,26,33,32,62,56,50,58,54,71,1,6,66,57,68,53,55,61,69,64,4,52,5,51,2,3,67,63,60,70,59,81,78,79,83,75,80,73,74,77,76};
Volume(10031) = {10029,10030};
File added
Merge "io1-pe-203.step";
xmin = General.MinX;
xmax = General.MaxX;
ymin = General.MinY;
ymax = General.MaxY;
zmin = General.MinZ;
zmax = General.MaxZ;
l = Sqrt((xmax - xmin)^2 + (ymax - ymin)^2 + (zmax - zmin)^2) / 5;
lc = l;
Point(10001) = { xmin - l, ymin - l, zmin - l, lc};
Point(10002) = { xmax + l, ymin - l, zmin - l, lc};
Point(10003) = { xmax + l, ymax + l, zmin - l, lc};
Point(10004) = { xmin - l, ymax + l, zmin - l, lc};
Line(10001) = {10004, 10003};
Line(10002) = {10003, 10002};
Line(10003) = {10002, 10001};
Line(10004) = {10001, 10004};
Line Loop(10005) = {10002, 10003, 10004, 10001};
Plane Surface(10006) = {10005};
Extrude {0, 0, (zmax - zmin) + 2 * l} {
Surface{10006};
}
tmp[] = Extrude {0, 0, (zmax - zmin) + 2 * l} {
Surface{10006};
};
Delete { Volume{tmp[1]}; }
//created in the gui:
Surface Loop(10029) = {10027,10006,10015,10019,10023,10028};
Surface Loop(10030) = {21,22,23,24,25,1,2,3,27,26,6,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,20,28,29};
Volume(10031) = {10029,10030};
...@@ -21,9 +21,10 @@ Line(10003) = {10002, 10001}; ...@@ -21,9 +21,10 @@ Line(10003) = {10002, 10001};
Line(10004) = {10001, 10004}; Line(10004) = {10001, 10004};
Line Loop(10005) = {10002, 10003, 10004, 10001}; Line Loop(10005) = {10002, 10003, 10004, 10001};
Plane Surface(10006) = {10005}; Plane Surface(10006) = {10005};
Extrude {0, 0, (zmax - zmin) + 2 * l} { tmp[] = Extrude {0, 0, (zmax - zmin) + 2 * l} {
Surface{10006}; Surface{10006};
} };
Delete { Volume{tmp[1]}; }
Surface Loop(10029) = {10027,10006,10015,10019,10023,10028}; Surface Loop(10029) = {10027,10006,10015,10019,10023,10028};
Surface Loop(10030) = {7,9,10,11,8,6,28,26,36,15,2,4,5,12,3,1,13,24,23,14,16,22,21,18,20,37,34,19,17,35,31,33,32,30,29,27,25}; Surface Loop(10030) = {7,9,10,11,8,6,28,26,36,15,2,4,5,12,3,1,13,24,23,14,16,22,21,18,20,37,34,19,17,35,31,33,32,30,29,27,25};
......
Merge 'falcon1.stl';
Point(201) = {-30.0,30.0,15.0,0.1};
Point(202) = {-30.0,30.0,-15.0,0.1};
Point(203) = {0.0,30.0,15.0,0.1};
Point(204) = {0.0,30.0,-15.0,0.1};
Line(203) = {202,204};
Line(204) = {204,203};
Line(205) = {203,201};
Line(206) = {201,202};
Line Loop(207) = {203,204,205,206};
Plane Surface(208) = {207};
Extrude {0,-50,0} { Surface{208}; }
Surface Loop(1) = {1};
Surface Loop(232) = {-217,208,-221,-225,-229,-230};
Volume(233) = {232,1};
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment