1. Numerical method for calculating heat, mass, chemical and electric fluxes through porous medium comprising: obtaining three-dimensional images of porous solid samples of said porous medium; digital processing and morphological analysis of said 3D images; obtaining digital 3D models of the samples and performing a set of morphological and geometrical statistical property analysis; modeling, separately or in combination, heat, mass, chemical and electric fluxes for said 3D models under given boundary conditions.