changed passiveCavity to automatically compute the pole and generate v txt files from them