Maybe your problem is associated with your mosfet not saturating fully. For example consider your mosfet is turning on partially, i.e. it has a Rds of 0.1 ohms at a current of 20A, then if you use Ohm´s Law you will see that it is dissipating P=I*I*R or P=20*20*0.1=40W, only in the mosfet, in this case you MUST use heatsinking and even I suggest you to employ a MOSFET with a lower Rds(on) and a driver to properly saturate your mosfet. I hope this can help you. Also if you can take a look at International Rectifier's website, they have a lot of applications notes on this topics. Yosmany325.