v0.14.0
mat_elastic_transiso.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 5')
11 cubit.cmd('block 1 attribute index 1 1000')
12 cubit.cmd('block 1 attribute index 2 2000')
13 cubit.cmd('block 1 attribute index 3 0.1')
14 cubit.cmd('block 1 attribute index 4 0.2')
15 cubit.cmd('block 1 attribute index 5 300')
16 
17 #!Add material name and description
18 cubit.cmd('block 1 name "MAT_ELASTIC_TRANSISO_1" ')
19 cubit.cmd('block 1 description 'Transverse Isotropic material properties' ')