
Point(1) = {0, 0, 0, 1.0};
Point(2) = {1, 0, 0, 1.0};
Point(3) = {0, 1, 0, 1.0};
Point(4) = {1, 1, 0, 1.0};
Point(5) = {1, 1, 1, 1.0};
Point(6) = {1, 0, 1, 1.0};
Point(7) = {0, 1, 1, 1.0};
Point(8) = {0, 0, 1, 1.0};

Line(1) = {3, 7};
Line(2) = {7, 5};
Line(3) = {5, 4};
Line(4) = {4, 3};
Line(5) = {3, 1};
Line(6) = {2, 4};
Line(7) = {2, 6};
Line(8) = {6, 8};
Line(9) = {8, 1};
Line(10) = {1, 2};
Line(11) = {8, 7};
Line(12) = {6, 5};

Line Loop(13) = {7, 8, 9, 10};

Line Loop(15) = {6, 4, 5, 10};

Line Loop(17) = {3, 4, 1, 2};

Line Loop(19) = {12, -2, -11, -8};

Line Loop(21) = {7, 12, 3, -6};

Line Loop(23) = {9, -5, 1, -11};


Plane Surface(18) = {13};
Plane Surface(16) = {15};
Plane Surface(14) = {17};
Plane Surface(20) = {19};
Plane Surface(22) = {21};
Plane Surface(24) = {23};



Surface Loop(25) = {18, 22, 20, 14, 16, 24};
Volume(26) = {25};

Transfinite Line "*" = 2 Using Bump 0.5;
Transfinite Surface "*";
Transfinite Volume "*";

Physical Surface("top") = {20};
Physical Surface("bottom") = {16};
Physical Surface("sides") = {14, 24, 18, 22};
Physical Volume("cube") = {26};
Coherence;
