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-2015 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 
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 
114 (
115  const label rayId,
116  const label lambdaI
117 ) const
118 {
119  return fvRayDiv_[lambdaI][rayId];
120 }
121 
122 
124 {
125  return cacheDiv_;
126 }
127 
128 
129 inline Foam::scalar Foam::radiation::fvDOM::omegaMax() const
130 {
131  return omegaMax_;
132 }
133 
134 
136 {
137  return meshOrientation_;
138 }
139 
140 
141 // ************************************************************************* //
Foam::radiation::fvDOM::nRay
label nRay() const
Number of rays.
Definition: fvDOMI.H:56
Foam::radiation::fvDOM::nPhi
label nPhi() const
Number of angles in phi.
Definition: fvDOMI.H:50
Foam::radiation::fvDOM::fvRayDiv
const fvScalarMatrix & fvRayDiv(const label lambdaI, const label rayId) const
Const access to cached fvMatrix.
Definition: fvDOMI.H:114
Foam::radiation::fvDOM::a
const volScalarField & a() const
Const access to total absorption coefficient.
Definition: fvDOMI.H:68
Foam::radiation::fvDOM::omegaMax
scalar omegaMax() const
Return omegaMax.
Definition: fvDOMI.H:129
Foam::radiation::fvDOM::Qin
const volScalarField & Qin() const
Const access to incident radiative heat flux field.
Definition: fvDOMI.H:94
Foam::radiation::radiativeIntensityRay
Radiation intensity for a ray in a given direction.
Definition: radiativeIntensityRay.H:55
Foam::radiation::fvDOM::IRay
const radiativeIntensityRay & IRay(const label rayI) const
Ray intensity for rayI.
Definition: fvDOMI.H:27
Foam::radiation::fvDOM::IRay_
PtrList< radiativeIntensityRay > IRay_
List of pointers to radiative intensity rays.
Definition: fvDOM.H:132
Foam::radiation::fvDOM::nLambda
label nLambda() const
Number of wavelengths.
Definition: fvDOMI.H:62
Foam::radiation::fvDOM::IRayLambda
const volScalarField & IRayLambda(const label rayI, const label lambdaI) const
Ray intensity for rayI and lambda bandwidth.
Definition: fvDOMI.H:35
Foam::label
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
Foam::radiation::fvDOM::G
const volScalarField & G() const
Const access to incident radiation field.
Definition: fvDOMI.H:83
Foam::radiation::fvDOM::Qem
const volScalarField & Qem() const
Const access to emitted radiative heat flux field.
Definition: fvDOMI.H:100
Foam::radiation::fvDOM::aLambda
const volScalarField & aLambda(const label lambdaI) const
Const access to wavelength total absorption coefficient.
Definition: fvDOMI.H:75
Foam::radiation::fvDOM::nTheta
label nTheta() const
Number of angles in theta.
Definition: fvDOMI.H:44
Foam::radiation::fvDOM::Qr
const volScalarField & Qr() const
Const access to total radiative heat flux field.
Definition: fvDOMI.H:89
Foam::radiation::fvDOM::meshOrientation
vector meshOrientation() const
Return meshOrientation.
Definition: fvDOMI.H:135
Foam::Vector< scalar >
Foam::fvMatrix
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Definition: fvPatchField.H:68
Foam::radiation::blackBodyEmission
Class black body emission.
Definition: blackBodyEmission.H:56
Foam::GeometricField
Generic GeometricField class.
Definition: surfaceFieldsFwd.H:52
Foam::radiation::fvDOM::blackBody
const blackBodyEmission & blackBody() const
Const access to black body.
Definition: fvDOMI.H:107
Foam::radiation::fvDOM::cacheDiv
bool cacheDiv() const
Caching div(Ji, Ilamda)
Definition: fvDOMI.H:123