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

@ -14,4 +14,4 @@ runApplication createBaffles -overwrite
# remove zero-sized patches
runApplication createPatch -overwrite
cp -rf 0.org 0
cp -rf 0.orig 0

View File

@ -31,4 +31,4 @@ runApplication createPatch -overwrite
#runApplication moveDynamicMesh -checkAMI
# - set the initial fields
cp -rf 0.org 0
cp -rf 0.orig 0

View File

@ -13,14 +13,14 @@ runApplication snappyHexMesh -overwrite
cd ../wingMotion2D_simpleFoam
runApplication extrudeMesh
runApplication createPatch -overwrite
cp -r 0.org 0
cp -r 0.orig 0
runApplication simpleFoam
# Copy the mesh from the steady state case and map the results to a
# mesh motion case, then solve transient.
cd ../wingMotion2D_pimpleDyMFoam
cp -r ../wingMotion2D_simpleFoam/constant/polyMesh constant
cp -r 0.org 0
cp -r 0.orig 0
runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent
mv 0/pointDisplacement.unmapped 0/pointDisplacement
runApplication decomposePar

View File

@ -11,7 +11,7 @@ runApplication blockMesh
# Create faceZones for baffles and fan
runApplication topoSet
cp -r 0.org 0
cp -r 0.orig 0
# Create wall and cyclic baffles and the fields on them
runApplication createBaffles -overwrite

View File

@ -19,7 +19,7 @@ runParallel snappyHexMesh -overwrite -parallel
find . -type f -iname "*level*" -exec rm {} \;
ls -d processor* | xargs -I {} cp -r 0.org ./{}/0 $1
ls -d processor* | xargs -I {} cp -r 0.orig ./{}/0 $1
runParallel renumberMesh -overwrite

View File

@ -14,11 +14,11 @@ runApplication decomposePar
runParallel snappyHexMesh -overwrite
#- For non-parallel running
#cp -r 0.org 0 > /dev/null 2>&1
#cp -r 0.orig 0 > /dev/null 2>&1
#- For parallel running
ls -d processor* | xargs -I {} rm -rf ./{}/0
ls -d processor* | xargs -I {} cp -r 0.org ./{}/0
ls -d processor* | xargs -I {} cp -r 0.orig ./{}/0
runParallel patchSummary
runParallel potentialFoam

View File

@ -10,7 +10,7 @@ application=`getApplication`
runApplication blockMesh
runApplication topoSet
runApplication refineHexMesh c0 -overwrite
cp -r 0.org 0
cp -r 0.orig 0
#runApplication $application
runApplication decomposePar -cellDist

View File

@ -16,7 +16,7 @@ runParallel snappyHexMesh -overwrite
find . -type f -iname "*level*" -exec rm {} \;
ls -d processor* | xargs -I {} cp -r 0.org ./{}/0
ls -d processor* | xargs -I {} cp -r 0.orig ./{}/0
runParallel topoSet
runParallel `getApplication`