Beispiel #1
0
 def test_create_block(self):
     v = _system.cubitWrapper.brick(1, 1, 1)
     v.volumes()[0].mesh()
     try:
         _block.createBlock(v, 33)
     except _system.AdvCubitException as e:
         self.assertTrue(False, str(e))
Beispiel #2
0
 def test_element_type(self):
     v = _system.cubitWrapper.brick(1, 1, 1)
     v.volumes()[0].mesh()
     _block.createBlock(v, 33)
     try:
         _block.setElementType(33, _block.VolumeElementTypes.HEX8)
     except _system.AdvCubitException as e:
         self.assertTrue(False, str(e))