This is a model of a stiffened plate girder. The APDL code is provided below for its geometry generation. It is not getting meshed after gluing all the volumes. If the volume is subdivided in the intersection locations of the different volumes, then it can be meshed I think after gluing. But dividing them into small volumes in the intersection locations is a tedious process. How to do this in a simplified way?
/PREP7
ET,1,SOLID185
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,EX,1,,2e7
MPDATA,PRXY,1,,0.33
MPTEMP,,,,,,,,
MPTEMP,1,0
MPDATA,DENS,1,,7850
K,1,0,0,0,
K,2,318,0,0
K,3,318,14,0
K,4,0,14,0
K,5,154,14,0
K,6,164,14,0
K,7,164,914,0
K,8,154,914,0
K,9,0,914,0
K,10,318,914,0
K,11,318,928,0
K,12,0,928,0
LSTR, 1, 2
LSTR,2,3
LSTR,3,4
LSTR,4,1
LSTR,5,6
LSTR,6,7
LSTR,7,8
LSTR,8,5
LSTR,9,10
LSTR,10,11
LSTR,11,12
LSTR,12,9
A,1,2,3,4
A,5,6,7,8
A,9,10,11,12
VOFFST,1,-10000, ,
VOFFST,2,-10000, ,
VOFFST,3,-10000, ,
! stifners key point right side
*DO,T,0,10,1
K,,164,14,-1*(0+T*1000)
K,,264,14,-1*(0+T*1000)
K,,264,914,-1*(0+T*1000)
K,,164,914,-1*(0+T*1000)
*ENDDO
! stifners area formation
*DO,X,25,68,4
A,X,X+1,X+2,X+3
*ENDDO
*DO,H,19,28,1
VOFFST,H,-25,,
*ENDDO
VOFFST,29,25,,
!keypoint 112
!area 84
k,,164,614,-25
k,,264,614,-25
k,,264,614,-1000
k,,164,614,-1000
k,,164,314,-25
k,,264,314,-25
k,,264,314,-1000
k,,164,314,-1000
k,,164,464,-1025
k,,264,464,-1025
k,,264,464,-2000
k,,164,464,-2000
k,,164,314,-2025
k,,264,314,-2025
k,,264,314,-3000
k,,164,314,-3000
!from end
k,,164,314,-7025
k,,264,314,-7025
k,,264,314,-8000
k,,164,314,-8000
k,,164,464,-8025
k,,264,464,-8025
k,,264,464,-9000
k,,164,464,-9000
k,,164,614,-9025
k,,264,614,-9025
k,,264,614,-9975
k,,164,614,-9975
k,,164,314,-9025
k,,264,314,-9025
k,,264,314,-9975
k,,164,314,-9975
*DO,sl,113,144,4
A,sl,sl+1,sl+2,sl+3
*ENDDO
*DO,vg,85,92,1
VOFFST,vg,25,,
*ENDDO
!keypoint 176
!area 132
k,177,164,889,-3025
k,178,264,889,-3025
k,179,264,39,-4000
k,180,164,39,-4000
a,177,178,42,41
a,177,178,83,84
a,177,84,180,41
a,178,83,179,42
a,84,83,179,180
a,41,42,179,180
k,181,164,39,-4025
k,182,264,39,-4025
k,183,264,889,-5000
k,184,164,889,-5000
a,181,182,47,48
a,181,182,86,85
a,181,85,184,48
a,182,86,183,47
a,85,86,183,184
a,183,184,48,47
k,185,164,889,-5025
k,186,264,889,-5025
k,187,264,39,-6000
k,188,164,39,-6000
a,185,186,50,49
a,185,186,91,92
a,185,92,188,49
a,186,91,187,50
a,92,91,187,188
a,49,50,187,188
k,189,164,39,-6025
k,190,264,39,-6025
k,191,264,889,-7000
k,192,164,889,-7000
a,189,190,55,56
a,189,190,94,93
a,189,93,192,56
a,190,94,191,55
a,191,192,56,55
a,93,94,191,192
*DO,sa,133,156,6
FLST,2,6,5,ORDE,2
FITEM,2,sa
FITEM,2,-sa-5
VA,P51X
*ENDDO
VSYMM,x,4,26,1,0
VGEN,1,27,49,1,318,,,,,1
vglue,all