v0.16.0
Loading...
Searching...
No Matches
heat_flux_bc_3d.jou
Go to the documentation of this file.
1reset
2set duplicate block elements on
3
4brick x 1 y 1 z 0.25
5move vol 1 x 0.5 y 0.5 z 0.125
6
7block 10 volume 1
8block 10 name "MAT_ELASTIC_STEEL" attribute count 2
9block 10 attribute index 1 200e3
10block 10 attribute index 2 0.3
11
12block 1 volume 1
13block 1 name "MAT_THERMAL_STEEL"
14block 1 attribute count 2
15block 1 attribute index 1 500 # heat conductivity
16block 1 attribute index 2 3000 # heat capacity
17
18block 11 volume 1
19block 11 name "MAT_THERMOELASTIC_STEEL"
20block 11 attribute count 4
21block 11 attribute index 1 293 # reference temperature
22block 11 attribute index 2 1e-5 # thermal expansion 11
23block 11 attribute index 3 1e-5 # thermal expansion 22
24block 11 attribute index 4 0 # thermal expansion 33
25
26block 2 surface 4
27block 2 name "HEATFLUX_1"
28block 2 attribute count 1
29block 2 attribute index 1 150000 # heat flux
30
31create heatflux on surface 6 value -150000
32
33block 100 surface 1 2
34block 100 name "FIX_Z"
35block 100 attribute count 1
36block 100 attribute index 1 0
37
38block 101 surface 3
39block 101 name "FIX_Y"
40block 101 attribute count 1
41block 101 attribute index 1 0
42
43block 102 surface 4
44block 102 name "FIX_X"
45block 102 attribute count 1
46block 102 attribute index 1 0
47
48volume all scheme map
49volume all size 0.25
50mesh volume all
51htet volume all
52
53save as "$MOFEM_INSTALL_DIR/mofem-cephas/mofem/tutorials/adv-2/mesh_files/heat_flux_bc_3d.cub" overwrite
54
55
56