1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
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
13 the Free Software Foundation, either version 3 of the License, or
14 (at your 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, see <http://www.gnu.org/licenses/>.
24 \*---------------------------------------------------------------------------*/
26 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
28 template<class ParcelType>
29 inline Foam::SprayParcel<ParcelType>::SprayParcel
32 const vector& position,
38 ParcelType(mesh, position, cellI, tetFaceI, tetPtI),
53 template<class ParcelType>
54 inline Foam::SprayParcel<ParcelType>::SprayParcel
57 const vector& position,
62 const scalar nParticle0,
64 const scalar dTarget0,
67 const vector& angularMomentum0,
68 const vector& torque0,
69 const scalarField& Y0,
70 const scalar liquidCore,
76 const scalar injector,
79 const typename ParcelType::constantProperties& constProps
101 position0_(position),
102 liquidCore_(liquidCore),
114 // * * * * * * * * * * SprayParcel Member Functions * * * * * * * * * * * * //
116 template<class ParcelType>
117 inline Foam::scalar Foam::SprayParcel<ParcelType>::d0() const
123 template<class ParcelType>
124 inline const Foam::vector& Foam::SprayParcel<ParcelType>::position0() const
130 template<class ParcelType>
131 inline Foam::scalar Foam::SprayParcel<ParcelType>::liquidCore() const
137 template<class ParcelType>
138 inline Foam::scalar Foam::SprayParcel<ParcelType>::KHindex() const
144 template<class ParcelType>
145 inline Foam::scalar Foam::SprayParcel<ParcelType>::y() const
151 template<class ParcelType>
152 inline Foam::scalar Foam::SprayParcel<ParcelType>::yDot() const
158 template<class ParcelType>
159 inline Foam::scalar Foam::SprayParcel<ParcelType>::tc() const
165 template<class ParcelType>
166 inline Foam::scalar Foam::SprayParcel<ParcelType>::ms() const
172 template<class ParcelType>
173 inline Foam::scalar Foam::SprayParcel<ParcelType>::injector() const
179 template<class ParcelType>
180 inline Foam::scalar Foam::SprayParcel<ParcelType>::tMom() const
186 template<class ParcelType>
187 inline Foam::scalar Foam::SprayParcel<ParcelType>::user() const
193 template<class ParcelType>
194 inline Foam::scalar& Foam::SprayParcel<ParcelType>::d0()
200 template<class ParcelType>
201 inline Foam::vector& Foam::SprayParcel<ParcelType>::position0()
207 template<class ParcelType>
208 inline Foam::scalar& Foam::SprayParcel<ParcelType>::liquidCore()
214 template<class ParcelType>
215 inline Foam::scalar& Foam::SprayParcel<ParcelType>::KHindex()
221 template<class ParcelType>
222 inline Foam::scalar& Foam::SprayParcel<ParcelType>::y()
228 template<class ParcelType>
229 inline Foam::scalar& Foam::SprayParcel<ParcelType>::yDot()
235 template<class ParcelType>
236 inline Foam::scalar& Foam::SprayParcel<ParcelType>::tc()
242 template<class ParcelType>
243 inline Foam::scalar& Foam::SprayParcel<ParcelType>::ms()
249 template<class ParcelType>
250 inline Foam::scalar& Foam::SprayParcel<ParcelType>::injector()
256 template<class ParcelType>
257 inline Foam::scalar& Foam::SprayParcel<ParcelType>::tMom()
263 template<class ParcelType>
264 inline Foam::scalar& Foam::SprayParcel<ParcelType>::user()
270 // ************************************************************************* //