mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Updated with new run, test and clean scripts
This commit is contained in:
22
tutorials/rasInterFoam/Allclean
Executable file
22
tutorials/rasInterFoam/Allclean
Executable file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
keepCases="damBreak"
|
||||
loseCases="damBreakFine"
|
||||
|
||||
for case in $keepCases
|
||||
do
|
||||
(cd $case && foamCleanTutorials)
|
||||
|
||||
if [ "$case" = "damBreak" ]
|
||||
then
|
||||
cp $case/0/gamma.org $case/0/gamma
|
||||
fi
|
||||
done
|
||||
|
||||
for case in $loseCases
|
||||
do
|
||||
removeCase $case
|
||||
done
|
||||
Reference in New Issue
Block a user