Entropy generation and heat transfer analysis of magnetic nanofluid flow inside a square cavity filled with carbon nanotubes