Within this research, the discrete element approach was used to optimize the bucket size with the metering machine in a very garlic planter for improving the efficiency of garlic farming according to the garlic dimensions. Statistical data concerning the precise form of garlic cloves was included, and the mechanical properties of garlic had been de