divergent flow pbc