FIX: provide restore0Dir function to fix issue #159

- makes it easier to ensure the correct behaviour, consistently
This commit is contained in:
Mark Olesen
2016-06-27 16:33:55 +02:00
parent dd3fb6225f
commit dd60cfcd06
76 changed files with 205 additions and 190 deletions

View File

@ -7,12 +7,12 @@ cd ${0%/*} || exit 1 # Run from this directory
# create mesh
runApplication blockMesh
cp -r 0.org 0
restore0Dir
# initialise with potentialFoam solution
runApplication potentialFoam
rm -f 0/phi
\rm -f 0/phi
# run the solver
runApplication `getApplication`