Tight-binding simulation of current-carrying nanostructures