This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/incompressible/simpleFoam/ERCOFTAC_ConicalDiffuser/Case1.1_mixingPlane/Allclean
2012-04-15 13:43:52 -04:00

50 lines
903 B
Bash
Executable file

#!/bin/bash
#
# Source clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
#set -x
cleanSampling ()
{
rm -rf sets > /dev/null 2>&1
}
cleanPostProcessing ()
{
rm -rf postProcessing/*.png > /dev/null 2>&1
rm -rf postProcessing/log.sample > /dev/null 2>&1
rm -rf postProcessing/log.foamLog > /dev/null 2>&1
rm -rf postProcessing/log.gnuplotPlotResiduals > /dev/null 2>&1
rm -rf postProcessing/log.gnuplotCompareAll > /dev/null 2>&1
rm -rf postProcessing/logs > /dev/null 2>&1
}
cleanFilesFromM4 ()
{
rm {constant/polyMesh/boundary,constant/polyMesh/blockMeshDict} > /dev/null 2>&1
}
cleanTimeZero ()
{
rm -rf 0 > /dev/null 2>&1
}
cleanPyFoam ()
{
rm PlyParser_FoamFileParser_parsetab.* > /dev/null 2>&1
}
cleanVTK ()
{
rm -rf VTK > /dev/null 2>&1
}
# Cleaning up the case
cleanSampling
cleanPostProcessing
cleanCase
cleanFilesFromM4
cleanTimeZero
cleanPyFoam
cleanVTK