mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
tutorials: Simplified the Allrun and Allclean scripts
This commit is contained in:
@ -4,20 +4,14 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
keepCases="cavity cavityGrade cavityClipped elbow"
|
||||
keepCases="cavity cavityGrade cavityClipped"
|
||||
loseCases="cavityFine cavityHighRe"
|
||||
|
||||
for caseName in $keepCases
|
||||
do
|
||||
(
|
||||
cd $caseName || exit
|
||||
|
||||
foamCleanTutorials
|
||||
|
||||
if [ "$caseName" = elbow ]
|
||||
then
|
||||
rm -rf fluentInterface
|
||||
fi
|
||||
)
|
||||
done
|
||||
|
||||
@ -26,7 +20,4 @@ do
|
||||
removeCase $caseName
|
||||
done
|
||||
|
||||
|
||||
(cd elbow && ./Allclean)
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
@ -86,8 +86,4 @@ do
|
||||
( cd $caseName && runApplication `getApplication` )
|
||||
done
|
||||
|
||||
|
||||
# elbow case for testing Fluent-FOAM conversion tools
|
||||
(cd elbow && ./Allrun)
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
Reference in New Issue
Block a user