Pore-scale modeling extension of constitutive relationships in the range of residual saturations