binaryAbsorptionEmission.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2011-2015 OpenFOAM Foundation
9-------------------------------------------------------------------------------
10License
11 This file is part of OpenFOAM.
12
13 OpenFOAM is free software: you can redistribute it and/or modify it
14 under the terms of the GNU General Public License as published by
15 the Free Software Foundation, either version 3 of the License, or
16 (at your option) any later version.
17
18 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26Class
27 Foam::radiation::binaryAbsorptionEmission
28
29Group
30 grpRadiationAbsorptionEmissionSubModels
31
32Description
33 Radiation coefficient based on two absorption models
34
35SourceFiles
36 binaryAbsorptionEmission.C
37
38\*---------------------------------------------------------------------------*/
39
40#ifndef radiation_binaryAbsorptionEmission_H
41#define radiation_binaryAbsorptionEmission_H
42
44
45// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46
47namespace Foam
48{
49namespace radiation
50{
51
52/*---------------------------------------------------------------------------*\
53 Class binaryAbsorptionEmission Declaration
54\*---------------------------------------------------------------------------*/
57:
59{
60 // Private data
61
62 //- Coefficients dictionary
63 dictionary coeffsDict_;
64
65 //- First absorption model
67
68 //- Second absorption model
70
71
72public:
73
74 //- Runtime type information
75 TypeName("binaryAbsorptionEmission");
76
77
78 // Constructors
79
80 //- Construct from components
82
83
84 //- Destructor
86
87
88 // Member Functions
89
90 // Access
91
92 // Absorption coefficient
93
94 //- Absorption coefficient for continuous phase
95 virtual tmp<volScalarField> aCont(const label bandI = 0) const;
96
97 //- Absorption coefficient for dispersed phase
98 virtual tmp<volScalarField> aDisp(const label bandI = 0) const;
99
100
101 // Emission coefficient
102
103 //- Emission coefficient for continuous phase
104 virtual tmp<volScalarField> eCont(const label bandI = 0) const;
105
106 //- Emission coefficient for dispersed phase
107 virtual tmp<volScalarField> eDisp(const label bandI = 0) const;
108
109
110 // Emission contribution
111
112 //- Emission contribution for continuous phase
113 virtual tmp<volScalarField> ECont(const label bandI = 0) const;
114
115 //- Emission contribution for continuous phase
116 virtual tmp<volScalarField> EDisp(const label bandI = 0) const;
117};
118
119
120// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121
122} // End namespace radiation
123} // End namespace Foam
124
125// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
126
127#endif
128
129// ************************************************************************* //
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: autoPtr.H:66
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:91
Model to supply absorption and emission coefficients for radiation modelling.
const fvMesh & mesh() const
Reference to the mesh.
const dictionary & dict() const
Reference to the dictionary.
Radiation coefficient based on two absorption models.
TypeName("binaryAbsorptionEmission")
Runtime type information.
virtual tmp< volScalarField > aDisp(const label bandI=0) const
Absorption coefficient for dispersed phase.
virtual tmp< volScalarField > EDisp(const label bandI=0) const
Emission contribution for continuous phase.
virtual tmp< volScalarField > eDisp(const label bandI=0) const
Emission coefficient for dispersed phase.
virtual tmp< volScalarField > eCont(const label bandI=0) const
Emission coefficient for continuous phase.
virtual tmp< volScalarField > aCont(const label bandI=0) const
Absorption coefficient for continuous phase.
virtual tmp< volScalarField > ECont(const label bandI=0) const
Emission contribution for continuous phase.
A class for managing temporary objects.
Definition: tmp.H:65
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
Namespace for OpenFOAM.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73