tutorials: Removed 0.orig directories in favor of <field>.orig

The new automated <field>.orig reading has made 0.orig directories and
associated scripting redundant.
This commit is contained in:
Henry Weller
2018-02-15 20:14:27 +00:00
parent df6e2da2dd
commit 9221dd0d0f
211 changed files with 326 additions and 13180 deletions

View File

@ -9,6 +9,7 @@ rm -f constant/triSurface/propellerTip.obj.gz > /dev/null 2>&1
cleanCase
rm -rf 0 > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1
#------------------------------------------------------------------------------

View File

@ -11,3 +11,5 @@ runApplication decomposePar
runParallel `getApplication`
runApplication reconstructPar
#------------------------------------------------------------------------------

View File

@ -4,12 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy propeller surface from resources directory
# Copy propeller surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/propellerTip.obj.gz constant/triSurface/
# - meshing
runApplication blockMesh
runApplication surfaceFeatureExtract
@ -18,25 +15,13 @@ runApplication snappyHexMesh -overwrite
runApplication renumberMesh -overwrite
# force removal of fields generated by snappy
rm -rf 0
# - generate face/cell sets and zones
#runApplication setSet -batch createInletOutletSets.setSet
# Generate face/cell sets and zones
runApplication topoSet -dict system/createInletOutletSets.topoSetDict
# - create the inlet/outlet and AMI patches
# Create the inlet/outlet and AMI patches
runApplication createPatch -overwrite
# - test by running moveDynamicMesh
# Test by running moveDynamicMesh
#runApplication moveDynamicMesh -checkAMI
# - apply the initial fields
cp -rf 0.orig 0
#------------------------------------------------------------------------------