powerLawUniformBinary.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2017-2018 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 Class
27  Foam::diameterModels::binaryBreakupModels::powerLawUniformBinary
28 
29 Description
30  Powerlaw kernel with a uniform daughter size distribution. Used for
31  verification and validation of the binary breakup formulation implemented
32  in the populationBalanceModel class.
33 
34 SourceFiles
35  powerLawUniformBinary.C
36 
37 \*---------------------------------------------------------------------------*/
38 
39 #ifndef powerLawUniformBinary_H
40 #define powerLawUniformBinary_H
41 
42 #include "binaryBreakupModel.H"
43 
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 
46 namespace Foam
47 {
48 namespace diameterModels
49 {
50 namespace binaryBreakupModels
51 {
52 
53 /*---------------------------------------------------------------------------*\
54  Class powerLawUniformBinary Declaration
55 \*---------------------------------------------------------------------------*/
56 
58 :
59  public binaryBreakupModel
60 {
61  // Private data
62 
63  //- Power
64  scalar power_;
65 
66 
67 public:
68 
69  //- Runtime type information
70  TypeName("powerLawUniformBinary");
71 
72  // Constructor
73 
75  (
76  const populationBalanceModel& popBal,
77  const dictionary& dict
78  );
79 
80 
81  //- Destructor
82  virtual ~powerLawUniformBinary() = default;
83 
84 
85  // Member Functions
86 
87  //- Add to binary breakupRate
88  virtual void addToBinaryBreakupRate
89  (
90  volScalarField& binaryBreakupRate,
91  const label i,
92  const label j
93  );
94 };
95 
96 
97 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
98 
99 } // End namespace binaryBreakupModels
100 } // End namespace diameterModels
101 } // End namespace Foam
102 
103 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104 
105 #endif
106 
107 // ************************************************************************* //
Foam::diameterModels::binaryBreakupModels::powerLawUniformBinary::TypeName
TypeName("powerLawUniformBinary")
Runtime type information.
binaryBreakupModel.H
Foam::diameterModels::binaryBreakupModels::powerLawUniformBinary
Powerlaw kernel with a uniform daughter size distribution. Used for verification and validation of th...
Definition: powerLawUniformBinary.H:56
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam::diameterModels::binaryBreakupModels::powerLawUniformBinary::~powerLawUniformBinary
virtual ~powerLawUniformBinary()=default
Destructor.
Foam::diameterModels::populationBalanceModel
Class that solves the univariate population balance equation by means of a class method (also called ...
Definition: populationBalanceModel.H:179
Foam::diameterModels::binaryBreakupModels::powerLawUniformBinary::powerLawUniformBinary
powerLawUniformBinary(const populationBalanceModel &popBal, const dictionary &dict)
Definition: powerLawUniformBinary.C:56
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::diameterModels::binaryBreakupModels::powerLawUniformBinary::addToBinaryBreakupRate
virtual void addToBinaryBreakupRate(volScalarField &binaryBreakupRate, const label i, const label j)
Add to binary breakupRate.
Definition: powerLawUniformBinary.C:71
Foam::diameterModels::binaryBreakupModel
Base class for binary breakup models which give the breakup rate between a sizeGroup pair directly,...
Definition: binaryBreakupModel.H:54
Foam::GeometricField< scalar, fvPatchField, volMesh >