mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: update keywords, create finiteArea in parallel
This commit is contained in:
@ -13,6 +13,6 @@ runParallel dsmcInitialise
|
|||||||
|
|
||||||
runParallel $(getApplication)
|
runParallel $(getApplication)
|
||||||
|
|
||||||
runApplication reconstructPar -noLagrangian
|
runApplication reconstructPar -no-lagrangian
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -13,6 +13,6 @@ runParallel dsmcInitialise
|
|||||||
|
|
||||||
runParallel $(getApplication)
|
runParallel $(getApplication)
|
||||||
|
|
||||||
runApplication reconstructPar -noLagrangian
|
runApplication reconstructPar -no-lagrangian
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -7,7 +7,7 @@ restore0Dir
|
|||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
runApplication decomposePar
|
runApplication decomposePar -no-finite-area
|
||||||
|
|
||||||
runParallel makeFaMesh
|
runParallel makeFaMesh
|
||||||
|
|
||||||
|
|||||||
@ -3,16 +3,30 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
fileHandler="-fileHandler collated"
|
||||||
|
unset reconstruct
|
||||||
|
# reconstruct=true
|
||||||
|
convertVTK=true
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
|
|
||||||
#NO blockMesh (pre-meshed geometry and pre-calculated U field)
|
#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"
|
decompDict="-decomposeParDict system/decomposeParDict-procBoundary8"
|
||||||
fileHandler="-fileHandler collated"
|
fileHandler="-fileHandler collated"
|
||||||
|
unset reconstruct
|
||||||
# reconstruct=true
|
# reconstruct=true
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
runApplication $decompDict decomposePar $fileHandler
|
runApplication $decompDict decomposePar $fileHandler -no-finite-area
|
||||||
|
|
||||||
runParallel $decompDict makeFaMesh $fileHandler
|
runParallel $decompDict makeFaMesh $fileHandler
|
||||||
|
|
||||||
@ -19,11 +20,10 @@ runParallel $decompDict $(getApplication) $fileHandler
|
|||||||
|
|
||||||
runParallel $decompDict foamToEnsight -finite-area
|
runParallel $decompDict foamToEnsight -finite-area
|
||||||
|
|
||||||
if [ "$reconstruct" = true ]
|
case "$reconstruct" in
|
||||||
then
|
(true) runApplication reconstructPar $fileHandler ;;
|
||||||
runApplication reconstructPar $fileHandler
|
(latest*) runApplication reconstructPar $fileHandler -latestTime ;;
|
||||||
else
|
(*) echo "Skipping reconstructPar $fileHandler" ;;
|
||||||
echo "Skipping reconstructPar $fileHandler"
|
esac
|
||||||
fi
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user