5 brick x 0.05 y 0.05 z 0.2
6 move Volume 2 location -0.4 -0.4 0.125 include_merged
7 Volume 2 copy move x 0.1 y 0 z 0 repeat 8
8 Volume 10 9 8 7 6 5 4 3 2 copy move x 0 y 0.1 z 0 repeat 8
11 #apply temeperature on surface
12 create temperature on surface 2 value 0
13 #create temperature on surface 6 value 1
15 create Displacement on surface 2 dof 1 dof 2 dof 3 fix 0
17 #create heatflux on surface all value -1
18 #modify heatflux 1 add surface 817
20 set duplicate block elements on
22 block 1 name 'MAT_ELASTIC_1'
23 block 1 attribute count 4
24 block 1 attribute index 1 1
25 block 1 attribute index 2 0
26 block 1 attribute index 3 1
27 block 1 attribute index 4 -10
30 block 2 name 'MAT_THERMAL_1'
31 block 2 attribute count 2
33 block 2 attribute index 1 1
35 block 2 attribute index 2 1
38 block 3 name 'HEAT_FLUX'
39 block 3 attribute count 1
40 block 3 attribute index 1 1
43 volume all scheme Tetmesh
44 volume all size auto factor 5
47 save as "/Users/likask/MyBuild/mofem-bitbucket/mofem/meshes/heat_exchange.cub" overwrite