Analysis of air flow and heat transfer in a winding using porous medium approach