TUT: update keywords, create finiteArea in parallel
This commit is contained in:
parent
85760cbc34
commit
3e026783ab
@ -13,6 +13,6 @@ runParallel dsmcInitialise
|
||||
|
||||
runParallel $(getApplication)
|
||||
|
||||
runApplication reconstructPar -noLagrangian
|
||||
runApplication reconstructPar -no-lagrangian
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -13,6 +13,6 @@ runParallel dsmcInitialise
|
||||
|
||||
runParallel $(getApplication)
|
||||
|
||||
runApplication reconstructPar -noLagrangian
|
||||
runApplication reconstructPar -no-lagrangian
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -7,7 +7,7 @@ restore0Dir
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
runApplication decomposePar
|
||||
runApplication decomposePar -no-finite-area
|
||||
|
||||
runParallel makeFaMesh
|
||||
|
||||
|
@ -3,16 +3,30 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
fileHandler="-fileHandler collated"
|
||||
unset reconstruct
|
||||
# reconstruct=true
|
||||
convertVTK=true
|
||||
|
||||
restore0Dir
|
||||
|
||||
#NO blockMesh (pre-meshed geometry and pre-calculated U field)
|
||||
|
||||
runApplication makeFaMesh
|
||||
runApplication decomposePar $fileHandler -no-finite-area
|
||||
|
||||
runApplication decomposePar
|
||||
runParallel makeFaMesh $fileHandler
|
||||
|
||||
runParallel $(getApplication)
|
||||
runParallel $(getApplication) $fileHandler
|
||||
|
||||
runApplication reconstructPar
|
||||
if [ "$convertVTK" = true ]
|
||||
then
|
||||
runParallel foamToVTK $fileHandler -finite-area -no-internal -no-boundary
|
||||
fi
|
||||
|
||||
case "$reconstruct" in
|
||||
(true) runApplication reconstructPar $fileHandler ;;
|
||||
(latest*) runApplication reconstructPar $fileHandler -latestTime ;;
|
||||
(*) echo "Skipping reconstructPar $fileHandler" ;;
|
||||
esac
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -5,13 +5,14 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
|
||||
decompDict="-decomposeParDict system/decomposeParDict-procBoundary8"
|
||||
fileHandler="-fileHandler collated"
|
||||
unset reconstruct
|
||||
# reconstruct=true
|
||||
|
||||
restore0Dir
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
runApplication $decompDict decomposePar $fileHandler
|
||||
runApplication $decompDict decomposePar $fileHandler -no-finite-area
|
||||
|
||||
runParallel $decompDict makeFaMesh $fileHandler
|
||||
|
||||
@ -19,11 +20,10 @@ runParallel $decompDict $(getApplication) $fileHandler
|
||||
|
||||
runParallel $decompDict foamToEnsight -finite-area
|
||||
|
||||
if [ "$reconstruct" = true ]
|
||||
then
|
||||
runApplication reconstructPar $fileHandler
|
||||
else
|
||||
echo "Skipping reconstructPar $fileHandler"
|
||||
fi
|
||||
case "$reconstruct" in
|
||||
(true) runApplication reconstructPar $fileHandler ;;
|
||||
(latest*) runApplication reconstructPar $fileHandler -latestTime ;;
|
||||
(*) echo "Skipping reconstructPar $fileHandler" ;;
|
||||
esac
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user