1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2004-2011 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
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/>.
28 Injector model based on an idea of Jerzy Chomiak.
30 Given the initial droplet size distribution in an interval d = (d0, d1),
31 the spray angle phi = phi(d), such that
32 the largest droplets have zero spray angle
33 and the smallest droplets have maximum spray angle.
34 i.e. phi(d=d1) = 0, phi(d=d0) = phiMax,
35 where phiMax is a model parameter.
37 \*---------------------------------------------------------------------------*/
39 #ifndef ChomiakInjector_H
40 #define ChomiakInjector_H
42 #include "injectorModel.H"
43 #include "scalarList.H"
44 #include "distributionModel.H"
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 /*---------------------------------------------------------------------------*\
52 Class ChomiakInjector Declaration
53 \*---------------------------------------------------------------------------*/
64 dictionary ChomiakDict_;
66 autoPtr<distributionModels::distributionModel> sizeDistribution_;
67 scalarList maxSprayAngle_;
72 //- Runtime type information
73 TypeName("ChomiakInjector");
78 //- Construct from components
79 ChomiakInjector(const dictionary& dict, spray& sm);
83 virtual ~ChomiakInjector();
88 //- Return the injected droplet diameter
89 scalar d0(const label injector, const scalar time) const;
91 //- Return the spray angle of the injector
106 scalar averageVelocity
113 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115 } // End namespace Foam
117 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
121 // ************************************************************************* //