Numerical study of the adsorption of dyes from textile effluents