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

No commit message

No commit message
parent 48dd7142
No related branches found
No related tags found
No related merge requests found
l = 2;
L = l / 2;
n = L / 2;
d = 4;
cl = l / d;
Point(1) = {-L, L, -L, cl};
Point(2) = {-L, 0, -L, cl};
Point(3) = { L, 0, -L, cl};
Point(4) = { L, -L, -L, cl};
Point(5) = {-n, L, -L, cl};
Point(6) = { n, 0, -L, cl};
Point(7) = {-n, 0, -L, cl};
Point(8) = { n, -L, -L, cl};
BSpline(1) = {1, 5, 6, 3};
BSpline(2) = {2, 7, 8, 4};
Line(3) = {2, 1};
Line(4) = {3, 4};
Line Loop(1) = {3, 1, 4, -2};
Plane Surface(1) = {1};
Geometry.ExactExtrusion=0;
Mesh.ElementOrder = 2;
Extrude{0, 0, 2 * L}{
Surface{1}; Layers{10};
}
Hide{
Point{ 5, 6, 7, 8};
Point{14, 15, 24, 25};
}
cl__1 = 1.5;
cl__2 = 1.0;
cl__3 = 8;
Point(9) = {19, 0, 0, cl__1};
Point(10) = {19, 0, 1, cl__1};
Point(11) = {19, 8, 0, cl__1};
Point(12) = {19, 8, 1, cl__1};
Point(17) = {19, 5, 0.9, cl__3};
Point(18) = {19, 3, 0.9, cl__3};
Line(14) = {9, 10};
Line(17) = {9, 11};
Line(19) = {10, 12};
Line(20) = {11, 12};
Line(26) = {17, 18};
Line Loop(11) = {14, 19, -20, -17};
Plane Surface(11) = {11};
Line{26} In Surface{11};
This diff is collapsed.
Merge "bug_spheres.brep";
Mesh.RemeshAlgorithm = 1; // (0) no split (1) automatic (2) automatic only with metis
Mesh.RemeshParametrization = 7; // (0) harmonic (1) conformal spectral (7) conformal finite ele
ss[] = Surface "*";
s = 10000;
For i In {0 : #ss[]-1}
Compound Surface(s+i) = ss[i];
EndFor
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment