phaseChange.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) 2016-2018 OpenFOAM Foundation
9 Copyright (C) 2019 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
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
27Class
28 Foam::diameterModels::IATEsources::phaseChange
29
30Description
31 Phase-change IATE source.
32
33SourceFiles
34 phaseChange.C
35
36\*---------------------------------------------------------------------------*/
37
38#ifndef phaseChange_H
39#define phaseChange_H
40
41#include "IATEsource.H"
42
43// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44
45namespace Foam
46{
47namespace diameterModels
48{
49namespace IATEsources
50{
51
52/*---------------------------------------------------------------------------*\
53 Class phaseChange Declaration
54\*---------------------------------------------------------------------------*/
56class phaseChange
57:
58 public IATEsource
59{
60 // Private data
61
62 //- Phase pair name
63 word pairName_;
64
65 //- Pointer to the corresponding iDmdt field
66 mutable const volScalarField* iDmdtPtr_;
67
68public:
69
70 //- Runtime type information
71 TypeName("phaseChange");
72
73
74 // Constructors
75
77 (
78 const IATE& iate,
79 const dictionary& dict
80 );
81
82
83 //- Destructor
84 virtual ~phaseChange() = default;
85
86
87 // Member Functions
88
90 (
91 const volScalarField& alphai,
92 volScalarField& kappai
93 ) const;
94};
95
96
97// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
98
99} // End namespace IATEsources
100} // End namespace diameterModels
101} // End namespace Foam
102
103// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104
105#endif
106
107// ************************************************************************* //
IATE (Interfacial Area Transport Equation) bubble diameter model.
Definition: IATE.H:71
IATE (Interfacial Area Transport Equation) bubble diameter model run-time selectable sources.
Definition: IATEsource.H:57
virtual tmp< volScalarField > R() const =0
TypeName("phaseChange")
Runtime type information.
virtual ~phaseChange()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
A class for managing temporary objects.
Definition: tmp.H:65
A class for handling words, derived from Foam::string.
Definition: word.H:68
Namespace for OpenFOAM.
dictionary dict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73