mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
foamInfoExec: Time listing functionality superseded by foamListTimes
This commit is contained in:
@ -26,22 +26,9 @@
|
||||
#
|
||||
# Description
|
||||
# Miscellaneous cleanup functions for tutorial cases
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
#cleanTimeDirectories()
|
||||
#{
|
||||
# echo "Cleaning $PWD case"
|
||||
# for time in $(foamInfoExec -times)
|
||||
# do
|
||||
# # keep 0 and constant directories
|
||||
# [ "$time" = "0" -o "$time" = constant ] || {
|
||||
# echo "Deleting directory $time"
|
||||
# rm -rf $time > /dev/null 2>&1
|
||||
# }
|
||||
# done
|
||||
# rm -rf {log,log.*,log-*,logSummary.*,.fxLock,*.xml,ParaView*,paraFoam*,*.OpenFOAM} > /dev/null 2>&1
|
||||
#}
|
||||
|
||||
cleanTimeDirectories()
|
||||
{
|
||||
echo "Cleaning $PWD case"
|
||||
@ -52,13 +39,9 @@ cleanTimeDirectories()
|
||||
rm -rf ./${timeDir} ./-${timeDir} > /dev/null 2>&1
|
||||
zeros="0$zeros"
|
||||
done
|
||||
rm -rf ./[1-9]* ./-[1-9]* ./log ./log.* ./log-* ./logSummary.* ./.fxLock ./*.xml ./ParaView* ./paraFoam* ./*.OpenFOAM ./*.blockMesh ./.setSet > /dev/null 2>&1
|
||||
rm -rf ./[1-9]* ./-[1-9]* ./log ./log.* ./log-* ./logSummary.* ./*.xml ./ParaView* ./paraFoam* ./*.OpenFOAM ./*.blockMesh ./.setSet > /dev/null 2>&1
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Remove dynamicCode subdirectory if it looks appropriate
|
||||
#
|
||||
cleanDynamicCode()
|
||||
{
|
||||
if [ -d system -a -d dynamicCode ]
|
||||
@ -67,7 +50,6 @@ cleanDynamicCode()
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
cleanCase()
|
||||
{
|
||||
cleanTimeDirectories
|
||||
|
||||
Reference in New Issue
Block a user