fixing erroneous re-direction
This commit is contained in:
parent
3dc96d589c
commit
dd619a5691
6 changed files with 15 additions and 15 deletions
|
@ -2,4 +2,4 @@
|
|||
set -x
|
||||
|
||||
m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||
blockMesh >& log.blockMesh
|
||||
blockMesh > log.blockMesh 2>&1
|
||||
|
|
|
@ -23,7 +23,7 @@ done
|
|||
|
||||
for i in bottomAir topAir heater leftSolid rightSolid
|
||||
do
|
||||
changeDictionary -region $i >& log.changeDictionary.$i
|
||||
changeDictionary -region $i > log.changeDictionary.$i 2>&1
|
||||
done
|
||||
|
||||
|
||||
|
@ -34,7 +34,7 @@ runApplication chtMultiRegionFoam
|
|||
## Decompose
|
||||
#for i in bottomAir topAir heater leftSolid rightSolid
|
||||
#do
|
||||
# decomposePar -region $i >& log.decomposePar.$i
|
||||
# decomposePar -region $i > log.decomposePar.$i 2>&1
|
||||
#done
|
||||
#
|
||||
## Run
|
||||
|
@ -43,7 +43,7 @@ runApplication chtMultiRegionFoam
|
|||
## Reconstruct
|
||||
#for i in bottomAir topAir heater leftSolid rightSolid
|
||||
#do
|
||||
# reconstructPar -region $i >& log.reconstructPar.$i
|
||||
# reconstructPar -region $i > log.reconstructPar.$i 2>&1
|
||||
#done
|
||||
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ done
|
|||
|
||||
for i in bottomAir topAir heater leftSolid rightSolid
|
||||
do
|
||||
changeDictionary -region $i >& log.changeDictionary.$i
|
||||
changeDictionary -region $i > log.changeDictionary.$i 2>&1
|
||||
done
|
||||
|
||||
|
||||
|
@ -39,7 +39,7 @@ runApplication chtMultiRegionSimpleFoam
|
|||
## Decompose
|
||||
#for i in bottomAir topAir heater leftSolid rightSolid
|
||||
#do
|
||||
# decomposePar -region $i >& log.decomposePar.$i
|
||||
# decomposePar -region $i > log.decomposePar.$i 2>&1
|
||||
#done
|
||||
#
|
||||
## Run
|
||||
|
@ -48,7 +48,7 @@ runApplication chtMultiRegionSimpleFoam
|
|||
## Reconstruct
|
||||
#for i in bottomAir topAir heater leftSolid rightSolid
|
||||
#do
|
||||
# reconstructPar -region $i >& log.reconstructPar.$i
|
||||
# reconstructPar -region $i > log.reconstructPar.$i 2>&1
|
||||
#done
|
||||
|
||||
|
||||
|
|
|
@ -9,16 +9,16 @@ application=`getApplication`
|
|||
runApplication blockMesh
|
||||
|
||||
# create sets
|
||||
setSet -batch system/sets.setSet >& log.setSet1
|
||||
setSet -batch system/sets.setSet > log.setSet1 2>&1
|
||||
|
||||
# convert sets to zones
|
||||
setsToZones -noFlipMap >& log.setsToZones
|
||||
setsToZones -noFlipMap > log.setsToZones 2>&1
|
||||
|
||||
# create the first cyclic - lhs of porous zone
|
||||
unset FOAM_SETNAN
|
||||
createBaffles cycLeft cycLeft -overwrite >& log.createBaffles1
|
||||
createBaffles cycLeft cycLeft -overwrite > log.createBaffles1 2>&1
|
||||
|
||||
# create the second cyclic - rhs of porous zone
|
||||
createBaffles cycRight cycRight -overwrite >& log.createBaffles2
|
||||
createBaffles cycRight cycRight -overwrite > log.createBaffles2 2>&1
|
||||
|
||||
runApplication $application
|
||||
|
|
|
@ -12,7 +12,7 @@ refineMeshByCellSet()
|
|||
do
|
||||
echo "creating cell set for primary zone - $1"
|
||||
cp system/cellSetDict.$1 system/cellSetDict
|
||||
runApplication -l log.cellSet.$1 cellSet
|
||||
runApplication -l log.cellSet.$1 cellSet
|
||||
|
||||
echo "refining primary zone - $1"
|
||||
runApplication -l log.refineMesh.$1 refineMesh -dict -overwrite
|
||||
|
@ -33,7 +33,7 @@ cd throttle3D
|
|||
refineMeshByCellSet 1 2 3
|
||||
|
||||
echo "mapping fields from 2D throttle case"
|
||||
mapFields ../throttle -sourceTime latestTime >& log.mapFields
|
||||
mapFields ../throttle -sourceTime latestTime > log.mapFields 2>&1
|
||||
|
||||
runApplication decomposePar
|
||||
runParallel $application 4
|
||||
|
|
|
@ -9,10 +9,10 @@ refineMeshByCellSet()
|
|||
{
|
||||
echo "creating cell set for primary zone - $1"
|
||||
cp system/cellSetDict.$1 system/cellSetDict
|
||||
cellSet >& log.cellSet.$1
|
||||
cellSet > log.cellSet.$1 2>&1
|
||||
|
||||
echo "refining primary zone - $1"
|
||||
refineMesh -dict -overwrite >& log.refineMesh.$1
|
||||
refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
|
||||
}
|
||||
|
||||
runApplication blockMesh
|
||||
|
|
Reference in a new issue