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
26 Foam::definedHollowConeInjector
29 An injector model for hollow/solid cone injection
32 - inner/outer cone angle vs. time
35 \*---------------------------------------------------------------------------*/
37 #ifndef definedHollowConeInjector_H
38 #define definedHollowConeInjector_H
40 #include "injectorModel.H"
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 /*---------------------------------------------------------------------------*\
49 Class definedHollowConeInjector Declaration
50 \*---------------------------------------------------------------------------*/
52 class definedHollowConeInjector
61 typedef VectorSpace<Vector<scalar>, scalar, 2> pair;
63 dictionary definedHollowConeDict_;
64 autoPtr<pdf> dropletPDF_;
66 // inner and outer cone angle time histories
67 // 2 column vectors = (time, coneAngle)
68 List<pair> innerConeAngle_;
69 List<pair> outerConeAngle_;
73 //- Runtime type information
74 TypeName("definedHollowConeInjector");
79 //- Construct from components
80 definedHollowConeInjector
82 const dictionary& dict,
89 ~definedHollowConeInjector();
94 //- Return the injected droplet diameter
95 scalar d0(const label injector, const scalar time) const;
97 //- Return the spray angle of the injector
100 const label injector,
112 scalar averageVelocity
120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 } // End namespace Foam
124 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 // ************************************************************************* //