Model for hot compaction of metal powders