ENH: Updating tutorials for view factors generation

This commit is contained in:
sergio
2022-06-28 16:04:59 -07:00
committed by Kutalmis Bercin
parent f5598706c5
commit 3b40ee8f6b
7 changed files with 21 additions and 123 deletions

View File

@ -9,11 +9,11 @@ cd "${0%/*}" || exit # Run from this directory
#-- Run on single processor
# Agglomerate patch faces
for region in air
do
runApplication -s $region \
faceAgglomerate -region $region -dict constant/viewFactorsDict
done
#for region in air
#do
# runApplication -s $region \
# faceAgglomerate -region $region -dict constant/viewFactorsDict
#done
# Generate view factors
for region in air

View File

@ -12,11 +12,11 @@ cd "${0%/*}" || exit # Run from this directory
runApplication decomposePar -allRegions -constant
# Agglomerate patch faces
for region in air
do
runParallel -s $region \
faceAgglomerate -region $region -dict constant/viewFactorsDict
done
#for region in air
#do
# runParallel -s $region \
# faceAgglomerate -region $region -dict constant/viewFactorsDict
#done
# Generate view factors
for region in air

View File

@ -15,11 +15,10 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
writeViewFactorMatrix true;
writeFacesAgglomeration true;
writePatchViewFactors false;
// dumpRays true;
maxDynListLength 200000;
maxDynListLength 200000;
// ************************************************************************* //