Loading...
Searching...
No Matches
edgeInterpolate.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-2017 Wikki Ltd
9-------------------------------------------------------------------------------
10License
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
26InNamespace
27 Foam::fac
28
29Description
30
31SourceFiles
32 edgeInterpolate.C
33
34\*---------------------------------------------------------------------------*/
35
36#ifndef edgeInterpolate_H
37#define edgeInterpolate_H
38
39#include "areaFieldsFwd.H"
40#include "edgeFieldsFwd.H"
42
43// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44
45namespace Foam
46{
47
48/*---------------------------------------------------------------------------*\
49 Namespace fa functions Declaration
50\*---------------------------------------------------------------------------*/
51
52namespace fac
53{
54 //- Return weighting factors for scheme given from Istream
55 template<class Type>
57 (
58 const edgeScalarField& faceFlux,
59 Istream& schemeData
60 );
61
62 //- Return weighting factors for scheme given by name in dictionary
63 template<class Type>
65 (
66 const edgeScalarField& faceFlux,
67 const word& name
68 );
69
70
71 //- Return weighting factors for scheme given from Istream
72 template<class Type>
74 (
75 const faMesh& mesh,
76 Istream& schemeData
77 );
78
79 //- Return weighting factors for scheme given by name in dictionary
80 template<class Type>
82 (
83 const faMesh& mesh,
84 const word& name
85 );
86
87
88 //- Interpolate field onto faces using scheme given by Istream
89 template<class Type>
91 (
93 const edgeScalarField& faceFlux,
94 Istream& schemeData
95 );
97 //- Interpolate field onto faces using scheme given by name in faSchemes
98 template<class Type>
100 (
102 const edgeScalarField& faceFlux,
103 const word& name
104 );
105
106 //- Interpolate field onto faces using scheme given by name in faSchemes
107 template<class Type>
109 (
111 const edgeScalarField& faceFlux,
112 const word& name
113 );
114
115 //- Interpolate field onto faces using scheme given by name in faSchemes
116 template<class Type>
120 const tmp<edgeScalarField>& faceFlux,
121 const word& name
122 );
123
124 //- Interpolate field onto faces using scheme given by name in faSchemes
125 template<class Type>
127 (
129 const tmp<edgeScalarField>& faceFlux,
130 const word& name
131 );
132
133
134 //- Interpolate field onto faces using scheme given by Istream
135 template<class Type>
137 (
139 Istream& schemeData
140 );
141
142 //- Interpolate field onto faces using scheme given by name in faSchemes
143 template<class Type>
145 (
147 const word& name
148 );
149
150 //- Interpolate field onto faces using scheme given by name in faSchemes
151 template<class Type>
153 (
155 const word& name
156 );
157
158
159 //- Interpolate tmp field onto faces using central differencing
160 template<class Type>
164 );
165
166 //- Interpolate field onto faces using central differencing
167 template<class Type>
169 (
171 );
173
174
175// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
176
177} // End namespace Foam
178
179// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
180
181#ifdef NoRepository
182 #include "edgeInterpolate.C"
183#endif
184
185// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
186
187#endif
188
189// ************************************************************************* //
Forwards and collection of common area field types.
Generic GeometricField class.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Definition Istream.H:60
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
Definition faMesh.H:140
A class for managing temporary objects.
Definition tmp.H:75
A class for handling words, derived from Foam::string.
Definition word.H:66
dynamicFvMesh & mesh
Forwards for edge field types.
static tmp< edgeInterpolationScheme< Type > > scheme(const edgeScalarField &faceFlux, Istream &schemeData)
Return weighting factors for scheme given from Istream.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
Namespace for OpenFOAM.
GeometricField< scalar, faePatchField, edgeMesh > edgeScalarField
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
Definition exprTraits.C:127