Study of fluid flow and heat transfer for carbon mineralization in mine wastes