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-------------------------------------------------------------------------------
10License
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
26Class
27 Foam::diameterModels::binaryBreakupModels::powerLawUniformBinary
28
29Description
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
34SourceFiles
35 powerLawUniformBinary.C
36
37\*---------------------------------------------------------------------------*/
38
39#ifndef powerLawUniformBinary_H
40#define powerLawUniformBinary_H
41
42#include "binaryBreakupModel.H"
43
44// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46namespace Foam
47{
48namespace diameterModels
49{
50namespace binaryBreakupModels
51{
52
53/*---------------------------------------------------------------------------*\
54 Class powerLawUniformBinary Declaration
55\*---------------------------------------------------------------------------*/
58:
60{
61 // Private data
62
63 //- Power
64 scalar power_;
65
66
67public:
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// ************************************************************************* //
Base class for binary breakup models which give the breakup rate between a sizeGroup pair directly,...
Powerlaw kernel with a uniform daughter size distribution. Used for verification and validation of th...
virtual void addToBinaryBreakupRate(volScalarField &binaryBreakupRate, const label i, const label j)
Add to binary breakupRate.
TypeName("powerLawUniformBinary")
Runtime type information.
Class that solves the univariate population balance equation by means of a class method (also called ...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
Namespace for OpenFOAM.
dictionary dict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73