dummy.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::dummy
29 
30 Description
31 
32 SourceFiles
33  dummy.C
34 
35 \*---------------------------------------------------------------------------*/
36 
37 #ifndef dummy_H
38 #define dummy_H
39 
40 #include "IATEsource.H"
41 
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 
44 namespace Foam
45 {
46 namespace diameterModels
47 {
48 namespace IATEsources
49 {
50 
51 /*---------------------------------------------------------------------------*\
52  Class dummy Declaration
53 \*---------------------------------------------------------------------------*/
54 
55 class dummy
56 :
57  public IATEsource
58 {
59 
60 public:
61 
62  //- Runtime type information
63  TypeName("dummy");
64 
65  // Constructors
66 
68  (
69  const word& name,
70  const IATE& iate,
71  const dictionary& dict
72  )
73  :
74  IATEsource(iate)
75  {}
76 
77 
78  //- Destructor
79  virtual ~dummy() = default;
80 
81 
82  // Member Functions
83 
84  virtual tmp<fvScalarMatrix> R
85  (
86  const volScalarField& alphai,
87  volScalarField& kappai
88  ) const;
89 };
90 
91 
92 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
93 
94 } // End namespace IATEsources
95 } // End namespace diameterModels
96 } // End namespace Foam
97 
98 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
99 
100 #endif
101 
102 // ************************************************************************* //
Foam::diameterModels::IATEsource::IATEsource
IATEsource(const IATE &iate)
Definition: IATEsource.H:112
Foam::word
A class for handling words, derived from Foam::string.
Definition: word.H:65
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
Foam::diameterModels::IATEsources::dummy
Definition: dummy.H:54
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::diameterModels::IATEsources::dummy::~dummy
virtual ~dummy()=default
Destructor.
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam::diameterModels::IATEsources::dummy::dummy
dummy(const word &name, const IATE &iate, const dictionary &dict)
Definition: dummy.H:67
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::dummy::R
virtual tmp< volScalarField > R() const
Definition: dummy.C:49
Foam::diameterModels::IATEsources::dummy::TypeName
TypeName("dummy")
Runtime type information.
Foam::name
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Definition: exprTraits.C:59
Foam::GeometricField< scalar, fvPatchField, volMesh >