fvDOMI.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-2017 OpenFOAM Foundation
9  Copyright (C) 2019 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
12  This file is part of OpenFOAM.
13 
14  OpenFOAM is free software: you can redistribute it and/or modify it
15  under the terms of the GNU General Public License as published by
16  the Free Software Foundation, either version 3 of the License, or
17  (at your option) any later version.
18 
19  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26 
27 \*---------------------------------------------------------------------------*/
28 
30 Foam::radiation::fvDOM::IRay(const label rayI) const
31 {
32  return IRay_[rayI];
33 }
34 
35 
36 inline const Foam::volScalarField&
38 (
39  const label rayI,
40  const label lambdaI
41 ) const
42 {
43  return IRay_[rayI].ILambda(lambdaI);
44 }
45 
46 
47 inline Foam::label Foam::radiation::fvDOM::nTheta() const
48 {
49  return nTheta_;
50 }
51 
52 
53 inline Foam::label Foam::radiation::fvDOM::nPhi() const
54 {
55  return nPhi_;
56 }
57 
58 
59 inline Foam::label Foam::radiation::fvDOM::nRay() const
60 {
61  return nRay_;
62 }
63 
64 
65 inline Foam::label Foam::radiation::fvDOM::nLambda() const
66 {
67  return nLambda_;
68 }
69 
70 
71 inline Foam::label Foam::radiation::fvDOM::nBands() const
72 {
73  return nLambda_;
74 }
75 
77 {
78  return a_;
79 }
80 
81 
83 (
84  const label lambdaI
85 ) const
86 {
87  return aLambda_[lambdaI];
88 }
89 
90 
92 {
93  return G_;
94 }
95 
96 
98 {
99  return qr_;
100 }
101 
103 {
104  return qin_;
105 }
106 
107 
109 {
110  return qem_;
111 }
112 
113 
116 {
117  return blackBody_;
118 }
119 
120 
121 inline Foam::scalar Foam::radiation::fvDOM::omegaMax() const
122 {
123  return omegaMax_;
124 }
125 
126 
128 {
129  return meshOrientation_;
130 }
131 
132 
134 {
135  return useSolarLoad_;
136 }
137 
138 
140 {
141  return useExternalBeam_;
142 }
143 
144 
147 {
148  return spectralDistribution_;
149 }
150 
151 
152 // ************************************************************************* //
Foam::radiation::fvDOM::nRay
label nRay() const
Number of rays.
Definition: fvDOMI.H:59
Foam::radiation::fvDOM::nPhi
label nPhi() const
Number of angles in phi.
Definition: fvDOMI.H:53
Foam::radiation::fvDOM::a
const volScalarField & a() const
Const access to total absorption coefficient.
Definition: fvDOMI.H:76
Foam::radiation::fvDOM::omegaMax
scalar omegaMax() const
Return omegaMax.
Definition: fvDOMI.H:121
Foam::radiation::radiativeIntensityRay
Radiation intensity for a ray in a given direction.
Definition: radiativeIntensityRay.H:57
Foam::radiation::fvDOM::IRay
const radiativeIntensityRay & IRay(const label rayI) const
Ray intensity for rayI.
Definition: fvDOMI.H:30
Foam::radiation::fvDOM::qem
const volScalarField & qem() const
Const access to emitted radiative heat flux field.
Definition: fvDOMI.H:108
Foam::radiation::fvDOM::qin
const volScalarField & qin() const
Const access to incident radiative heat flux field.
Definition: fvDOMI.H:102
Foam::radiation::fvDOM::nLambda
label nLambda() const
Number of wavelengths.
Definition: fvDOMI.H:65
Foam::radiation::fvDOM::IRayLambda
const volScalarField & IRayLambda(const label rayI, const label lambdaI) const
Ray intensity for rayI and lambda bandwidth.
Definition: fvDOMI.H:38
Foam::radiation::fvDOM::useExternalBeam
bool useExternalBeam() const
Use external beam.
Definition: fvDOMI.H:139
Foam::radiation::fvDOM::G
const volScalarField & G() const
Const access to incident radiation field.
Definition: fvDOMI.H:91
Foam::radiation::fvDOM::aLambda
const volScalarField & aLambda(const label lambdaI) const
Const access to wavelength total absorption coefficient.
Definition: fvDOMI.H:83
Foam::radiation::fvDOM::nTheta
label nTheta() const
Number of angles in theta.
Definition: fvDOMI.H:47
Foam::radiation::fvDOM::meshOrientation
vector meshOrientation() const
Return meshOrientation.
Definition: fvDOMI.H:127
Foam::radiation::fvDOM::qr
const volScalarField & qr() const
Const access to total radiative heat flux field.
Definition: fvDOMI.H:97
Foam::radiation::fvDOM::useSolarLoad
bool useSolarLoad() const
Use solar load.
Definition: fvDOMI.H:133
Foam::Vector< scalar >
Foam::List< scalar >
Foam::radiation::fvDOM::spectralDistribution
const scalarList & spectralDistribution() const
Energy spectral distribution for external beam.
Definition: fvDOMI.H:146
Foam::radiation::blackBodyEmission
Class black body emission.
Definition: blackBodyEmission.H:58
Foam::GeometricField< scalar, fvPatchField, volMesh >
Foam::radiation::fvDOM::blackBody
const blackBodyEmission & blackBody() const
Const access to black body.
Definition: fvDOMI.H:115
Foam::radiation::fvDOM::nBands
label nBands() const
Number of bands.
Definition: fvDOMI.H:71