v0.14.0
Loading...
Searching...
No Matches
heat_exchange.jou
Go to the documentation of this file.
1reset
2
3brick x 1 y 1 z 0.1
4
5brick x 0.05 y 0.05 z 0.2
6move Volume 2 location -0.4 -0.4 0.125 include_merged
7Volume 2 copy move x 0.1 y 0 z 0 repeat 8
8Volume 10 9 8 7 6 5 4 3 2 copy move x 0 y 0.1 z 0 repeat 8
9unite volume all
10
11#apply temeperature on surface
12create temperature on surface 2 value 0
13#create temperature on surface 6 value 1
14
15create 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
20set duplicate block elements on
21block 1 volume 1
22block 1 name 'MAT_ELASTIC_1'
23block 1 attribute count 4
24block 1 attribute index 1 1
25block 1 attribute index 2 0
26block 1 attribute index 3 1
27block 1 attribute index 4 -10
28
29block 2 volume 1
30block 2 name 'MAT_THERMAL_1'
31block 2 attribute count 2
32#heat conductivity
33block 2 attribute index 1 1
34#heat capacity
35block 2 attribute index 2 1
36
37block 3 surface all
38block 3 name 'HEAT_FLUX'
39block 3 attribute count 1
40block 3 attribute index 1 1
41
42
43volume all scheme Tetmesh
44volume all size auto factor 5
45mesh volume all
46
47save as "/Users/likask/MyBuild/mofem-bitbucket/mofem/meshes/heat_exchange.cub" overwrite
48
49
50
51