OpenFOAM
v2312
The open source CFD toolbox
multivariateIndependentScheme.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 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
\*---------------------------------------------------------------------------*/
27
28
#include "
multivariateIndependentScheme.H
"
29
#include "
limitedSurfaceInterpolationScheme.H
"
30
#include "
volFields.H
"
31
#include "
surfaceFields.H
"
32
#include "
upwind.H
"
33
34
35
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
36
37
template
<
class
Type>
38
Foam::multivariateIndependentScheme<Type>::multivariateIndependentScheme
39
(
40
const
fvMesh
&
mesh
,
41
const
typename
multivariateSurfaceInterpolationScheme<Type>
::
42
fieldTable
&
fields
,
43
const
surfaceScalarField
& faceFlux,
44
Istream
& schemeData
45
)
46
:
47
multivariateSurfaceInterpolationScheme
<Type>
48
(
49
mesh
,
50
fields
,
51
faceFlux,
52
schemeData
53
),
54
schemes_(schemeData),
55
faceFlux_(faceFlux)
56
{}
57
58
59
// ************************************************************************* //
surfaceFields.H
Foam::surfaceFields.
Foam::Istream
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Definition:
Istream.H:57
Foam::GeometricField< scalar, fvsPatchField, surfaceMesh >
fields
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Definition:
createFields.H:97
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:6
Foam::multivariateIndependentScheme
Generic multi-variate discretisation scheme class for which any of the NVD, CNVD or NVDV schemes may ...
Definition:
multivariateIndependentScheme.H:54
multivariateIndependentScheme.H
Foam::multivariateSurfaceInterpolationScheme::fieldTable
fieldTable
Definition:
multivariateSurfaceInterpolationScheme.H:58
upwind.H
limitedSurfaceInterpolationScheme.H
Foam::fvMesh
Mesh data needed to do the Finite Volume discretisation.
Definition:
fvMesh.H:78
Foam::multivariateSurfaceInterpolationScheme
Abstract base class for multi-variate surface interpolation schemes.
Definition:
multivariateSurfaceInterpolationScheme.H:48
volFields.H
src
finiteVolume
interpolation
surfaceInterpolation
multivariateSchemes
multivariateIndependentScheme
multivariateIndependentScheme.C
Generated by
1.8.14