v0.14.0
heat_exchange.jou
Go to the documentation of this file.
1 reset
2 
3 brick x 1 y 1 z 0.1
4 
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
9 unite volume all
10 
11 #apply temeperature on surface
12 create temperature on surface 2 value 0
13 #create temperature on surface 6 value 1
14 
15 create Displacement on surface 2 dof 1 dof 2 dof 3 fix 0
16 
17 #create heatflux on surface all value -1
18 #modify heatflux 1 add surface 817
19 
20 set duplicate block elements on
21 block 1 volume 1
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
28 
29 block 2 volume 1
30 block 2 name 'MAT_THERMAL_1'
31 block 2 attribute count 2
32 #heat conductivity
33 block 2 attribute index 1 1
34 #heat capacity
35 block 2 attribute index 2 1
36 
37 block 3 surface all
38 block 3 name 'HEAT_FLUX'
39 block 3 attribute count 1
40 block 3 attribute index 1 1
41 
42 
43 volume all scheme Tetmesh
44 volume all size auto factor 5
45 mesh volume all
46 
47 save as "/Users/likask/MyBuild/mofem-bitbucket/mofem/meshes/heat_exchange.cub" overwrite
48 
49 
50 
51