Numerical simulation of the double slit interference with ultracold atoms