tutorials: Renamed .org -> .orig

See http://www.openfoam.org/mantisbt/view.php?id=2076
  - .org is the file extension for emacs org-mode as well
  - .orig is more to the point (.org isn't always recognized as "original")
  - .original is too long, although more consistent with the convention
    of source code file naming

Update script contributed by Bruno Santos
This commit is contained in:
Henry Weller
2016-04-30 21:53:50 +01:00
parent 81f31acbb3
commit 1b34231340
489 changed files with 86 additions and 86 deletions

View File

@ -13,7 +13,7 @@ cd ..
cd hopperEmptying
rm -rf 0
cp -r 0.org 0
cp -r 0.orig 0
runApplication blockMesh
runApplication mapFields ../hopperInitialState -sourceTime latestTime
runApplication decomposePar

View File

@ -1,7 +1,7 @@
#!/bin/sh
. $WM_PROJECT_DIR/bin/tools/RunFunctions
cp -rf 0.org 0
cp -rf 0.orig 0
runApplication blockMesh
#runApplication setSet -batch wallFilmRegion.setSet

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
cp -rf 0.org 0
cp -rf 0.orig 0
# create the underlying block mesh
runApplication blockMesh
@ -26,7 +26,7 @@ runApplication changeDictionary
# Copy the system settings over to the wall film region
rm -rf system/wallFilmRegion
cp -r system/wallFilmRegion.org system/wallFilmRegion
cp -r system/wallFilmRegion.orig system/wallFilmRegion
find ./0 -maxdepth 1 -type f -exec \
sed -i -e "s/wallFilm/\"(region0_to.*)\"/g" {} \;

View File

@ -1,7 +1,7 @@
#!/bin/sh
. $WM_PROJECT_DIR/bin/tools/RunFunctions
cp -rf 0.org 0
cp -rf 0.orig 0
runApplication blockMesh

View File

@ -1,7 +1,7 @@
#!/bin/sh
. $WM_PROJECT_DIR/bin/tools/RunFunctions
cp -rf 0.org 0
cp -rf 0.orig 0
runApplication blockMesh

View File

@ -12,7 +12,7 @@ rm -rf 0
# remove post-processing directory
rm -rf postProcessing
# copy 0.org to 0
cp -r 0.org 0
# copy 0.orig to 0
cp -r 0.orig 0
#------------------------------------------------------------------------------

View File

@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# create mesh
runApplication blockMesh
cp -r 0.org 0
cp -r 0.orig 0
# initialise with potentialFoam solution
runApplication potentialFoam

View File

@ -8,8 +8,8 @@ cd ${0%/*} || exit 1 # Run from this directory
rm -rf 0 *[1-9]* processor* postProcessing
# copy 0.org to 0
cp -r 0.org 0
# copy 0.orig to 0
cp -r 0.orig 0
cleanCase

View File

@ -7,8 +7,8 @@ cd ${0%/*} || exit 1 # Run from this directory
# remove old time and post-processing directories
rm -rf 0 *[1-9]* processor* postProcessing
# copy 0.org to 0
cp -r 0.org 0
# copy 0.orig to 0
cp -r 0.orig 0
cleanCase

View File

@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions
rm -rf 0
cp -rf 0.org 0
cp -rf 0.orig 0
runApplication blockMesh