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/>.
28 Dummy breakup model for 'none'
30 \*---------------------------------------------------------------------------*/
35 #include "BreakupModel.H"
37 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 /*---------------------------------------------------------------------------*\
42 Class NoBreakup Declaration
43 \*---------------------------------------------------------------------------*/
45 template<class CloudType>
48 public BreakupModel<CloudType>
52 //- Runtime type information
58 //- Construct from dictionary
59 NoBreakup(const dictionary&, CloudType&);
62 NoBreakup(const NoBreakup<CloudType>& bum);
64 //- Construct and return a clone
65 virtual autoPtr<BreakupModel<CloudType> > clone() const
67 return autoPtr<BreakupModel<CloudType> >
69 new NoBreakup<CloudType>(*this)
80 //- Flag to indicate whether model activates break-up model
81 virtual bool active() const;
83 //- update the parcel properties
105 const scalar averageParcelMass,
113 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115 } // End namespace Foam
117 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120 # include "NoBreakup.C"
123 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
127 // ************************************************************************* //