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_;
71 // two perpendicular vectors, perpendicular to injection direction
78 //- Runtime type information
79 TypeName("definedHollowConeInjector");
84 //- Construct from components
85 definedHollowConeInjector
87 const dictionary& dict,
94 ~definedHollowConeInjector();
99 //- Return the injected droplet diameter
100 scalar d0(const label injector, const scalar time) const;
102 //- Return the spray angle of the injector
105 const label injector,
116 scalar averageVelocity
124 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
126 } // End namespace Foam
128 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
132 // ************************************************************************* //