OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

blobsSwirlInjector.H

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002   =========                 |
00003   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
00004    \\    /   O peration     |
00005     \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
00006      \\/     M anipulation  |
00007 -------------------------------------------------------------------------------
00008 License
00009     This file is part of OpenFOAM.
00010 
00011     OpenFOAM is free software; you can redistribute it and/or modify it
00012     under the terms of the GNU General Public License as published by the
00013     Free Software Foundation; either version 2 of the License, or (at your
00014     option) any later version.
00015 
00016     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
00017     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00018     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00019     for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with OpenFOAM; if not, write to the Free Software Foundation,
00023     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00024 
00025 Class
00026     Foam::blobsSwirlInjector
00027 
00028 Description
00029     Model for parcels injection in pressure Swirl Atomizers.
00030 
00031     Accurate description in:
00032     @verbatim
00033         Z. Han, S. Parrish, P.V. Farrell, R.D. Reitz
00034         "Modeling Atomization Processes Of Pressure Swirl Hollow-Cone Fuel Sprays"
00035         Atomization and Sprays, vol. 7, pp. 663-684, 1997
00036     @endverbatim
00037     and
00038     @verbatim
00039         L. Allocca, G. Bella, A. De Vita, L. Di Angelo
00040         "Experimental Validation of a GDI Spray Model"
00041         SAE Technical Paper Series, 2002-01-1137
00042     @endverbatim
00043 
00044 \*---------------------------------------------------------------------------*/
00045 
00046 #ifndef blobsSwirlInjector_H
00047 #define blobsSwirlInjector_H
00048 
00049 #include "injectorModel.H"
00050 #include "scalarList.H"
00051 
00052 
00053 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00054 
00055 namespace Foam
00056 {
00057 /*---------------------------------------------------------------------------*\
00058                            Class blobsSwirlInjector Declaration
00059 \*---------------------------------------------------------------------------*/
00060 
00061 class blobsSwirlInjector
00062 :
00063     public injectorModel
00064 {
00065 
00066 private:
00067 
00068     // Private data
00069 
00070         dictionary blobsSwirlInjectorDict_;
00071 
00072         scalarList coneAngle_;
00073         scalarList coneInterval_;
00074 
00075         scalarList cD_;
00076         scalarList cTau_;
00077         scalarList A_;
00078 
00079     // The initial spray angle for the parcels
00080         mutable scalar angle_;
00081 
00082     // The initial velocity for the parcels
00083         mutable scalar u_;
00084 
00085     // The orifice-air cone area ratio
00086 
00087         mutable scalar x_;
00088 
00089     // The initial sheet tickness
00090 
00091         mutable scalar h_;
00092 
00093     // private member functions
00094 
00095         scalar kv
00096         (
00097             const label inj
00098         ) const;
00099 
00100         scalar deltaPressureInj(const scalar time, const label inj) const;
00101         scalar averagePressure(const label inj) const;
00102 
00103         void calculateHX
00104         (
00105             const label inj,
00106             const scalar massFlow,
00107             const scalar dPressure,
00108             const scalar time
00109         ) const;
00110 
00111 public:
00112 
00113     //- Runtime type information
00114         TypeName("blobsSwirlInjector");
00115 
00116 
00117     // Constructors
00118 
00119         //- Construct from components
00120         blobsSwirlInjector
00121         (
00122             const dictionary& dict,
00123             spray& sm
00124         );
00125 
00126 
00127     // Destructor
00128 
00129         ~blobsSwirlInjector();
00130 
00131 
00132     // Member Functions
00133 
00134         //- Return the injected droplet diameter
00135         scalar d0(const label injector, const scalar time) const;
00136 
00137         //- Return the spray angle of the injector
00138         vector direction
00139         (
00140             const label injector,
00141             const label hole,
00142             const scalar time,
00143             const scalar d
00144         ) const;
00145 
00146         scalar velocity
00147         (
00148             const label i,
00149             const scalar time
00150         ) const;
00151 
00152         scalar averageVelocity
00153         (
00154             const label i
00155         ) const;
00156 
00157 
00158 };
00159 
00160 
00161 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00162 
00163 } // End namespace Foam
00164 
00165 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00166 
00167 #endif
00168 
00169 // ************************************************************************* //
Copyright © 2000-2009 OpenCFD Ltd