STYLE: adjust tutorial Allclean scripts (issue #310)
- A few without a 'cd' at the start. Several remove files that are already covered by the cleanCase function.
This commit is contained in:
parent
f3cc16e42c
commit
21679c04e4
@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf EnSight Ensight Fieldview > /dev/null 2>&1
|
||||
rm -f constant/polyMesh/boundary > /dev/null 2>&1
|
||||
rm -rf Fieldview > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,8 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
\rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,8 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -3,14 +3,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf VTK
|
||||
rm -rf 0
|
||||
rm -rf constant/polyMesh/sets constant/polyMesh/faces
|
||||
rm -rf constant/polyMesh/faces
|
||||
rm -rf constant/polyMesh/points
|
||||
rm -rf constant/polyMesh/owner
|
||||
rm -rf constant/polyMesh/neighbour
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,12 +1,13 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf 0 chemFoam.out constant/reactions constant/thermo \
|
||||
rm -rf chemFoam.out constant/reactions constant/thermo \
|
||||
validation/OF_vs_CHEMKINII.eps validation/chemkinII
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII
|
||||
rm -rf chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII
|
||||
rm -rf chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
@ -1,11 +1,12 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII
|
||||
rm -rf chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -21,5 +21,4 @@ gnuplot<<EOF
|
||||
"chemkinII" with lines title "Chemkin II" lt -1
|
||||
EOF
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf 0 chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII
|
||||
rm -rf chemFoam.out validation/OF_vs_CHEMKINII.eps validation/chemkinII
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
@ -5,11 +5,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
mv ./-180 temp180
|
||||
cleanCase
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
rm -f constant/polyMesh/boundary > /dev/null 2>&1
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
mv temp180 ./-180
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -6,6 +6,5 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
cleanCase
|
||||
cleanSamples
|
||||
rm -rf constant/polyMesh/boundary
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,10 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# Remove 0 directory - recreated from 0.orig
|
||||
\rm -rf 0
|
||||
|
||||
cleanCase
|
||||
cleanSamples
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -9,7 +9,7 @@ runApplication surfaceFeatureExtract
|
||||
runApplication blockMesh
|
||||
runApplication snappyHexMesh -overwrite
|
||||
|
||||
\rm -rf 0
|
||||
rm -rf 0
|
||||
|
||||
runApplication createBaffles -overwrite
|
||||
runApplication mergeOrSplitBaffles -split -overwrite
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
@ -7,3 +9,5 @@ cleanCase
|
||||
(cd system && rm -f blockMeshDict.caseBlocks blockMeshDict.caseBoundary)
|
||||
|
||||
rm -rf resolved modelled pressure.eps
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -6,5 +6,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
cleanCase
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
# Remove copies of common files
|
||||
\rm -rf 0 constant
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
# Remove copies of common files
|
||||
\rm -rf 0 constant
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -f constant/polyMesh/boundary > /dev/null 2>&1
|
||||
|
||||
# Don't need these extra files (from star4ToFoam conversion)
|
||||
rm -f \
|
||||
|
@ -4,10 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# Remove 0.orig/ copy
|
||||
\rm -rf 0
|
||||
|
||||
cleanCase
|
||||
cleanSamples
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,11 +4,11 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0/lagrangian 0/uniform
|
||||
rm -f Ar-Ar
|
||||
rm -f electrostatic
|
||||
rm -f constant/idList
|
||||
rm -rf constant/polyMesh/sets
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,11 +4,11 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0/lagrangian 0/uniform
|
||||
rm -f O-O
|
||||
rm -f electrostatic
|
||||
rm -f constant/idList
|
||||
rm -rf constant/polyMesh/sets
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,8 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf constant/polyMesh/sets
|
||||
rm -rf processor[0-9]
|
||||
cleanCase
|
||||
rm -rf processor[0-9]
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
@ -5,8 +5,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf constant/baffle3DRegion
|
||||
rm -rf constant/polyMesh/boundary
|
||||
rm -rf 0
|
||||
|
||||
rm -rf constant/baffle3DRegion
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,19 +5,22 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf comms
|
||||
rm -rf VTK
|
||||
rm -rf constant/cellToRegion constant/polyMesh/sets
|
||||
rm -rf constant/cellToRegion
|
||||
|
||||
rm -rf 0/bottomWater
|
||||
rm -rf 0/topAir
|
||||
rm -rf 0/heater
|
||||
rm -rf 0/leftSolid
|
||||
rm -rf 0/rightSolid
|
||||
rm -f 0/cellToRegion
|
||||
|
||||
rm -rf constant/bottomWater/polyMesh
|
||||
rm -rf constant/topAir/polyMesh
|
||||
rm -rf constant/heater/polyMesh
|
||||
rm -rf constant/leftSolid/polyMesh
|
||||
rm -rf constant/rightSolid/polyMesh
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
@ -30,5 +29,4 @@ runApplication ./externalSolver
|
||||
# Reconstruct
|
||||
runApplication reconstructPar -allRegions
|
||||
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
@ -30,4 +29,4 @@ echo "creating files for paraview post-processing"
|
||||
echo
|
||||
paraFoam -touchAll 2>/dev/null
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
cleanCase
|
||||
|
||||
rm -rf VTK
|
||||
rm -rf constant/cellToRegion constant/polyMesh/sets
|
||||
rm -rf constant/cellToRegion
|
||||
|
||||
rm -rf constant/air/polyMesh
|
||||
rm -rf constant/solid/polyMesh
|
||||
@ -28,6 +28,4 @@ rm -f 0/floor/cellToRegion
|
||||
rm -f 0/solid/cellToRegion
|
||||
rm -f 0/cellToRegion
|
||||
|
||||
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,11 +1,9 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
|
||||
# Setup case
|
||||
./Allrun.pre
|
||||
|
||||
@ -31,4 +29,4 @@ echo "creating files for paraview post-processing"
|
||||
echo
|
||||
paraFoam -touchAll
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
@ -25,5 +24,4 @@ do
|
||||
changeDictionary -region $i > log.changeDictionary.$i 2>&1
|
||||
done
|
||||
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -5,14 +5,16 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf VTK
|
||||
rm -rf constant/cellToRegion constant/polyMesh/sets
|
||||
rm -rf constant/cellToRegion
|
||||
rm -f 0/cellToRegion
|
||||
rm -rf 0/bottomWater
|
||||
rm -rf 0/topAir
|
||||
rm -rf 0/heater
|
||||
rm -rf 0/leftSolid
|
||||
rm -rf 0/rightSolid
|
||||
|
||||
rm -rf constant/bottomWater/polyMesh
|
||||
rm -rf constant/topAir/polyMesh
|
||||
rm -rf constant/heater/polyMesh
|
||||
|
@ -4,19 +4,20 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/*.eMesh > /dev/null 2>&1
|
||||
rm -f constant/polyMesh/boundary
|
||||
|
||||
cleanCase
|
||||
rm -rf VTK
|
||||
rm -rf constant/cellToRegion constant/polyMesh/sets
|
||||
rm -rf constant/cellToRegion
|
||||
rm -rf 0/bottomAir
|
||||
rm -rf 0/topAir
|
||||
rm -rf 0/heater
|
||||
rm -rf 0/leftSolid
|
||||
rm -rf 0/rightSolid
|
||||
rm -f 0/cellToRegion
|
||||
|
||||
rm -rf constant/bottomAir/polyMesh
|
||||
rm -rf constant/topAir/polyMesh
|
||||
rm -rf constant/heater/polyMesh
|
||||
|
@ -1,11 +1,13 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0
|
||||
|
||||
rm -rf constant/windshield/polyMesh
|
||||
rm -rf constant/cabin/polyMesh
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,13 +1,14 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0
|
||||
|
||||
rm -rf constant/exterior/polyMesh
|
||||
rm -rf constant/ice/polyMesh
|
||||
rm -rf constant/cabin/polyMesh
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,15 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
foamCleanPolyMesh -region air
|
||||
foamCleanPolyMesh -region porous
|
||||
|
||||
rm -f *.OpenFOAM
|
||||
|
||||
rm -rf 0
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
cleanCase
|
||||
rm -rf VTK
|
||||
rm -rf constant/cellToRegion constant/polyMesh/sets
|
||||
rm -rf constant/cellToRegion
|
||||
rm -rf 0/bottomAir
|
||||
rm -rf 0/topAir
|
||||
rm -rf 0/heater
|
||||
@ -28,7 +28,6 @@ rm -f constant/bottomAir/subMap
|
||||
rm -f constant/bottomAir/visibleFaceFaces
|
||||
rm -f constant/bottomAir/mapDist
|
||||
|
||||
|
||||
rm -f constant/topAir/F
|
||||
rm -f constant/topAir/constructMap*
|
||||
rm -f constant/topAir/finalAgglom
|
||||
|
@ -1,11 +1,10 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf constant/coarseMesh
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,8 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -f constant/polyMesh/boundary > /dev/null 2>&1
|
||||
rm -rf fluentInterface
|
||||
cleanCase
|
||||
rm -rf fluentInterface
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,5 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,11 +4,12 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface
|
||||
rm -f constant/triSurface/propellerTip.obj.gz > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1
|
||||
# Remove surfaces and features
|
||||
rm -f constant/triSurface/propellerTip.obj.gz > /dev/null 2>&1
|
||||
rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -29,3 +29,5 @@ runApplication createPatch -overwrite
|
||||
|
||||
# - set the initial fields
|
||||
restore0Dir
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
(
|
||||
@ -20,3 +20,5 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -17,4 +17,4 @@ runApplication decomposePar -cellDist
|
||||
runParallel $application
|
||||
#runApplication reconstructPar -latestTime
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf postProcessing *.dat validation/*.eps
|
||||
rm -rf *.dat validation/*.eps
|
||||
|
||||
wclean validation/WatersKing
|
||||
|
||||
|
@ -4,12 +4,11 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface
|
||||
rm -f constant/triSurface/motorBike.obj.gz
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
# Remove surface
|
||||
rm -f constant/triSurface/motorBike.obj.gz
|
||||
|
||||
# Reset decomposeParDict
|
||||
cp system/decomposeParDict.hierarchical system/decomposeParDict
|
||||
|
@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
# Remove copies of common files
|
||||
\rm -rf 0 constant
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
# Remove copies of common files
|
||||
\rm -rf 0 constant
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,11 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm *.obj > /dev/null 2>&1
|
||||
rm -r constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm constant/triSurface/boundaryAndFaceZones.eMesh > /dev/null 2>&1
|
||||
rm constant/polyMesh/boundary > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
@ -1,13 +1,15 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface and features
|
||||
rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
# Remove surface and features
|
||||
rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1
|
||||
rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,8 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,13 +1,16 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface and features
|
||||
cleanCase
|
||||
|
||||
# Remove surface and features
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/rotatingZone.eMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/fixed.eMesh > /dev/null 2>&1
|
||||
rm -f 0/pointLevel > /dev/null 2>&1
|
||||
rm -f 0/cellLevel > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
# Remove decomposeParDict
|
||||
rm -f system/decomposeParDict
|
||||
|
@ -8,6 +8,5 @@ cleanCase
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/buildings.eMesh > /dev/null 2>&1
|
||||
rm -f constant/polyMesh/boundary > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,7 +1,11 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
# rm -f constant/triSurface/cyclone.stl.gz > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
(
|
||||
|
@ -5,9 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf constant/wallFilmRegion
|
||||
rm -rf 0
|
||||
rm -f *.obj
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,10 +5,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf system/wallFilmRegion
|
||||
rm -rf constant/wallFilmRegion
|
||||
rm -rf 0
|
||||
rm -f *.obj
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,9 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf constant/wallFilmRegion
|
||||
rm -rf 0
|
||||
rm -f *.obj
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,9 +5,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf constant/wallFilmRegion
|
||||
rm -rf 0
|
||||
rm -f *.obj
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# Remove 0.orig/ copy and post-processing directories
|
||||
\rm -rf 0 postProcessing
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove old time and post-processing directories
|
||||
rm -rf 0 *[1-9]* processor* postProcessing
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,11 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove old time and post-processing directories
|
||||
rm -rf 0 *[1-9]* processor* postProcessing
|
||||
|
||||
# copy 0.orig to 0
|
||||
cp -r 0.orig 0
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# Remove old time, 0.orig/ copy and post-processing directories
|
||||
\rm -rf 0 *[1-9]* processor* postProcessing
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -10,7 +10,7 @@ runApplication blockMesh
|
||||
|
||||
runApplication potentialFoam
|
||||
|
||||
# remove incompatible (volumetric) flux field
|
||||
# Remove incompatible (volumetric) flux field
|
||||
\rm -f 0/phi 2>/dev/null
|
||||
|
||||
runApplication $(getApplication)
|
||||
|
@ -1,12 +1,11 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
rm -rf 0
|
||||
|
||||
rm -rf constant/triSurface/blob.stl.gz > /dev/null 2>&1
|
||||
|
||||
@ -23,5 +22,4 @@ rm -rf constant/backgroundMeshDecomposition/polyMesh/points > /dev/null 2>&1
|
||||
rm -rf snapToSurface?.obj > /dev/null 2>&1
|
||||
rm -rf tetsToSnapTo.obj > /dev/null 2>&1
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,15 +1,17 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -r constant/triSurface/flange.stl.gz > /dev/null 2>&1
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -r constant/ccx constant/ccy constant/ccz > /dev/null 2>&1
|
||||
rm -r constant/internalDelaunayVertices constant/targetCellSize > /dev/null 2>&1
|
||||
rm -r 0 > /dev/null 2>&1
|
||||
|
||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/boundary > /dev/null 2>&1
|
||||
rm -rf constant/backgroundMeshDecomposition/polyMesh/faces > /dev/null 2>&1
|
||||
@ -19,6 +21,4 @@ rm -rf constant/backgroundMeshDecomposition/polyMesh/points > /dev/null 2>&1
|
||||
|
||||
rm -r *.obj > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,8 +5,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh/
|
||||
rm -f constant/triSurface/*.eMesh*
|
||||
rm -f constant/triSurface/*.stl
|
||||
|
@ -1,22 +1,19 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -r constant/extendedFeatureEdgeMesh constant/internalDelaunayVertices > /dev/null 2>&1
|
||||
rm constant/triSurface/*.eMesh > /dev/null 2>&1
|
||||
rm constant/triSurface/*_orient* > /dev/null 2>&1
|
||||
rm -r constant/polyMesh > /dev/null 2>&1
|
||||
rm -r constant/polyMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/*.eMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/*_orient* > /dev/null 2>&1
|
||||
rm -r constant/tetDualMesh > /dev/null 2>&1
|
||||
|
||||
rm -r snapToSurface?.obj tetsToSnapTo.obj > /dev/null 2>&1
|
||||
|
||||
rm domain coneAndSphere > /dev/null 2>&1
|
||||
|
||||
rm -rf 0/
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,15 +1,14 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -rf constant/triSurface/*.eMesh > /dev/null 2>&1
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
rm -rf MeshedSurface.obj > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,16 +1,13 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -rf constant/triSurface/jaggedBoundary.eMesh > /dev/null 2>&1
|
||||
rm -rf constant/polyMesh > /dev/null 2>&1
|
||||
|
||||
rm -rf MeshedSurface.obj > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -rf constant/triSurface/jaggedBoundary.eMesh > /dev/null 2>&1
|
||||
rm -rf MeshedSurface.obj > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,16 +1,13 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -rf constant/triSurface/unit_cube.eMesh > /dev/null 2>&1
|
||||
rm -rf constant/polyMesh > /dev/null 2>&1
|
||||
|
||||
rm -rf MeshedSurface*.obj > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -rf constant/triSurface/unit_cube.eMesh > /dev/null 2>&1
|
||||
rm -rf MeshedSurface*.obj > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,8 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,15 +4,14 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface
|
||||
rm -f constant/triSurface/flange.stl.gz
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
rm -f ./flange ./*.obj > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/flange.eMesh > /dev/null 2>&1
|
||||
rm -f constant/polyMesh/boundary
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm -f ./flange ./*.obj > /dev/null 2>&1
|
||||
|
||||
# Remove surface and features
|
||||
rm -f constant/triSurface/flange.stl.gz > /dev/null 2>&1
|
||||
rm -f constant/triSurface/flange.eMesh > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -9,4 +9,4 @@ cleanCase
|
||||
rm -f system/blockMeshDict
|
||||
rm -f 0/alpha.water
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -4,7 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
|
||||
# Set application name
|
||||
application=$(getApplication)
|
||||
|
||||
@ -33,4 +32,4 @@ runParallel $(getApplication)
|
||||
# Reconstruct case
|
||||
runApplication reconstructPar
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf constant/polyMesh/sets > /dev/null 2>&1
|
||||
rm -rf 0/polyMesh > /dev/null 2>&1
|
||||
rm system/topoSetDict > /dev/null 2>&1
|
||||
cleanCase
|
||||
|
||||
rm -rf 0/polyMesh > /dev/null 2>&1
|
||||
rm system/topoSetDict > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,10 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf constant/polyMesh/sets > /dev/null 2>&1
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm system/topoSetDict > /dev/null 2>&1
|
||||
rm -rf processor[0-9] > /dev/null 2>&1
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf constant/polyMesh/sets > /dev/null 2>&1
|
||||
rm -rf 0/polyMesh > /dev/null 2>&1
|
||||
rm system/topoSetDict > /dev/null 2>&1
|
||||
cleanCase
|
||||
|
||||
rm -rf 0/polyMesh > /dev/null 2>&1
|
||||
rm system/topoSetDict > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0
|
||||
rm -rf processor*
|
||||
|
||||
|
@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -2,7 +2,6 @@
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Clean time directories only
|
||||
|
||||
rm -rf *[1-9]*
|
||||
rm -f log.* 2>/dev/null
|
||||
|
||||
|
@ -4,14 +4,13 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface
|
||||
rm -f constant/triSurface/DTC-scaled.stl.gz > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/DTC-scaled.eMesh > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm constant/polyMesh/boundary > /dev/null 2>&1
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
rm -rf 0
|
||||
rm system/topoSetDict > /dev/null 2>&1
|
||||
|
||||
# Remove surface and features
|
||||
rm -f constant/triSurface/DTC-scaled.stl.gz > /dev/null 2>&1
|
||||
rm -f constant/triSurface/DTC-scaled.eMesh > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,9 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm system/cellSetDict > /dev/null 2>&1
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
rm system/cellSetDict > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,8 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,8 +5,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
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
|
||||
|
||||
|
@ -1,17 +1,17 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface and features
|
||||
\rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1
|
||||
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
\rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
\rm -f constant/polyMesh/boundary
|
||||
# Remove surface and features
|
||||
\rm -f constant/triSurface/motorBike.obj.gz > /dev/null 2>&1
|
||||
\rm -f constant/triSurface/motorBike.eMesh > /dev/null 2>&1
|
||||
\rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
|
||||
\cp system/controlDict_run system/controlDict
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -17,4 +17,4 @@ runParallel -s decompose redistributePar -decompose -latestTime
|
||||
runParallel -s restart $(getApplication)
|
||||
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -4,14 +4,14 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface
|
||||
rm -f constant/triSurface/DTC-scaled.stl.gz > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
rm -f constant/triSurface/DTC-scaled.eMesh > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm constant/polyMesh/boundary > /dev/null 2>&1
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
rm -rf 0
|
||||
|
||||
rm system/topoSetDict > /dev/null 2>&1
|
||||
|
||||
# Remove surfaces and features
|
||||
rm -f constant/triSurface/DTC-scaled.stl.gz > /dev/null 2>&1
|
||||
rm -f constant/triSurface/DTC-scaled.eMesh > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,7 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm 0/alpha.water.gz 0/alpha.water 2>/dev/null
|
||||
rm -rf *Flux
|
||||
|
||||
cleanCase
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -1,8 +1,10 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf 0 > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,11 +4,12 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
# remove surface
|
||||
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
|
||||
|
||||
# Remove surface
|
||||
rm -f constant/triSurface/propellerTip.obj.gz > /dev/null 2>&1
|
||||
rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1
|
||||
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -11,3 +11,5 @@ runApplication decomposePar
|
||||
runParallel $(getApplication)
|
||||
|
||||
runApplication reconstructPar
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -36,3 +36,5 @@ runApplication createPatch -overwrite
|
||||
# - apply the initial fields
|
||||
|
||||
restore0Dir
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -4,12 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
# Remove surface
|
||||
rm -f constant/triSurface/bullet.stl.gz
|
||||
|
||||
# Remove 0.orig/ copy
|
||||
\rm -rf 0
|
||||
|
||||
cleanCase
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user