v0.14.0
mat_elastic.jou
Go to the documentation of this file.
1 #!python
2 cubit.cmd('brick x 1 y 1 z 1')
3 cubit.cmd('volume 1 size 1')
4 cubit.cmd('volume 1 scheme Tetmesh')
5 cubit.cmd('mesh volume 1')
6 cubit.cmd('set duplicate block elements off')
7 cubit.cmd('block 1 volume 1 ')
8 
9 #!Define block attributes
10 cubit.cmd('block 1 attribute count 10')
11 cubit.cmd('block 1 attribute index 1 1000')
12 cubit.cmd('block 1 attribute index 2 0.2')
13 cubit.cmd('block 1 attribute index 3 1')
14 cubit.cmd('block 1 attribute index 4 1')
15 cubit.cmd('block 1 attribute index 5 1')
16 cubit.cmd('block 1 attribute index 6 1')
17 cubit.cmd('block 1 attribute index 7 1')
18 cubit.cmd('block 1 attribute index 8 1')
19 cubit.cmd('block 1 attribute index 9 1')
20 cubit.cmd('block 1 attribute index 10 1')
21 
22 #!Add material name and description
23 cubit.cmd('block 1 name "MAT_ELASTIC_1" ')
24 cubit.cmd('block 1 description 'Elastic material properties' ')