QGDsolver
The open source CFD toolbox
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Groups
QGD
thermoModels
rhoQGDThermo
heRhoQGDThermo.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) 2011-2016 OpenFOAM Foundation
9
Copyright (C) 2019 OpenCFD Ltd.
10
Copyright (C) 2016-2019 ISP RAS (www.ispras.ru) UniCFD Group (www.unicfd.ru)
11
-------------------------------------------------------------------------------
12
13
License
14
This file is part of QGDsolver, based on OpenFOAM library.
15
16
OpenFOAM is free software: you can redistribute it and/or modify it
17
under the terms of the GNU General Public License as published by
18
the Free Software Foundation, either version 3 of the License, or
19
(at your option) any later version.
20
21
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
22
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
24
for more details.
25
26
You should have received a copy of the GNU General Public License
27
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
28
29
30
31
Class
32
Foam::heRhoThermo
33
34
Group
35
grpRhoQGDThermo
36
37
Description
38
Energy for a mixture based on density
39
40
SourceFiles
41
heRhoQGDThermo.C
42
43
\*---------------------------------------------------------------------------*/
44
45
#ifndef heRhoQGDThermo_H
46
#define heRhoQGDThermo_H
47
48
#include "rhoThermo.H"
49
#include "heThermo.H"
50
51
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52
53
namespace
Foam
54
{
55
56
/*---------------------------------------------------------------------------*\
57
Class heRhoQGDThermo Declaration
58
\*---------------------------------------------------------------------------*/
59
60
template
<
class
BasicPsiThermo,
class
MixtureType>
61
class
heRhoQGDThermo
62
:
63
public
heThermo<BasicPsiThermo, MixtureType>
64
{
65
// Private Member Functions
66
67
//- Calculate the thermo variables
68
void
calculate();
69
70
//- Construct as copy (not implemented)
71
heRhoQGDThermo
(
const
heRhoQGDThermo<BasicPsiThermo, MixtureType>
&);
72
73
public
:
74
75
//- Runtime type information
76
TypeName
(
"heRhoQGDThermo"
);
77
78
79
// Constructors
80
81
//- Construct from mesh and phase name
82
heRhoQGDThermo
83
(
84
const
fvMesh&,
85
const
word& phaseName
86
);
87
88
89
//- Construct from mesh and phase name and dictionary name
90
heRhoQGDThermo
91
(
92
const
fvMesh&,
93
const
word& phaseName,
94
const
word& dictionaryName
95
);
96
97
//- Destructor
98
virtual
~heRhoQGDThermo
();
99
100
101
// Member functions
102
103
//- Update properties
104
virtual
void
correct
();
105
106
// Accesss functions
107
108
//virtual tmp<volScalarField> gamma() const;
109
110
};
111
112
113
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
114
115
}
// End namespace Foam
116
117
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
118
119
#ifdef NoRepository
120
#include "
heRhoQGDThermo.C
"
121
#endif
122
123
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
124
125
#endif
126
127
// ************************************************************************* //
Foam::heRhoQGDThermo
Definition:
heRhoQGDThermo.H:56
heRhoQGDThermo.C
Foam::heRhoQGDThermo::~heRhoQGDThermo
virtual ~heRhoQGDThermo()
Destructor.
Definition:
heRhoQGDThermo.C:170
Foam::heRhoQGDThermo::TypeName
TypeName("heRhoQGDThermo")
Runtime type information.
Foam::heRhoQGDThermo::correct
virtual void correct()
Update properties.
Definition:
heRhoQGDThermo.C:177
Generated by
1.8.5