The radiation modelling library has been moved out of
thermophysicalProperties into the top-level source directory. Radiation
is a process, not a property, and belongs alongside turbulence,
combustion, etc...
The namespaces used within the radiation library have been made
consistent with the rest of the code. Selectable sub-models are in
namespaces named after their base classes. Some models have been
renamed remove the base type from the suffix, as this is unnecessary.
These renames are:
Old name: New name:
binaryAbsorptionEmission binary
cloudAbsorptionEmission cloud
constantAbsorptionEmission constant
greyMeanAbsorptionEmission greyMean/greyMeanCombustion
greyMeanSolidAbsorptionEmission greyMeanSolid
wideBandAbsorptionEmission wideBand/wideBandCombustion
cloudScatter cloud
constantScatter constant
mixtureFractionSoot mixtureFraction
Some absorption-emission models have been split into versions which do
and don't use the heat release rate. The version that does has been
given the post-fix "Combustion" and has been moved into the
combustionModels library. This removes the dependence on a registered
Qdot field, and makes the models compatible with the recent removal of
that field from the combustion solvers.
51 lines
1.3 KiB
C++
51 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object radiationProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
radiation on;
|
|
|
|
radiationModel fvDOM;
|
|
|
|
|
|
fvDOMCoeffs
|
|
{
|
|
nPhi 2; // azimuthal angles in PI/2 on X-Y.(from Y to X)
|
|
nTheta 2; // polar angles in PI (from Z to X-Y plane)
|
|
tolerance 1e-2; // convergence tolerance for radiation iteration
|
|
maxIter 3; // maximum number of iterations
|
|
}
|
|
|
|
// Number of flow iterations per radiation iteration
|
|
solverFreq 10;
|
|
|
|
absorptionEmissionModel constant;
|
|
|
|
constantCoeffs
|
|
{
|
|
absorptivity 0.1;
|
|
emissivity 0.1;
|
|
E 0;
|
|
}
|
|
|
|
|
|
scatterModel none;
|
|
|
|
|
|
sootModel none;
|
|
|
|
|
|
// ************************************************************************* //
|