1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2008 OpenCFD Ltd.
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
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 the
13 Free Software Foundation; either version 2 of the License, or (at your
14 option) any later version.
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
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM; if not, write to the Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 \*---------------------------------------------------------------------------*/
27 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
32 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
34 inline const List<word>& parcel::liquidNames() const
36 return liquidComponents_;
39 inline const List<word>& parcel::fuelNames() const
41 return liquidComponents_;
44 inline scalar parcel::d() const
49 inline scalar& parcel::d()
54 inline scalar parcel::T() const
59 inline scalar& parcel::T()
64 inline scalar parcel::m() const
69 inline scalar& parcel::m()
74 inline scalar parcel::dev() const
79 inline scalar& parcel::dev()
84 inline scalar parcel::ddev() const
89 inline scalar& parcel::ddev()
94 inline scalar parcel::ct() const
99 inline scalar& parcel::ct()
104 inline scalar& parcel::ms()
109 inline scalar parcel::ms() const
114 inline scalar& parcel::tTurb()
119 inline scalar parcel::tTurb() const
124 inline scalar& parcel::liquidCore()
129 inline scalar parcel::liquidCore() const
134 inline scalar& parcel::injector()
139 inline scalar parcel::injector() const
144 inline const vector& parcel::U() const
149 inline vector& parcel::U()
154 inline const vector& parcel::Uturb() const
159 inline vector& parcel::Uturb()
164 inline const vector& parcel::n() const
169 inline vector& parcel::n()
174 inline const scalarField& parcel::X() const
179 inline scalarField& parcel::X()
184 inline scalar& parcel::tMom()
189 inline scalar parcel::tMom() const
194 inline vector parcel::Urel(const vector& U) const
199 inline void parcel::correctNormal
204 scalar d = position() & sym;
205 n_ = position() - d*sym;
210 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
212 } // End namespace Foam
214 // ************************************************************************* //