Skip to content
Snippets Groups Projects
Commit 3b40ee8f authored by sergio's avatar sergio Committed by Kutalmış Berçin
Browse files

ENH: Updating tutorials for view factors generation

parent f5598706
Branches
Tags
1 merge request!551Update of view factor generation using 2AI and 2LI methods plus CGAL for ray tracing
...@@ -9,11 +9,11 @@ cd "${0%/*}" || exit # Run from this directory ...@@ -9,11 +9,11 @@ cd "${0%/*}" || exit # Run from this directory
#-- Run on single processor #-- Run on single processor
# Agglomerate patch faces # Agglomerate patch faces
for region in air #for region in air
do #do
runApplication -s $region \ # runApplication -s $region \
faceAgglomerate -region $region -dict constant/viewFactorsDict # faceAgglomerate -region $region -dict constant/viewFactorsDict
done #done
# Generate view factors # Generate view factors
for region in air for region in air
......
...@@ -12,11 +12,11 @@ cd "${0%/*}" || exit # Run from this directory ...@@ -12,11 +12,11 @@ cd "${0%/*}" || exit # Run from this directory
runApplication decomposePar -allRegions -constant runApplication decomposePar -allRegions -constant
# Agglomerate patch faces # Agglomerate patch faces
for region in air #for region in air
do #do
runParallel -s $region \ # runParallel -s $region \
faceAgglomerate -region $region -dict constant/viewFactorsDict # faceAgglomerate -region $region -dict constant/viewFactorsDict
done #done
# Generate view factors # Generate view factors
for region in air for region in air
......
...@@ -15,11 +15,10 @@ FoamFile ...@@ -15,11 +15,10 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
writeViewFactorMatrix true; writeViewFactorMatrix true;
writeFacesAgglomeration true;
writePatchViewFactors false; writePatchViewFactors false;
// dumpRays true; // dumpRays true;
maxDynListLength 200000; maxDynListLength 200000;
// ************************************************************************* // // ************************************************************************* //
...@@ -9,11 +9,11 @@ cd "${0%/*}" || exit # Run from this directory ...@@ -9,11 +9,11 @@ cd "${0%/*}" || exit # Run from this directory
#-- Run on single processor #-- Run on single processor
# Agglomerate patch faces # Agglomerate patch faces
for region in bottomAir topAir #for region in bottomAir topAir
do #do
runApplication -s "$region" \ # runApplication -s "$region" \
faceAgglomerate -region "$region" -dict constant/viewFactorsDict # faceAgglomerate -region "$region" -dict constant/viewFactorsDict
done #done
# Generate view factors # Generate view factors
for region in bottomAir topAir for region in bottomAir topAir
......
...@@ -12,11 +12,11 @@ cd "${0%/*}" || exit # Run from this directory ...@@ -12,11 +12,11 @@ cd "${0%/*}" || exit # Run from this directory
runApplication decomposePar -allRegions runApplication decomposePar -allRegions
# Agglomerate patch faces # Agglomerate patch faces
for region in bottomAir topAir #for region in bottomAir topAir
do #do
runParallel -s "$region" \ # runParallel -s "$region" \
faceAgglomerate -region "$region" -dict constant/viewFactorsDict # faceAgglomerate -region "$region" -dict constant/viewFactorsDict
done #done
# Generate view factors # Generate view factors
for region in bottomAir topAir for region in bottomAir topAir
......
...@@ -15,56 +15,6 @@ FoamFile ...@@ -15,56 +15,6 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
writeViewFactorMatrix true; writeViewFactorMatrix true;
writeFacesAgglomeration true;
writePatchViewFactors false;
bottomAir_to_heater
{
nFacesInCoarsestLevel 30;
featureAngle 10;
}
bottomAir_to_leftSolid
{
nFacesInCoarsestLevel 20;
featureAngle 10;
}
bottomAir_to_rightSolid
{
nFacesInCoarsestLevel 20;
featureAngle 10;
}
minX
{
nFacesInCoarsestLevel 10;
featureAngle 10;
}
minY
{
nFacesInCoarsestLevel 30;
featureAngle 10;
}
minZ
{
nFacesInCoarsestLevel 20;
featureAngle 10;
}
maxX
{
nFacesInCoarsestLevel 10;
featureAngle 10;
}
maxZ
{
nFacesInCoarsestLevel 20;
featureAngle 10;
}
// ************************************************************************* // // ************************************************************************* //
...@@ -15,56 +15,5 @@ FoamFile ...@@ -15,56 +15,5 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
writeViewFactorMatrix true; writeViewFactorMatrix true;
writeFacesAgglomeration true;
writePatchViewFactors false;
topAir_to_heater
{
nFacesInCoarsestLevel 24;
featureAngle 10;
}
topAir_to_leftSolid
{
nFacesInCoarsestLevel 20;
featureAngle 10;
}
topAir_to_rightSolid
{
nFacesInCoarsestLevel 20;
featureAngle 10;
}
minX
{
nFacesInCoarsestLevel 10;
featureAngle 10;
}
maxY
{
nFacesInCoarsestLevel 40;
featureAngle 10;
}
minZ
{
nFacesInCoarsestLevel 20;
featureAngle 10;
}
maxX
{
nFacesInCoarsestLevel 10;
featureAngle 10;
}
maxZ
{
nFacesInCoarsestLevel 20;
featureAngle 10;
}
// ************************************************************************* // // ************************************************************************* //
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment