radiation: Corrected the name of the radiative heat flux from Qr to qr

The standard naming convention for heat flux is "q" and this is used for the
conductive and convective heat fluxes is OpenFOAM.  The use of "Qr" for
radiative heat flux is an anomaly which causes confusion, particularly for
boundary conditions in which "Q" is used to denote power in Watts.  The name of
the radiative heat flux has now been corrected to "qr" and all models, boundary
conditions and tutorials updated.
This commit is contained in:
Henry Weller
2017-04-08 22:23:40 +01:00
parent 861b273e56
commit 5c62d81880
50 changed files with 283 additions and 284 deletions

View File

@ -53,8 +53,8 @@ boundaryField
filmRegion filmRegion;
Tnbr T;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
qrNbr none;
qr qr;
filmDeltaDry 0.0;
filmDeltaWet 2e-4;
value $internalField;

View File

@ -38,8 +38,8 @@ boundaryField
filmRegion filmRegion;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
filmDeltaDry 0.0;
filmDeltaWet 2e-4;
value uniform 298;

View File

@ -11,7 +11,7 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object Qr;
object qr;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -38,7 +38,7 @@ boundaryField
sampleMode nearestPatchFace;
samplePatch region0_to_pyrolysisRegion_coupledWall;
offset (0 0 0);
field Qr; // this is the name of Qr field in region0
field qr; // this is the name of qr field in region0
setAverage no;
average 0;
value uniform 0;

View File

@ -28,9 +28,9 @@ pyrolysis
filmCoupled true;
gasHSource true;
QrHSource false;
qrHSource false;
radFluxName Qr;
radFluxName qr;
moveMesh false; // true;
minimumDelta 1e-6;

View File

@ -51,8 +51,8 @@ boundaryField
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
qrNbr none;
qr qr;
value $internalField;
}
}

View File

@ -42,8 +42,8 @@ boundaryField
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 298.15;
}

View File

@ -11,7 +11,7 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object Qr;
object qr;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -43,7 +43,7 @@ boundaryField
sampleMode nearestPatchFace;
samplePatch region0_to_panelRegion_fLeft_zone;
offset (0 0 0);
field Qr;
field qr;
setAverage no;
average 0;
value uniform 0;
@ -56,7 +56,7 @@ boundaryField
sampleMode nearestPatchFace;
samplePatch region0_to_panelRegion_fRight_zone;
offset (0 0 0);
field Qr;
field qr;
setAverage no;
average 0;
value uniform 0;

View File

@ -26,7 +26,7 @@ pyrolysis
reactingOneDimCoeffs
{
gasHSource false; //Energy source term due to pyrolysis gas
QrHSource false; //Energy source term due in depht radiation
qrHSource false; //Energy source term due in depht radiation
minimumDelta 1e-12;
reactionDeltaMin 1e-12;

View File

@ -25,7 +25,7 @@ pyrolysis
reactingOneDimCoeffs
{
radFluxName Qr;
radFluxName qr;
minimumDelta 1e-8;

View File

@ -25,7 +25,7 @@ pyrolysis
reactingOneDimCoeffs
{
radFluxName Qr;
radFluxName qr;
minimumDelta 1e-8;

View File

@ -10,7 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
object Qr;
object qr;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -12,7 +12,7 @@ runApplication splitMeshRegions -cellZones -overwrite
# remove fluid fields from solid regions (important for post-processing)
for i in heater leftSolid rightSolid
do
rm -f 0*/$i/{rho,nut,alphat,epsilon,k,U,p_rgh,Qr,G,IDefault}
rm -f 0*/$i/{rho,nut,alphat,epsilon,k,U,p_rgh,qr,G,IDefault}
done
for i in bottomAir topAir heater leftSolid rightSolid

View File

@ -54,8 +54,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
qrNbr none;
qr qr;
value uniform 300;
}
}
@ -113,7 +113,7 @@ p
}
}
Qr
qr
{
internalField uniform 0;
boundaryField
@ -122,7 +122,7 @@ Qr
{
type greyDiffusiveRadiationViewFactor;
emissivityMode lookup;
Qro uniform 0;
qro uniform 0;
emissivity uniform 1.0;
value uniform 0;
}
@ -131,7 +131,7 @@ Qr
{
type greyDiffusiveRadiationViewFactor;
emissivityMode solidRadiation;
Qro uniform 0;
qro uniform 0;
value uniform 0;
}
}

View File

@ -74,7 +74,7 @@ relaxationFactors
"(k|epsilon|omega)" 0.7;
G 0.7;
"ILambda.*" 0.7;
Qr 0.7;
qr 0.7;
}
}

View File

@ -47,8 +47,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}
@ -57,8 +57,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}

View File

@ -43,8 +43,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}
@ -53,8 +53,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}

View File

@ -43,8 +43,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}
@ -53,8 +53,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
qrNbr qr;
qr none;
value uniform 300;
}

View File

@ -65,8 +65,8 @@ T
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
qrNbr none;
qr qr;
value uniform 300;
}
}
@ -160,7 +160,7 @@ p
}
}
Qr
qr
{
internalField uniform 0;
boundaryField
@ -169,7 +169,7 @@ Qr
{
type greyDiffusiveRadiationViewFactor;
emissivityMode lookup;
Qro uniform 0;
qro uniform 0;
emissivity uniform 1.0;
value uniform 0;
}
@ -178,7 +178,7 @@ Qr
{
type greyDiffusiveRadiationViewFactor;
emissivityMode solidRadiation;
Qro uniform 0;
qro uniform 0;
value uniform 0;
}
}

View File

@ -74,7 +74,7 @@ relaxationFactors
"(k|epsilon|omega)" 0.7;
G 0.7;
"ILambda.*" 0.7;
Qr 0.7;
qr 0.7;
}
}