A numerical study of the upwelling circulation off central Chile