Loading...
Searching...
No Matches
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
114inline const Foam::radiation::blackBodyEmission&
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
133inline bool Foam::radiation::fvDOM::useSolarLoad() const
134{
135 return useSolarLoad_;
136}
137
138
140{
141 return useExternalBeam_;
142}
143
144
147{
148 return spectralDistribution_;
149}
150
151
152// ************************************************************************* //
const volScalarField & qin() const
Const access to incident radiative heat flux field.
Definition fvDOM.H:96
const volScalarField & IRayLambda(const label rayI, const label lambdaI) const
Ray intensity for rayI and lambda bandwidth.
Definition fvDOM.H:32
bool useSolarLoad() const
Use solar load.
Definition fvDOM.H:127
label nRay() const
Number of rays.
Definition fvDOM.H:53
const volScalarField & qem() const
Const access to emitted radiative heat flux field.
Definition fvDOM.H:102
bool useExternalBeam() const
Use external beam.
Definition fvDOM.H:133
scalar omegaMax() const
Return omegaMax.
Definition fvDOM.H:115
const volScalarField & a() const
Const access to total absorption coefficient.
Definition fvDOM.H:70
label nTheta() const
Number of angles in theta.
Definition fvDOM.H:41
const volScalarField & qr() const
Const access to total radiative heat flux field.
Definition fvDOM.H:91
const volScalarField & G() const
Const access to incident radiation field.
Definition fvDOM.H:85
label nPhi() const
Number of angles in phi.
Definition fvDOM.H:47
label nBands() const
Number of bands.
Definition fvDOM.H:65
const blackBodyEmission & blackBody() const
Const access to black body.
Definition fvDOM.H:109
const scalarList & spectralDistribution() const
Energy spectral distribution for external beam.
Definition fvDOM.H:140
const volScalarField & aLambda(const label lambdaI) const
Const access to wavelength total absorption coefficient.
Definition fvDOM.H:77
label nLambda() const
Number of wavelengths.
Definition fvDOM.H:59
const radiativeIntensityRay & IRay(const label rayI) const
Ray intensity for rayI.
Definition fvDOM.H:24
vector meshOrientation() const
Return meshOrientation.
Definition fvDOM.H:121
Radiation intensity for a ray in a given direction.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Vector< scalar > vector
Definition vector.H:57
List< scalar > scalarList
List of scalar.
Definition scalarList.H:32