Computing numerically the access resistance of a pore