Hi Dokken,
Please find attached the .geo file that was used to generate the mesh using gmsh MyTest2.geo -3 -save_all
// Im going to define a beam, mesh it and then insert a new surface in the middle, following Tutorials 1 and 15 of the GMSH tutorial page
l = 5;
w = 1;
h = 1;
lc = 0.5;
// POINTS
Point(1) = {0,0,0,lc};
Point(2) = {0,0,l,lc};
Point(3) = {w,0,0,lc};
//Point(4) = {0,h,0,lc};
//Point(5) = {w,h,0,lc};
//Point(6) = {0,h,l,lc};
Point(7) = {w,0,l,lc};
//Point(8) = {w,h,l,lc};
Point(9) = {0,0.5,l,lc}; //Point for inserting
Point(10) = {w,0.5,l,lc}; //Point for inserting
Point(11) = {0,0.5,0,lc}; //Point for inserting
Point(12) = {w,0.5,0,lc}; //Point for inserting
// LINES
Line(1) = {1,11};
Line(2) = {1,2};
Line(3) = {2,9};
Line(4) = {11,9};
Line(5) = {9,10};
Line(6) = {11,12};
// Im going to define a beam, mesh it and then insert a new surface in the middle, following Tutorials 1 and 15 of the GMSH tutorial page
l = 5;
w = 1;
h = 1;
lc = 0.5;
// POINTS
Point(1) = {0,0,0,lc};
Point(2) = {0,0,l,lc};
Point(3) = {w,0,0,lc};
//Point(4) = {0,h,0,lc};
//Point(5) = {w,h,0,lc};
//Point(6) = {0,h,l,lc};
Point(7) = {w,0,l,lc};
//Point(8) = {w,h,l,lc};
Point(9) = {0,0.5,l,lc}; //Point for inserting
Point(10) = {w,0.5,l,lc}; //Point for inserting
Point(11) = {0,0.5,0,lc}; //Point for inserting
Point(12) = {w,0.5,0,lc}; //Point for inserting
// LINES
Line(1) = {1,11};
Line(2) = {1,2};
Line(3) = {2,9};
Line(4) = {11,9};
Line(5) = {9,10};
Line(6) = {11,12};
Line(7) = {12,10};
Line(8) = {12,3};
Line(9) = {10,7};
Line(10) = {7,2};
Line(11) = {3,1};
Line(12) = {3,7};
//LOOPS
Curve Loop(1) = {2,3,-4,-1};
Curve Loop(2) = {3,5,9,10};
Curve Loop(3) = {1,6,8,11};
Curve Loop(4) = {12,-9,-7,8};
Curve Loop(5) = {6,7,-5,-4};
Curve Loop(6) = {-11,12,10,-2};
// SURFACES
Plane Surface(1) = {1};
Plane Surface(2) = {2};
Plane Surface(3) = {3};
Plane Surface(4) = {4};
Plane Surface(5) = {5};
Plane Surface(6) = {6};
Physical Surface('Internal Surface') = {5};
Physical Surface('Left') = {3};
// SURFACE LOOP
Surface Loop(1) = {1,2,5,6,3,4};
Volume(1) = {1};
Physical Volume('Volume') = {1};
Extrude {0,0.5,0} { Surface{5}; }
Line(7) = {12,10};
Line(8) = {12,3};
Line(9) = {10,7};
Line(10) = {7,2};
Line(11) = {3,1};
Line(12) = {3,7};
//LOOPS
Curve Loop(1) = {2,3,-4,-1};
Curve Loop(2) = {3,5,9,10};
Curve Loop(3) = {1,6,8,11};
Curve Loop(4) = {12,-9,-7,8};
Curve Loop(5) = {6,7,-5,-4};
Curve Loop(6) = {-11,12,10,-2};
// SURFACES
Plane Surface(1) = {1};
Plane Surface(2) = {2};
Plane Surface(3) = {3};
Plane Surface(4) = {4};
Plane Surface(5) = {5};
Plane Surface(6) = {6};
Physical Surface('Internal Surface') = {5};
Physical Surface('Left') = {3};
// SURFACE LOOP
Surface Loop(1) = {1,2,5,6,3,4};
Volume(1) = {1};
Physical Volume('Volume') = {1};
Extrude {0,0.5,0} { Surface{5}; }
Thanks again for your help