SetFactory("OpenCASCADE"); 
a() = ShapeFromFile("partition_1.brep");
SyncModel;

s[] = Surface "*";

v[]=Volume "*";

l[]=Line "*";

p[]=Point "*";


i[]=s[];
i[]-=i[0];
i[]-=i[0];
i[]-=i[0];
i[]-=i[0];
i[]-=i[0];
i[]-=i[0];
//Characteristic Length{s[0]} = 0.2;
//Characteristic Length{s[1]} = 0.2;
//Characteristic Length{s[2]} = 0.2;
//Characteristic Length{s[3]} = 0.2;
//Characteristic Length{s[4]} = 0.2;
//Characteristic Length{s[5]} = 0.2;

//Characteristic Length{l[]} = 0.1;
//Characteristic Length{i[]} = 0.1;

Physical Surface("left")=s[0];
Physical Surface("left1")=s[1];
Physical Surface("left2")=s[2];
Physical Surface("left3")=s[3];
Physical Surface("left4")=s[4];
Physical Surface("left5")=s[5];

Physical Surface("internal")=i[];
Physical Volume("vol")=v[];