Lattice Boltzmann Method for simulation of magnetic field effect on hydrothermal behavior of nanofluid in a cubic cavity