Hi to all , i have problems to understand how to define a particular region inside a 3D mesh, and in particular how it works the definition of “labelmid” ecc…
In detail, i have the following mesh:
//Builds a mesh on 3d cylinder with a “full holes”.
real cx1 = 0.0; // cerchio esterno
real cy1 = 0.0;
real r1 = 22.85;
real cx2 = 0.0; // canale centrale
real cy2 = 0.0;
real r2 = 1.905;
real cx3 = 7.058; // shim
real cy3 = 4.075;
real r3 = 1.88;
real cx4 = 0.0; // trans
real cy4 = -12.15;
real r4 = 1.88;
real cx5 = -14.142; // reg
real cy5 = 8.165;
real r5 = 1.88;
real zmin=0, zmax=35.6;
int[int] rup=[0,1], rdown=[0,2], rmid=[1,7];
border C1(t1=0,2pi){x=cx1+r1cos(t1);y=cy1+r1sin(t1);label=1;}; // cerchio esterno
border C2(t1=0,2pi){x=cx2+r2cos(t1);y=cy2+r2sin(t1);label=2;}; // canale centrale
border C3(t1=0,2pi){x=cx3+r3cos(t1);y=cy3+r3sin(t1);label=3;}; // shim
border C4(t1=0,2pi){x=cx4+r4cos(t1);y=cy4+r4sin(t1);label=4;}; // trans
border C5(t1=0,2pi){x=cx5+r5cos(t1);y=cy5+r5*sin(t1);label=5;}; // reg
int m=5;
mesh Thcercle = buildmesh(C1(40m)+C2(+10m)+C3(+10m)+C4(+10m)+C5(+10*m));
plot(Thcercle,wait =1);
mesh3 Th3=buildlayers(Thcercle,coef=2, 4*m, zbound=[zmin,zmax],
labelmid=rmid,
labelup = rup,
labeldown = rdown);
plot (Th3);
I want define the region of points included in the 4 “small” cylinder (separatly) and the surface of external cilinder (i suppose it is the “labelmid”), where I will apply a dirichlet condition in my problem.
Anyone can help me, or give me some tips? I read the FF documentation but is not so clear.
Thanks!
P.s. i upload also the original file if can help
triga mesh 3D.edp (1.4 KB)