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-------------------------------------------------------------------------------
11License
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
30Foam::radiation::fvDOM::IRay(const label rayI) const
31{
32 return IRay_[rayI];
33}
34
35
36inline const Foam::volScalarField&
38(
39 const label rayI,
40 const label lambdaI
41) const
42{
43 return IRay_[rayI].ILambda(lambdaI);
44}
45
46
47inline Foam::label Foam::radiation::fvDOM::nTheta() const
48{
49 return nTheta_;
50}
51
52
53inline Foam::label Foam::radiation::fvDOM::nPhi() const
54{
55 return nPhi_;
56}
57
58
59inline Foam::label Foam::radiation::fvDOM::nRay() const
60{
61 return nRay_;
62}
63
64
65inline Foam::label Foam::radiation::fvDOM::nLambda() const
66{
67 return nLambda_;
68}
69
70
71inline 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
121inline 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// ************************************************************************* //
Class black body emission.
const volScalarField & qin() const
Const access to incident radiative heat flux field.
Definition: fvDOMI.H:102
const volScalarField & IRayLambda(const label rayI, const label lambdaI) const
Ray intensity for rayI and lambda bandwidth.
Definition: fvDOMI.H:38
bool useSolarLoad() const
Use solar load.
Definition: fvDOMI.H:133
label nRay() const
Number of rays.
Definition: fvDOMI.H:59
const volScalarField & qem() const
Const access to emitted radiative heat flux field.
Definition: fvDOMI.H:108
bool useExternalBeam() const
Use external beam.
Definition: fvDOMI.H:139
scalar omegaMax() const
Return omegaMax.
Definition: fvDOMI.H:121
const volScalarField & a() const
Const access to total absorption coefficient.
Definition: fvDOMI.H:76
label nTheta() const
Number of angles in theta.
Definition: fvDOMI.H:47
const volScalarField & qr() const
Const access to total radiative heat flux field.
Definition: fvDOMI.H:97
const volScalarField & G() const
Const access to incident radiation field.
Definition: fvDOMI.H:91
label nPhi() const
Number of angles in phi.
Definition: fvDOMI.H:53
label nBands() const
Number of bands.
Definition: fvDOMI.H:71
const blackBodyEmission & blackBody() const
Const access to black body.
Definition: fvDOMI.H:115
const scalarList & spectralDistribution() const
Energy spectral distribution for external beam.
Definition: fvDOMI.H:146
const volScalarField & aLambda(const label lambdaI) const
Const access to wavelength total absorption coefficient.
Definition: fvDOMI.H:83
label nLambda() const
Number of wavelengths.
Definition: fvDOMI.H:65
const radiativeIntensityRay & IRay(const label rayI) const
Ray intensity for rayI.
Definition: fvDOMI.H:30
vector meshOrientation() const
Return meshOrientation.
Definition: fvDOMI.H:127
Radiation intensity for a ray in a given direction.