Inverse analysis of a rectangular fin using the lattice Boltzmann method