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
No related branches found
No related tags found
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
#-- 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;
// ************************************************************************* //
......@@ -9,11 +9,11 @@ cd "${0%/*}" || exit # Run from this directory
#-- Run on single processor
# Agglomerate patch faces
for region in bottomAir topAir
do
runApplication -s "$region" \
faceAgglomerate -region "$region" -dict constant/viewFactorsDict
done
#for region in bottomAir topAir
#do
# runApplication -s "$region" \
# faceAgglomerate -region "$region" -dict constant/viewFactorsDict
#done
# Generate view factors
for region in bottomAir topAir
......
......@@ -12,11 +12,11 @@ cd "${0%/*}" || exit # Run from this directory
runApplication decomposePar -allRegions
# Agglomerate patch faces
for region in bottomAir topAir
do
runParallel -s "$region" \
faceAgglomerate -region "$region" -dict constant/viewFactorsDict
done
#for region in bottomAir topAir
#do
# runParallel -s "$region" \
# faceAgglomerate -region "$region" -dict constant/viewFactorsDict
#done
# Generate view factors
for region in bottomAir topAir
......
......@@ -15,56 +15,6 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
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
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment