Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
thermophysicalModels
radiation
radiationModel
P1
P1.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) 1991-2010 OpenCFD Ltd.
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
Class
25
Foam::radiation::P1
26
27
Description
28
Works well for combustion applications where optical thickness, tau is
29
large, i.e. tau = a*L > 3 (L = distance between objects)
30
31
Assumes
32
- all surfaces are diffuse
33
- tends to over predict radiative fluxes from sources/sinks
34
*** SOURCES NOT CURRENTLY INCLUDED ***
35
36
SourceFiles
37
P1.C
38
39
\*---------------------------------------------------------------------------*/
40
41
#ifndef radiationModelP1_H
42
#define radiationModelP1_H
43
44
#include <
radiation/radiationModel.H
>
45
46
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47
48
namespace
Foam
49
{
50
namespace
radiation
51
{
52
53
/*---------------------------------------------------------------------------*\
54
Class P1 Declaration
55
\*---------------------------------------------------------------------------*/
56
57
class
P1
58
:
59
public
radiationModel
60
{
61
// Private data
62
63
//- Incident radiation / [W/m2]
64
volScalarField
G_;
65
66
//- Total radiative heat flux [W/m2]
67
volScalarField
Qr_;
68
69
//- Absorption coefficient
70
volScalarField
a_;
71
72
//- Emission coefficient
73
volScalarField
e_;
74
75
//- Emission contribution
76
volScalarField
E_;
77
78
79
// Private member functions
80
81
//- Disallow default bitwise copy construct
82
P1
(
const
P1
&);
83
84
//- Disallow default bitwise assignment
85
void
operator=(
const
P1
&);
86
87
88
public
:
89
90
//- Runtime type information
91
TypeName
(
"P1"
);
92
93
94
// Constructors
95
96
//- Construct from components
97
P1
(
const
volScalarField
&
T
);
98
99
100
// Destructor
101
virtual
~P1
();
102
103
104
// Member functions
105
106
// Edit
107
108
//- Solve radiation equation(s)
109
void
calculate
();
110
111
//- Read radiation properties dictionary
112
bool
read
();
113
114
115
// Access
116
117
//- Source term component (for power of T^4)
118
virtual
tmp<volScalarField>
Rp
()
const
;
119
120
//- Source term component (constant)
121
virtual
tmp<DimensionedField<scalar, volMesh>
>
Ru
()
const
;
122
};
123
124
125
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
126
127
}
// End namespace radiation
128
}
// End namespace Foam
129
130
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
131
132
#endif
133
134
// ************************ vim: set sw=4 sts=4 et: ************************ //