Dear community,
In the example cylinder2D, set material 5 for circle. But it seems that the material number for the inner area of the circle is 0 and the boundary of the circle is 5. Can anyone tell how to make the mateial number of the inner area 5 also?
Vector<T,2> extend( lengthX,lengthY );
Vector<T,2> origin;
superGeometry.rename( 0,2 );
superGeometry.rename( 2,1,{1,1} );
// Set material number for inflow
extend[0] = 2.*L;
origin[0] = -L;
IndicatorCuboid2D<T> inflow( extend, origin );
superGeometry.rename( 2,3,1,inflow );
// Set material number for outflow
origin[0] = lengthX-L;
IndicatorCuboid2D<T> outflow( extend, origin );
superGeometry.rename( 2,4,1,outflow );
// Set material number for cylinder
superGeometry.rename( 1,5, circle );
Thanks for your help.
Best regards,
Qiong