thrash out
work out, thrash out
To flatten and shape (metal) by hammering.
A smith hammers out iron on an anvil.