BUG: missing parallel-aware for metis-like decomposition

This commit is contained in:
Mark Olesen
2017-10-13 12:45:28 +02:00
parent 9b2a25516e
commit b29f2a61b6
21 changed files with 80 additions and 219 deletions

View File

@ -4,11 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Setup case
./Allrun.pre
#-- Run in parallel
# Decompose
@ -17,14 +15,14 @@ runApplication decomposePar -allRegions
# Agglomerate patch faces
for i in bottomAir topAir
do
runParallel -s $i -np 4 \
runParallel -s $i \
faceAgglomerate -region $i -dict constant/viewFactorsDict
done
# Generate view factors
for i in bottomAir topAir
do
runParallel -s $i -np 4 \
runParallel -s $i \
viewFactorsGen -region $i
done
@ -34,9 +32,8 @@ runParallel $(getApplication)
# Reconstruct
runApplication reconstructPar -allRegions
echo
echo "creating files for paraview post-processing"
echo "Creating files for paraview post-processing"
echo
paraFoam -touchAll