Investigating the forced convection of magnetic nanofluids