In the problem posed by Barenblatt and exposed in the first part of this work, the propagation of a mass of fluid from an injection is studied. The difference that exists in the solution to the problem is shown when the residual fluid retention in the soil is ignored, in which case it corresponds to the traditional solution of the diffusion equation. However, the problem must be considered considering residual retention, which gives rise to a problem of discontinuous hydraulic conductivity and a new law of similarity that includes in its functional form an anomalous exponent. From the flow equations and boundary conditions a self-value problem is generated which in this work is solved in numerical form using a combined algorithm of Runge-Kutta and modified Euler, which allows finding the exponent as a function of the values Of hydraulic conductivity and obtain the complete solution of the problem. It is possible to observe the evolution of the volume of fluid, the time and the propagation distance of some fluids, considering or not residual retention in the soil.