mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updating tutorials for view factors generation
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -15,11 +15,10 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
writeViewFactorMatrix true;
|
||||
writeFacesAgglomeration true;
|
||||
writePatchViewFactors false;
|
||||
// dumpRays true;
|
||||
|
||||
maxDynListLength 200000;
|
||||
maxDynListLength 200000;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user