tutorials: rationalized log

This commit is contained in:
Henry
2015-02-19 08:39:32 +00:00
parent 0ca9a1fb09
commit 6be514684a
7 changed files with 28 additions and 21 deletions

View File

@ -12,12 +12,13 @@ refineMeshByCellSet()
do
if [ ! -e log.refineMesh.$1 ]
then
echo "creating cell set for primary zone - $1"
echo "Creating cell set for primary zone - $1"
cp system/topoSetDict.$1 system/topoSetDict
topoSet > log.topoSet.$1 2>&1
echo "refining primary zone - $1"
refineMesh -dict system/refineMeshDict -overwrite > log.refineMesh.$1 2>&1
echo "Refining primary zone - $1"
refineMesh -dict system/refineMeshDict -overwrite \
> log.refineMesh.$1 2>&1
fi
shift
done