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
lagrangian
dieselSpray
parcel
parcelI.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
\*---------------------------------------------------------------------------*/
25
26
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
27
28
namespace
Foam
29
{
30
31
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
32
33
inline
const
List<word>
&
parcel::liquidNames
()
const
34
{
35
return
liquidComponents_;
36
}
37
38
inline
const
List<word>
&
parcel::fuelNames
()
const
39
{
40
return
liquidComponents_;
41
}
42
43
inline
scalar
parcel::d
()
const
44
{
45
return
d_;
46
}
47
48
inline
scalar&
parcel::d
()
49
{
50
return
d_;
51
}
52
53
inline
scalar
parcel::T
()
const
54
{
55
return
T_;
56
}
57
58
inline
scalar&
parcel::T
()
59
{
60
return
T_;
61
}
62
63
inline
scalar
parcel::m
()
const
64
{
65
return
m_;
66
}
67
68
inline
scalar&
parcel::m
()
69
{
70
return
m_;
71
}
72
73
inline
scalar
parcel::dev
()
const
74
{
75
return
y_;
76
}
77
78
inline
scalar&
parcel::dev
()
79
{
80
return
y_;
81
}
82
83
inline
scalar
parcel::ddev
()
const
84
{
85
return
yDot_;
86
}
87
88
inline
scalar&
parcel::ddev
()
89
{
90
return
yDot_;
91
}
92
93
inline
scalar
parcel::ct
()
const
94
{
95
return
ct_;
96
}
97
98
inline
scalar&
parcel::ct
()
99
{
100
return
ct_;
101
}
102
103
inline
scalar&
parcel::ms
()
104
{
105
return
ms_;
106
}
107
108
inline
scalar
parcel::ms
()
const
109
{
110
return
ms_;
111
}
112
113
inline
scalar&
parcel::tTurb
()
114
{
115
return
tTurb_;
116
}
117
118
inline
scalar
parcel::tTurb
()
const
119
{
120
return
tTurb_;
121
}
122
123
inline
scalar&
parcel::liquidCore
()
124
{
125
return
liquidCore_;
126
}
127
128
inline
scalar
parcel::liquidCore
()
const
129
{
130
return
liquidCore_;
131
}
132
133
inline
scalar&
parcel::injector
()
134
{
135
return
injector_;
136
}
137
138
inline
scalar
parcel::injector
()
const
139
{
140
return
injector_;
141
}
142
143
inline
const
vector
&
parcel::U
()
const
144
{
145
return
U_;
146
}
147
148
inline
vector
&
parcel::U
()
149
{
150
return
U_;
151
}
152
153
inline
const
vector
&
parcel::Uturb
()
const
154
{
155
return
Uturb_;
156
}
157
158
inline
vector
&
parcel::Uturb
()
159
{
160
return
Uturb_;
161
}
162
163
inline
const
vector
&
parcel::n
()
const
164
{
165
return
n_;
166
}
167
168
inline
vector
&
parcel::n
()
169
{
170
return
n_;
171
}
172
173
inline
const
scalarField
&
parcel::X
()
const
174
{
175
return
X_;
176
}
177
178
inline
scalarField
&
parcel::X
()
179
{
180
return
X_;
181
}
182
183
inline
scalar&
parcel::tMom
()
184
{
185
return
tMom_;
186
}
187
188
inline
scalar
parcel::tMom
()
const
189
{
190
return
tMom_;
191
}
192
193
inline
vector
parcel::Urel
(
const
vector
&
U
)
const
194
{
195
return
U_ -
U
;
196
}
197
198
inline
void
parcel::correctNormal
199
(
200
const
vector
& sym
201
)
202
{
203
scalar
d
= position() & sym;
204
n_ = position() - d*sym;
205
n_ /=
mag
(n_);
206
}
207
208
209
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
210
211
}
// End namespace Foam
212
213
// ************************ vim: set sw=4 sts=4 et: ************************ //