mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -14,4 +14,4 @@ runApplication createBaffles -overwrite
|
||||
# remove zero-sized patches
|
||||
runApplication createPatch -overwrite
|
||||
|
||||
cp -rf 0.org 0
|
||||
cp -rf 0.orig 0
|
||||
|
||||
@ -31,4 +31,4 @@ runApplication createPatch -overwrite
|
||||
#runApplication moveDynamicMesh -checkAMI
|
||||
|
||||
# - set the initial fields
|
||||
cp -rf 0.org 0
|
||||
cp -rf 0.orig 0
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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`
|
||||
|
||||
Reference in New Issue
Block a user