These are two volumetric mesh generator libraries. See details on their websites: Cleaver2, TetGen. I would recommend Cleaver2, as it is more robust, has better support for multi-material meshes, and has free, non-restrictive license.