This is my Cubit model and I am struggling with partitioning it on MoFem.
reset
#Core
brick x 10 y 14.75 z 1
brick x 8 y 14.75 z 1
rotate Volume 2 angle 90 about Y include_merged
move Volume 2 x 4.5 z 4.5 include_merged
brick x 8 y 14.75 z 1
rotate Volume 3 angle 90 about Y include_merged
move Volume 3 x -4.5 z 4.5 include_merged
brick x 10 y 14.75 z 1
move Volume 4 z 9 include_merged
#Central Roof Beams
brick x 10 y 1 z 1
move Volume 5 x 10 y 6.75 include_merged
brick x 10 y 1 z 1
move Volume 6 x 10 y 6.75 z 9 include_merged
brick x 10 y 1 z 1
move Volume 7 x -10 y 6.75 include_merged
brick x 10 y 1 z 1
move Volume 8 x -10 y 6.75 z 9 include_merged
brick x 10 y 1 z 1
rotate Volume 9 angle 90 about Y include_merged
move volume 9 x 4.5 y 6.75 z -5.5
brick x 10 y 1 z 1
rotate Volume 10 angle 90 about Y include_merged
move volume 10 x -4.5 y 6.75 z -5.5
brick x 10 y 1 z 1
rotate Volume 11 angle 90 about Y include_merged
move volume 11 x 4.5 y 6.75 z 14.5
brick x 10 y 1 z 1
rotate Volume 12 angle 90 about Y include_merged
move volume 12 x -4.5 y 6.75 z 14.5
#Roof Slabs
brick x 10 y 0.25 z 10
move Volume 13 y 7.5 z -0.5 include_merged
brick x 10 y 0.25 z 10
move Volume 14 y 7.5 z 9.5 include_merged
brick x 10 y 0.25 z 10
move Volume 15 x 10 y 7.5 z -0.5include_merged
brick x 10 y 0.25 z 10
move Volume 16 x 10 y 7.5 z 9.5 include_merged
brick x 10 y 0.25 z 10
move Volume 17 x -10 y 7.5 z 9.5 include_merged
brick x 10 y 0.25 z 10
move Volume 18 x -10 y 7.5 z -0.5 include_merged
brick x 10 y 0.25 z 5
move Volume 19 y 7.5 z -8 include_merged
brick x 10 y 0.25 z 5
move Volume 20 x 10 y 7.5 z -8 include_merged
brick x 10 y 0.25 z 5
move Volume 21 x -10 y 7.5 z -8 include_merged
brick x 10 y 0.25 z 5
move Volume 22 y 7.5 z 17 include_merged
brick x 10 y 0.25 z 5
move Volume 23 x 10 y 7.5 z 17 include_merged
brick x 10 y 0.25 z 5
move Volume 24 x -10 y 7.5 z 17 include_merged
#Outer Roof Beams
brick x 9 y 1 z 1
move Volume 25 x 9.5 y 6.75 z 19 include_merged
brick x 8 y 1 z 1
move Volume 26 y 6.75 z 19 include_merged
brick x 9 y 1 z 1
move Volume 27 x -9.5 y 6.75 z 19 include_merged
brick x 10 y 1 z 1
rotate Volume 28 angle 90 about Y include_merged
move volume 28 x -14.5 y 6.75 z 14.5
brick x 10 y 1 z 1
rotate Volume 29 angle 90 about Y include_merged
move volume 29 x 14.5 y 6.75 z 14.5
brick x 8 y 1 z 1
rotate Volume 30 angle 90 about Y include_merged
move volume 30 x 14.5 y 6.75 z 4.5
brick x 10 y 1 z 1
rotate Volume 31 angle 90 about Y include_merged
move volume 31 x 14.5 y 6.75 z -5.5
brick x 8 y 1 z 1
rotate Volume 32 angle 90 about Y include_merged
move volume 32 x -14.5 y 6.75 z 4.5
brick x 10 y 1 z 1
rotate Volume 33 angle 90 about Y include_merged
move volume 33 x -14.5 y 6.75 z -5.5
brick x 9 y 1 z 1
move Volume 34 x -9.5 y 6.75 z -10 include_merged
brick x 9 y 1 z 1
move Volume 35 x 9.5 y 6.75 z -10 include_merged
brick x 8 y 1 z 1
move Volume 36 y 6.75 z -10 include_merged
#Roof Columns
brick x 1 y 4.25 z 1
move Volume 37 x 14.5 y 4.125 include_merged
brick x 1 y 4.25 z 1
move Volume 38 x 14.5 y 4.125 z 9 include_merged
brick x 1 y 3.25 z 1
move Volume 39 x 14.5 y 4.625 z 19 include_merged
brick x 1 y 3.25 z 1
move Volume 40 x 14.5 y 4.625 z -10 include_merged
brick x 1 y 4.25 z 1
move Volume 41 x 4.5 y 4.125 z 19 include_merged
brick x 1 y 4.25 z 1
move Volume 42 x -4.5 y 4.125 z 19 include_merged
brick x 1 y 3.25 z 1
move Volume 43 x -14.5 y 4.625 z 19 include_merged
brick x 1 y 4.25 z 1
move Volume 44 x -14.5 y 4.125 z 9 include_merged
brick x 1 y 4.25 z 1
move Volume 45 x -14.5 y 4.125 z 0 include_merged
brick x 1 y 3.25 z 1
move Volume 46 x -14.5 y 4.625 z -10 include_merged
brick x 1 y 4.25 z 1
move Volume 47 x -4.5 y 4.125 z -10 include_merged
brick x 1 y 4.25 z 1
move Volume 48 x 4.5 y 4.125 z -10 include_merged
#2nd Floor Beams
brick x 9 y 1 z 1
move Volume 49 x 9.5 y 2.5 include_merged
brick x 9 y 1 z 1
move Volume 50 x 9.5 y 2.5 z 9 include_merged
brick x 9 y 1 z 1
move Volume 51 x -9.5 y 2.5 include_merged
brick x 9 y 1 z 1
move Volume 52 x -9.5 y 2.5 z 9 include_merged
brick x 9 y 1 z 1
rotate Volume 53 angle 90 about Y include_merged
move volume 53 x 4.5 y 2.5 z -5
brick x 9 y 1 z 1
rotate Volume 54 angle 90 about Y include_merged
move volume 54 x -4.5 y 2.5 z -5
brick x 9 y 1 z 1
rotate Volume 55 angle 90 about Y include_merged
move volume 55 x 4.5 y 2.5 z 14
brick x 9 y 1 z 1
rotate Volume 56 angle 90 about Y include_merged
move volume 56 x -4.5 y 2.5 z 14
brick x 9 y 1 z 1
move Volume 57 x 9.5 y 2.5 z 19 include_merged
brick x 8 y 1 z 1
move Volume 58 y 2.5 z 19 include_merged
brick x 9 y 1 z 1
move Volume 59 x -9.5 y 2.5 z 19 include_merged
brick x 10 y 1 z 1
rotate Volume 60 angle 90 about Y include_merged
move volume 60 x -14.5 y 2.5 z 14.5
brick x 10 y 1 z 1
rotate Volume 61 angle 90 about Y include_merged
move volume 61 x 14.5 y 2.5 z 14.5
brick x 8 y 1 z 1
rotate Volume 62 angle 90 about Y include_merged
move volume 62 x 14.5 y 2.5 z 4.5
brick x 10 y 1 z 1
rotate Volume 63 angle 90 about Y include_merged
move volume 63 x 14.5 y 2.5 z -5.5
brick x 8 y 1 z 1
rotate Volume 64 angle 90 about Y include_merged
move volume 64 x -14.5 y 2.5 z 4.5
brick x 10 y 1 z 1
rotate Volume 65 angle 90 about Y include_merged
move volume 65 x -14.5 y 2.5 z -5.5
brick x 9 y 1 z 1
move Volume 66 x -9.5 y 2.5 z -10 include_merged
brick x 9 y 1 z 1
move Volume 67 x 9.5 y 2.5 z -10 include_merged
brick x 8 y 1 z 1
move Volume 68 y 2.5 z -10 include_merged
#2nd Floor Slabs
brick x 10 y 0.25 z 5
move Volume 69 y 3.25 z -3 include_merged
brick x 10 y 0.25 z 5
move Volume 70 y 3.25 z 12 include_merged
brick x 10 y 0.25 z 10
move Volume 71 x 10 y 3.25 z -0.5 include_merged
brick x 10 y 0.25 z 10
move Volume 72 x 10 y 3.25 z 9.5 include_merged
brick x 10 y 0.25 z 10
move Volume 73 x -10 y 3.25 z 9.5 include_merged
brick x 10 y 0.25 z 10
move Volume 74 x -10 y 3.25 z -0.5 include_merged
brick x 10 y 0.25 z 5
move Volume 75 y 3.25 z -8 include_merged
brick x 10 y 0.25 z 5
move Volume 76 x 10 y 3.25 z -8 include_merged
brick x 10 y 0.25 z 5
move Volume 77 x -10 y 3.25 z -8 include_merged
brick x 10 y 0.25 z 5
move Volume 78 y 3.25 z 17 include_merged
brick x 10 y 0.25 z 5
move Volume 79 x 10 y 3.25 z 17 include_merged
brick x 10 y 0.25 z 5
move Volume 80 x -10 y 3.25 z 17 include_merged
#removing overlaps
subtract body 42 from body 78 keep_tool
subtract body 41 from body 78 keep_tool
subtract body 39 from body 79 keep_tool
subtract body 43 from body 80 keep_tool
subtract body 44 from body 73 keep_tool
subtract body 45 from body 74 keep_tool
subtract body 46 from body 77 keep_tool
subtract body 47 from body 75 keep_tool
subtract body 48 from body 75 keep_tool
subtract body 40 from body 76 keep_tool
subtract body 37 from body 71 keep_tool
subtract body 38 from body 72 keep_tool
#2nd Floor Columns
brick x 1 y 4.25 z 1
move Volume 81 x 14.5 y -0.125 include_merged
brick x 1 y 4.25 z 1
move Volume 82 x 14.5 y -0.125 z 9 include_merged
brick x 1 y 3.25 z 1
move Volume 83 x 14.5 y 0.375 z 19 include_merged
brick x 1 y 3.25 z 1
move Volume 84 x 14.5 y 0.375 z -10 include_merged
brick x 1 y 4.25 z 1
move Volume 85 x 4.5 y -0.125 z 19 include_merged
brick x 1 y 4.25 z 1
move Volume 86 x -4.5 y -0.125 z 19 include_merged
brick x 1 y 3.25 z 1
move Volume 87 x -14.5 y 0.375 z 19 include_merged
brick x 1 y 4.25 z 1
move Volume 88 x -14.5 y -0.125 z 9 include_merged
brick x 1 y 4.25 z 1
move Volume 89 x -14.5 y -0.125 z 0 include_merged
brick x 1 y 3.25 z 1
move Volume 90 x -14.5 y 0.375 z -10 include_merged
brick x 1 y 4.25 z 1
move Volume 91 x -4.5 y -0.125 z -10 include_merged
brick x 1 y 4.25 z 1
move Volume 92 x 4.5 y -0.125 z -10 include_merged
#1st Floor Beams
brick x 9 y 1 z 1
move Volume 93 x 9.5 y -1.75 include_merged
brick x 9 y 1 z 1
move Volume 94 x 9.5 y -1.75 z 9 include_merged
brick x 9 y 1 z 1
move Volume 95 x -9.5 y -1.75 include_merged
brick x 9 y 1 z 1
move Volume 96 x -9.5 y -1.75 z 9 include_merged
brick x 9 y 1 z 1
rotate Volume 97 angle 90 about Y include_merged
move volume 97 x 4.5 y -1.75 z -5
brick x 9 y 1 z 1
rotate Volume 98 angle 90 about Y include_merged
move volume 98 x -4.5 y -1.75 z -5
brick x 9 y 1 z 1
rotate Volume 99 angle 90 about Y include_merged
move volume 99 x 4.5 y -1.75 z 14
brick x 9 y 1 z 1
rotate Volume 100 angle 90 about Y include_merged
move volume 100 x -4.5 y -1.75 z 14
brick x 9 y 1 z 1
move Volume 101 x 9.5 y -1.75 z 19 include_merged
brick x 8 y 1 z 1
move Volume 102 y -1.75 z 19 include_merged
brick x 9 y 1 z 1
move Volume 103 x -9.5 y -1.75 z 19 include_merged
brick x 10 y 1 z 1
rotate Volume 104 angle 90 about Y include_merged
move volume 104 x -14.5 y -1.75 z 14.5
brick x 10 y 1 z 1
rotate Volume 105 angle 90 about Y include_merged
move volume 105 x 14.5 y -1.75 z 14.5
brick x 8 y 1 z 1
rotate Volume 106 angle 90 about Y include_merged
move volume 106 x 14.5 y -1.75 z 4.5
brick x 10 y 1 z 1
rotate Volume 107 angle 90 about Y include_merged
move volume 107 x 14.5 y -1.75 z -5.5
brick x 8 y 1 z 1
rotate Volume 108 angle 90 about Y include_merged
move volume 108 x -14.5 y -1.75 z 4.5
brick x 10 y 1 z 1
rotate Volume 109 angle 90 about Y include_merged
move volume 109 x -14.5 y -1.75 z -5.5
brick x 9 y 1 z 1
move Volume 110 x -9.5 y -1.75 z -10 include_merged
brick x 9 y 1 z 1
move Volume 111 x 9.5 y -1.75 z -10 include_merged
brick x 8 y 1 z 1
move Volume 112 y -1.75 z -10 include_merged
#1st Floor Slabs
brick x 10 y 0.25 z 5
move Volume 113 y -1.125 z -3 include_merged
brick x 10 y 0.25 z 5
move Volume 114 y -1.125 z 12 include_merged
brick x 10 y 0.25 z 10
move Volume 115 x 10 y -1.125 z -0.5 include_merged
brick x 10 y 0.25 z 10
move Volume 116 x 10 y -1.125 z 9.5 include_merged
brick x 10 y 0.25 z 10
move Volume 117 x -10 y -1.125 z 9.5 include_merged
brick x 10 y 0.25 z 10
move Volume 118 x -10 y -1.125 z -0.5 include_merged
brick x 10 y 0.25 z 5
move Volume 119 y -1.125 z -8 include_merged
brick x 10 y 0.25 z 5
move Volume 120 x 10 y -1.125 z -8 include_merged
brick x 10 y 0.25 z 5
move Volume 121 x -10 y -1.125 z -8 include_merged
brick x 10 y 0.25 z 5
move Volume 122 y -1.125 z 17 include_merged
brick x 10 y 0.25 z 5
move Volume 123 x 10 y -1.125 z 17 include_merged
brick x 10 y 0.25 z 5
move Volume 124 x -10 y -1.125 z 17 include_merged
#Removing Overlaps
subtract body 86 from body 122 keep_tool
subtract body 85 from body 122 keep_tool
subtract body 87 from body 124 keep_tool
subtract body 83 from body 123 keep_tool
subtract body 88 from body 117 keep_tool
subtract body 89 from body 118 keep_tool
subtract body 90 from body 121 keep_tool
subtract body 91 from body 119 keep_tool
subtract body 92 from body 119 keep_tool
subtract body 84 from body 120 keep_tool
subtract body 81 from body 115 keep_tool
subtract body 82 from body 116 keep_tool
#1st Floor Columns
brick x 1 y 4.25 z 1
move Volume 125 x 14.5 y -4.375 include_merged
brick x 1 y 4.25 z 1
move Volume 126 x 14.5 y -4.375 z 9 include_merged
brick x 1 y 4.25 z 1
move Volume 127 x 14.5 y -4.375 z 19 include_merged
brick x 1 y 4.25 z 1
move Volume 128 x 14.5 y -4.375 z -10 include_merged
brick x 1 y 4.25 z 1
move Volume 129 x 4.5 y -4.375 z 19 include_merged
brick x 1 y 4.25 z 1
move Volume 130 x -4.5 y -4.375 z 19 include_merged
brick x 1 y 4.25 z 1
move Volume 131 x -14.5 y -4.375 z 19 include_merged
brick x 1 y 4.25 z 1
move Volume 132 x -14.5 y -4.375 z 9 include_merged
brick x 1 y 4.25 z 1
move Volume 133 x -14.5 y -4.375 z 0 include_merged
brick x 1 y 4.25 z 1
move Volume 134 x -14.5 y -4.375 z -10 include_merged
brick x 1 y 4.25 z 1
move Volume 135 x -4.5 y -4.375 z -10 include_merged
brick x 1 y 4.25 z 1
move Volume 136 x 4.5 y -4.375 z -10 include_merged
imprint volume all
merge volume all
set overlap maximum gap 0.0005
#Boundary Conditions
create displacement on surface 935 dof 1 dof 2 dof 3 fix 0
create displacement on surface 929 dof 1 dof 2 dof 3 fix 0
create displacement on surface 923 dof 1 dof 2 dof 3 fix 0
create displacement on surface 911 dof 1 dof 2 dof 3 fix 0
create displacement on surface 941 dof 1 dof 2 dof 3 fix 0
create displacement on surface 21 dof 1 dof 2 dof 3 fix 0
create displacement on surface 905 dof 1 dof 2 dof 3 fix 0
create displacement on surface 15 dof 1 dof 2 dof 3 fix 0
create displacement on surface 9 dof 1 dof 2 dof 3 fix 0
create displacement on surface 3 dof 1 dof 2 dof 3 fix 0
create displacement on surface 947 dof 1 dof 2 dof 3 fix 0
create displacement on surface 899 dof 1 dof 2 dof 3 fix 0
create displacement on surface 953 dof 1 dof 2 dof 3 fix 0
create displacement on surface 959 dof 1 dof 2 dof 3 fix 0
create displacement on surface 965 dof 1 dof 2 dof 3 fix 0
create displacement on surface 917 dof 1 dof 2 dof 3 fix 0
block 1 volume all
block 1 name 'MAT_ELASTIC'
block 1 attribute count 2
block 1 attribute index 1 50e6 #young modulus
block 1 attribute index 2 0.1 #poisson ratio
undo group begin
set duplicate block elements on
block 2 volume all
block 2 name "BODY_FORCES"
block 2 attribute count 4
block 2 attribute index 1 2500 #material density
block 2 attribute index 2 0. #constant acceleration in x-direction
block 2 attribute index 3 0. #constant acceleration in y-direction
block 2 attribute index 4 10 . #constant acceleration in z-direction
set acisoption integer 'check_level' 70
set overlap maximum gap 0.0005
imprint volume all
merge volume all
set overlap maximum gap 0.0005
undo group begin
volume all scheme tetmesh
mesh volume all
undo group end