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 | Copyright (C) 2011-2017 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
27 Foam::radiation::fvDOM::IRay(const label rayI) const
28 {
29  return IRay_[rayI];
30 }
31 
32 
33 inline const Foam::volScalarField&
35 (
36  const label rayI,
37  const label lambdaI
38 ) const
39 {
40  return IRay_[rayI].ILambda(lambdaI);
41 }
42 
43 
45 {
46  return nTheta_;
47 }
48 
49 
51 {
52  return nPhi_;
53 }
54 
55 
57 {
58  return nRay_;
59 }
60 
61 
63 {
64  return nLambda_;
65 }
66 
67 
69 {
70  return a_;
71 }
72 
73 
75 (
76  const label lambdaI
77 ) const
78 {
79  return aLambda_[lambdaI];
80 }
81 
82 
84 {
85  return G_;
86 }
87 
88 
90 {
91  return qr_;
92 }
93 
95 {
96  return qin_;
97 }
98 
99 
101 {
102  return qem_;
103 }
104 
105 
108 {
109  return blackBody_;
110 }
111 
112 
113 inline Foam::scalar Foam::radiation::fvDOM::omegaMax() const
114 {
115  return omegaMax_;
116 }
117 
118 
119 // ************************************************************************* //
const volScalarField & a() const
Const access to total absorption coefficient.
Definition: fvDOM.H:69
Class black body emission.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
const volScalarField & IRayLambda(const label rayI, const label lambdaI) const
Ray intensity for rayI and lambda bandwidth.
Definition: fvDOM.H:36
const volScalarField & qr() const
Const access to total radiative heat flux field.
Definition: fvDOM.H:90
const blackBodyEmission & blackBody() const
Const access to black body.
Definition: fvDOM.H:108
const volScalarField & qin() const
Const access to incident radiative heat flux field.
Definition: fvDOM.H:95
const volScalarField & qem() const
Const access to emitted radiative heat flux field.
Definition: fvDOM.H:101
label nPhi() const
Number of angles in phi.
Definition: fvDOM.H:51
label nRay() const
Number of rays.
Definition: fvDOM.H:57
const volScalarField & G() const
Const access to incident radiation field.
Definition: fvDOM.H:84
const radiativeIntensityRay & IRay(const label rayI) const
Ray intensity for rayI.
Definition: fvDOM.H:28
Radiation intensity for a ray in a given direction.
label nTheta() const
Number of angles in theta.
Definition: fvDOM.H:45
scalar omegaMax() const
Return omegaMax.
Definition: fvDOM.H:114
label nLambda() const
Number of wavelengths.
Definition: fvDOM.H:63
const volScalarField & aLambda(const label lambdaI) const
Const access to wavelength total absorption coefficient.
Definition: fvDOM.H:76