randomCoalescence.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) 2013-2018 OpenFOAM Foundation
9  Copyright (C) 2019 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
12  This file is part of OpenFOAM.
13 
14  OpenFOAM is free software: you can redistribute it and/or modify it
15  under the terms of the GNU General Public License as published by
16  the Free Software Foundation, either version 3 of the License, or
17  (at your option) any later version.
18 
19  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26 
27 Class
28  Foam::diameterModels::IATEsources::randomCoalescence
29 
30 Description
31  Random coalescence IATE source as defined in paper:
32 
33  Reference:
34  \verbatim
35  Ishii, M., Kim, S., & Kelly, J. (2005).
36  Development of interfacial area transport equation.
37  Nuclear Engineering and Technology, 37(6), 525-536.
38  \endverbatim
39 
40 
41 SourceFiles
42  randomCoalescence.C
43 
44 \*---------------------------------------------------------------------------*/
45 
46 #ifndef randomCoalescence_H
47 #define randomCoalescence_H
48 
49 #include "IATEsource.H"
50 
51 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52 
53 namespace Foam
54 {
55 namespace diameterModels
56 {
57 namespace IATEsources
58 {
59 
60 /*---------------------------------------------------------------------------*\
61  Class randomCoalescence Declaration
62 \*---------------------------------------------------------------------------*/
63 
65 :
66  public IATEsource
67 {
68  // Private data
69 
70  dimensionedScalar Crc_;
72  dimensionedScalar alphaMax_;
73 
74 
75 public:
76 
77  //- Runtime type information
78  TypeName("randomCoalescence");
79 
80  // Constructors
81 
83  (
84  const IATE& iate,
85  const dictionary& dict
86  );
87 
88 
89  //- Destructor
90  virtual ~randomCoalescence() = default;
91 
92 
93  // Member Functions
94 
95  virtual tmp<fvScalarMatrix> R
96  (
97  const volScalarField& alphai,
98  volScalarField& kappai
99  ) const;
100 };
101 
102 
103 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104 
105 } // End namespace IATEsources
106 } // End namespace diameterModels
107 } // End namespace Foam
108 
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110 
111 #endif
112 
113 // ************************************************************************* //
Foam::diameterModels::IATEsources::randomCoalescence::randomCoalescence
randomCoalescence(const IATE &iate, const dictionary &dict)
Definition: randomCoalescence.C:51
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:61
Foam::diameterModels::IATE
IATE (Interfacial Area Transport Equation) bubble diameter model.
Definition: IATE.H:68
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::dimensioned< scalar >
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::diameterModels::IATEsource
IATE (Interfacial Area Transport Equation) bubble diameter model run-time selectable sources.
Definition: IATEsource.H:56
Foam::diameterModels::IATEsources::randomCoalescence::R
virtual tmp< volScalarField > R() const
Definition: randomCoalescence.C:65
Foam::diameterModels::IATEsources::randomCoalescence
Random coalescence IATE source as defined in paper:
Definition: randomCoalescence.H:63
Foam::diameterModels::IATEsources::randomCoalescence::TypeName
TypeName("randomCoalescence")
Runtime type information.
Foam::GeometricField< scalar, fvPatchField, volMesh >
Foam::diameterModels::IATEsources::randomCoalescence::~randomCoalescence
virtual ~randomCoalescence()=default
Destructor.