v0.16.0
Loading...
Searching...
No Matches
temp_bc_2d.jou
Go to the documentation of this file.
1reset
2set duplicate block elements on
3
4create surface rectangle width 1 height 1 zplane
5move vol 1 x 0.5 y 0.5 z 0
6
7block 10 surface 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 surface 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 surface 1
19block 11 name "MAT_THERMOELASTIC_STEEL"
20block 11 attribute count 2
21block 11 attribute index 1 293 # reference temperature
22block 11 attribute index 2 1e-5 # thermal expansion
23
24block 2 curve 2
25block 2 name "TEMPERATURE_1"
26block 2 attribute count 1
27block 2 attribute index 1 100 # temperature
28
29create temperature on curve 4 value 400
30
31block 101 curve 3
32block 101 name "FIX_Y"
33block 101 attribute count 1
34block 101 attribute index 1 0
35
36block 102 curve 2
37block 102 name "FIX_X"
38block 102 attribute count 1
39block 102 attribute index 1 0
40
41surface all scheme map
42surface all size 0.25
43mesh surface all
44qtri surface all
45
46save as "$MOFEM_INSTALL_DIR/mofem-cephas/mofem/tutorials/adv-2/mesh_files/temp_bc_2d.cub" overwrite
47
48
49