mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
FIX: provide restore0Dir function to fix issue #159
- makes it easier to ensure the correct behaviour, consistently
This commit is contained in:
@ -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`
|
||||
|
||||
Reference in New Issue
Block a user