mixed mesh-solid and beam together

hi

can i use this type of mesh for solid and beam?model attached.

SolidworksSimulation