tutorials: rationalized log

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

View File

@ -13,12 +13,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

View File

@ -13,12 +13,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

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

View File

@ -10,7 +10,7 @@ application=`getApplication`
rm -rf 0
cp -r 0.org 0
setFields
runApplication setFields
#runApplication $application
#runApplication decomposePar