OpenFOAM: API Guide
v2012
The open source CFD toolbox
turbulentFluidThermoModel.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) 2015-2016 OpenFOAM Foundation
9
-------------------------------------------------------------------------------
10
License
11
This file is part of OpenFOAM.
12
13
OpenFOAM is free software: you can redistribute it and/or modify it
14
under the terms of the GNU General Public License as published by
15
the Free Software Foundation, either version 3 of the License, or
16
(at your option) any later version.
17
18
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
for more details.
22
23
You should have received a copy of the GNU General Public License
24
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26
Typedef
27
Foam::compressible::turbulenceModel
28
29
Typedef
30
Foam::compressible::RASModel
31
32
Typedef
33
Foam::compressible::LESModel
34
35
Description
36
Typedefs for turbulence, RAS and LES models for compressible flow
37
based on the standard laminar transport package.
38
39
SourceFiles
40
turbulentFluidThermoModel.C
41
turbulentFluidThermoModels.C
42
43
\*---------------------------------------------------------------------------*/
44
45
#ifndef turbulentFluidThermoModel_H
46
#define turbulentFluidThermoModel_H
47
48
#include "
CompressibleTurbulenceModel.H
"
49
#include "
ThermalDiffusivity.H
"
50
#include "
EddyDiffusivity.H
"
51
#include "
laminarModel.H
"
52
#include "
RASModel.H
"
53
#include "
LESModel.H
"
54
#include "
fluidThermo.H
"
55
56
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
57
58
namespace
Foam
59
{
60
namespace
compressible
61
{
62
typedef
ThermalDiffusivity<CompressibleTurbulenceModel<fluidThermo>>
63
turbulenceModel
;
64
65
typedef
laminarModel<turbulenceModel>
laminarModel
;
66
typedef
RASModel<EddyDiffusivity<turbulenceModel>
>
RASModel
;
67
typedef
LESModel<EddyDiffusivity<turbulenceModel>
>
LESModel
;
68
69
template
<
class
BasicCompressibleTurbulenceModel>
70
autoPtr<BasicCompressibleTurbulenceModel>
New
71
(
72
const
volScalarField
&
rho
,
73
const
volVectorField
&
U
,
74
const
surfaceScalarField
&
phi
,
75
const
typename
BasicCompressibleTurbulenceModel::transportModel&
76
transport,
77
const
word
& propertiesName =
turbulenceModel::propertiesName
78
);
79
}
80
}
81
82
83
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
84
85
#ifdef NoRepository
86
#include "
turbulentFluidThermoModel.C
"
87
#endif
88
89
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
90
91
#endif
92
93
// ************************************************************************* //
Foam::compressible::laminarModel
laminarModel< turbulenceModel > laminarModel
Definition:
turbulentFluidThermoModel.H:65
Foam::word
A class for handling words, derived from Foam::string.
Definition:
word.H:62
Foam::compressible::New
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
Definition:
turbulentFluidThermoModel.C:38
ThermalDiffusivity.H
fluidThermo.H
Foam::turbulenceModel::propertiesName
static const word propertiesName
Default name of the turbulence properties dictionary.
Definition:
turbulenceModel.H:100
rho
rho
Definition:
readInitialConditions.H:88
Foam::compressible::turbulenceModel
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
Definition:
turbulentFluidThermoModel.H:63
LESModel.H
phi
surfaceScalarField & phi
Definition:
setRegionFluidFields.H:8
CompressibleTurbulenceModel.H
compressible
bool compressible
Definition:
pEqn.H:2
RASModel.H
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
Foam::compressible::LESModel
LESModel< EddyDiffusivity< turbulenceModel > > LESModel
Typedefs for turbulence, RAS and LES models for compressible flow based on the standard laminar trans...
Definition:
turbulentFluidThermoModel.H:67
Foam::autoPtr
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition:
HashPtrTable.H:53
U
U
Definition:
pEqn.H:72
laminarModel.H
Foam::compressible::RASModel
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
Definition:
turbulentFluidThermoModel.H:66
turbulentFluidThermoModel.C
Foam::GeometricField< scalar, fvPatchField, volMesh >
EddyDiffusivity.H
src
TurbulenceModels
compressible
turbulentFluidThermoModels
turbulentFluidThermoModel.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.