For flow work, we need to have continuous flow over a control volume. After that, we can make the flow work calculations. But in displacement work calculations, we do not have any control volume to calculate the flow.