mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: missing parallel-aware for metis-like decomposition
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user