tutorials/shockFluid/biconic25-55Run35: Removed unused scripting

This commit is contained in:
Will Bainbridge
2023-06-29 10:41:51 +01:00
parent a329b887e5
commit 5f93b16a51
3 changed files with 1 additions and 55 deletions

View File

@ -5,6 +5,6 @@ cd "${0%/*}" || exit 1 # Run from this directory
. "$WM_PROJECT_DIR/bin/tools/CleanFunctions"
cleanCase
rm -f 0/pointPriority
rm -f 0/pointPriority 0/wallHeatFlux
#------------------------------------------------------------------------------

View File

@ -21,5 +21,4 @@ sed -i '/wedge/,/nFaces/{s/patch/wedge/}' constant/polyMesh/boundary
runApplication "$(getApplication)"
#------------------------------------------------------------------------------

View File

@ -1,53 +0,0 @@
#!/bin/sh
cd "${0%/*}" || exit 1 # Run from this directory
#
# FUNCTIONS
#
usage()
{
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
cat<<USAGE
Usage: ${0##*/} [OPTION]
options:
-l -latestTime option for sample
-h help
Runs a set of samples across the cone face and concatenates output files
USAGE
exit 1
}
#------------------------------------------------------------------------------
unset timeOpt
# parse options
while [ "$#" -gt 0 ]
do
case "$1" in
-h | -help)
usage
;;
-l | -latestTime)
timeOpt="-latestTime"
shift
;;
*)
usage "unknown option/argument: '$*'"
;;
esac
done
sampleDir=postProcessing/sample
ext="$(find $sampleDir -mindepth 2 | head -1 | xargs basename | cut -d_ -f2-)"
for d in $sampleDir/*
do
cat "${d}/cone25_${ext}" "${d}/cone55_${ext}" "${d}/base_${ext}"\
> "${d}/biconic_${ext}"
done
#------------------------------------------------------------------------------