packingDispersionModel.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) 2024 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::packingDispersionModel
26 
27 Description
28  Packing dispersion model
29 
30 SourceFiles
31  packingDispersionModel.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef packingDispersionModel_H
36 #define packingDispersionModel_H
37 
38 #include "relativeVelocityModel.H"
39 #include "runTimeSelectionTables.H"
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 
46 /*---------------------------------------------------------------------------*\
47  Class packingDispersionModel Declaration
48 \*---------------------------------------------------------------------------*/
49 
51 {
52 
53 protected:
54 
55  // Protected data
56 
57  //- Relative velocity model
59 
60  //- Mixture properties
62 
63 
64 public:
65 
66  //- Runtime type information
67  TypeName("packingDispersionModel");
68 
69  //- Declare runtime constructor selection table
71  (
72  autoPtr,
74  dictionary,
75  (
76  const dictionary& dict,
77  const relativeVelocityModel& relativeVelocity
78  ),
79  (dict, relativeVelocity)
80  );
81 
82 
83  // Constructors
84 
85  //- Construct from components
87  (
88  const relativeVelocityModel& relativeVelocity
89  );
90 
91  //- Disallow default bitwise copy construction
93 
94 
95  // Selector
97  (
98  const dictionary& dict,
99  const relativeVelocityModel& relativeVelocity
100  );
101 
102 
103  //- Destructor
104  virtual ~packingDispersionModel();
105 
106 
107  // Member Functions
108 
109  //- Return the derivative of the packing stress w.r.t. phase-fraction
110  virtual tmp<volScalarField> sigmaPrime() const = 0;
111 
112  //- Return the diffusion coefficient of the dispersed phase
113  virtual tmp<volScalarField> Dd() const;
114 
115 
116  // Member Operators
117 
118  //- Disallow default bitwise assignment
119  void operator=(const packingDispersionModel&) = delete;
120 };
121 
122 
123 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
124 
125 } // End namespace Foam
126 
127 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 
129 #endif
130 
131 // ************************************************************************* //
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: autoPtr.H:51
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Definition: dictionary.H:162
Class to represent a mixture of two constant density phases.
Packing dispersion model.
packingDispersionModel(const relativeVelocityModel &relativeVelocity)
Construct from components.
void operator=(const packingDispersionModel &)=delete
Disallow default bitwise assignment.
virtual tmp< volScalarField > sigmaPrime() const =0
Return the derivative of the packing stress w.r.t. phase-fraction.
virtual tmp< volScalarField > Dd() const
Return the diffusion coefficient of the dispersed phase.
const relativeVelocityModel & relativeVelocity_
Relative velocity model.
declareRunTimeSelectionTable(autoPtr, packingDispersionModel, dictionary,(const dictionary &dict, const relativeVelocityModel &relativeVelocity),(dict, relativeVelocity))
Declare runtime constructor selection table.
virtual ~packingDispersionModel()
Destructor.
TypeName("packingDispersionModel")
Runtime type information.
const incompressibleDriftFluxMixture & mixture_
Mixture properties.
static autoPtr< packingDispersionModel > New(const dictionary &dict, const relativeVelocityModel &relativeVelocity)
A class for managing temporary objects.
Definition: tmp.H:55
Namespace for OpenFOAM.
Macros to ease declaration of run-time selection tables.
dictionary dict