#!/bin/bash
cd ${0%/*} || exit 1
rm -rf processor* 0 post*
foamListTimes -rm
cp -ap 0.org 0
decomposePar
mpirun -np 16 potentialFoam -parallel
mpirun -np 16 simpleFoam -parallel
reconstructPar -latestTime
#!/bin/bash
cd ${0%/*} || exit 1
rm -rf processor* 0 post*
foamListTimes -rm
cp -ap 0.org 0
decomposePar
mpirun -np 16 potentialFoam -parallel
mpirun -np 16 simpleFoam -parallel
reconstructPar -latestTime