OpenFOAM: API Guide
v2112
The open source CFD toolbox
convectionSchemes.C
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
-------------------------------------------------------------------------------
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
Description
27
Abstract base class for finite volume calculus convection schemes.
28
29
\*---------------------------------------------------------------------------*/
30
31
#include "
convectionScheme.H
"
32
33
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
34
35
namespace
Foam
36
{
37
38
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
39
40
namespace
fv
41
{
42
43
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44
// Define the constructor function hash tables
45
46
#define makeBaseConvectionScheme(Type) \
47
\
48
defineTemplateRunTimeSelectionTable \
49
( \
50
convectionScheme<Type>, \
51
Istream \
52
); \
53
\
54
defineTemplateRunTimeSelectionTable \
55
( \
56
convectionScheme<Type>, \
57
Multivariate \
58
);
59
60
61
makeBaseConvectionScheme
(scalar)
62
makeBaseConvectionScheme
(
vector
)
63
makeBaseConvectionScheme
(
sphericalTensor
)
64
makeBaseConvectionScheme
(
symmTensor
)
65
makeBaseConvectionScheme
(
tensor
)
66
67
68
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
69
70
}
// End namespace fv
71
72
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
73
74
}
// End namespace Foam
75
76
// ************************************************************************* //
convectionScheme.H
Foam::sphericalTensor
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
Definition:
sphericalTensor.H:54
makeBaseConvectionScheme
#define makeBaseConvectionScheme(Type)
Definition:
convectionSchemes.C:46
Foam::symmTensor
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
Definition:
symmTensor.H:59
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
Foam::vector
Vector< scalar > vector
A scalar version of the templated Vector.
Definition:
vector.H:51
fv
labelList fv(nPoints)
Foam::tensor
Tensor< scalar > tensor
Tensor of scalars, i.e. Tensor<scalar>.
Definition:
symmTensor.H:61
src
finiteVolume
finiteVolume
convectionSchemes
convectionScheme
convectionSchemes.C
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.