v0.15.0
Loading...
Searching...
No Matches
mat_elastic_transiso.jou
Go to the documentation of this file.
1#!python
2cubit.cmd('brick x 1 y 1 z 1')
3cubit.cmd('volume 1 size 1')
4cubit.cmd('volume 1 scheme Tetmesh')
5cubit.cmd('mesh volume 1')
6cubit.cmd('set duplicate block elements off')
7cubit.cmd('block 1 volume 1 ')
8
9#!Define block attributes
10cubit.cmd('block 1 attribute count 5')
11cubit.cmd('block 1 attribute index 1 1000')
12cubit.cmd('block 1 attribute index 2 2000')
13cubit.cmd('block 1 attribute index 3 0.1')
14cubit.cmd('block 1 attribute index 4 0.2')
15cubit.cmd('block 1 attribute index 5 300')
16
17#!Add material name and description
18cubit.cmd('block 1 name "MAT_ELASTIC_TRANSISO_1" ')
19cubit.cmd('block 1 description 'Transverse Isotropic material properties' ')