1algebraic3d
2
3solid p1 = plane (0.5, 0, 0; 1, 0, 0);
4
5# since surfaces of both bricks are identic they get the same bc id:
6solid brick1 = orthobrick (0,0,0; 1,1,1) and p1 -bc=1;
7solid brick2 = orthobrick (0,0,-1; 1,1,0) and p1 -bc=2;
8
9
10tlo brick1;
11tlo brick2;
12
13# override bc number:
14# all faces of solid p1 belonging to the boundary of tlo brick1 get bc=3
15
16boundarycondition p1 brick1 3;
17