binary.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2017-2025 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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.
15 
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
19  for more details.
20 
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/>.
23 
24 Class
25  Foam::populationBalance::breakupModels::binary
26 
27 Description
28  Base class for binary breakup models that provide a breakup rate between a
29  size class pair directly, i.e. without explicitly stating the daughter size
30  distribution function.
31 
32 See also
33  Foam::populationBalanceModel
34 
35 SourceFiles
36  binary.C
37 
38 \*---------------------------------------------------------------------------*/
39 
40 #ifndef binary_H
41 #define binary_H
42 
43 #include "breakupModel.H"
44 
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 
47 namespace Foam
48 {
49 namespace populationBalance
50 {
51 namespace breakupModels
52 {
53 
54 /*---------------------------------------------------------------------------*\
55  Class binary Declaration
56 \*---------------------------------------------------------------------------*/
57 
58 class binary
59 :
60  public breakupModel
61 {
62 public:
63 
64  // Constructor
65 
66  //- Inherit constructors
68 
69 
70  //- Destructor
71  virtual ~binary()
72  {}
73 
74 
75  // Member Functions
76 
77  //- Return the breakup rate between two groups
79  (
80  const label i,
81  const label j
82  ) const = 0;
83 };
84 
85 
86 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
87 
88 } // End namespace breakupModels
89 } // End namespace populationBalance
90 } // End namespace Foam
91 
92 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
93 
94 #endif
95 
96 // ************************************************************************* //
Base class for breakup models which provide a total breakup rate and a separate daughter size distrib...
Definition: breakupModel.H:56
breakupModel(const populationBalanceModel &popBal, const dictionary &dict)
Definition: breakupModel.C:89
Base class for binary breakup models that provide a breakup rate between a size class pair directly,...
Definition: binary.H:60
virtual tmp< volScalarField::Internal > rate(const label i, const label j) const =0
Return the breakup rate between two groups.
A class for managing temporary objects.
Definition: tmp.H:55
Namespace for OpenFOAM.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59