4 cubit.cmd('brick x 1 y 1 z 1')
5 cubit.cmd('set duplicate block elements off')
6 cubit.cmd('block 1 volume 1 ')
7 cubit.cmd('block 1 attribute count 2')
10 cubit.cmd('block 1 name "MAT_ELASTIC1"')
11 cubit.cmd('block 1 attribute index 1 4.')
13 cubit.cmd('block 1 attribute index 2 0.0')
16 cubit.cmd('create Displacement on vertex 7 dof 1 dof 2 dof 3 fix 0')
17 cubit.cmd('create Displacement on vertex 4 dof 1 dof 2 fix 0')
18 cubit.cmd('create Displacement on vertex 8 dof 1 fix 0')
21 cubit.cmd('create pressure on surface 6 magnitude -4')
22 cubit.cmd('create pressure on surface 4 magnitude -4')
25 cubit.cmd('volume 1 size 1')
26 cubit.cmd('volume 1 scheme Tetmesh')
27 cubit.cmd('mesh volume 1')
30 cubit.cmd('save as "/Users/likask/MyBuild/mofem-bitbucket/mofem/meshes/elasticity_atom_test_01X_pressure.cub" overwrite')