Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
finiteVolume
finiteVolume
fvc
fvcMeshPhi.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 | Copyright (C) 1991-2010 OpenCFD Ltd.
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
License
9
This file is part of OpenFOAM.
10
11
OpenFOAM is free software: you can redistribute it and/or modify it
12
under the terms of the GNU General Public License as published by
13
the Free Software Foundation, either version 3 of the License, or
14
(at your option) any later version.
15
16
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19
for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23
24
InNamespace
25
Foam::fvc
26
27
Description
28
Calculate the mesh motion flux and convert fluxes from absolute to relative
29
and back.
30
31
SourceFiles
32
fvcMeshPhi.C
33
34
\*---------------------------------------------------------------------------*/
35
36
37
#ifndef fvcMeshPhi_H
38
#define fvcMeshPhi_H
39
40
#include <
finiteVolume/volFieldsFwd.H
>
41
#include <
finiteVolume/surfaceFieldsFwd.H
>
42
#include <
OpenFOAM/dimensionedTypes.H
>
43
44
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45
46
namespace
Foam
47
{
48
49
/*---------------------------------------------------------------------------*\
50
Namespace fvc functions Declaration
51
\*---------------------------------------------------------------------------*/
52
53
namespace
fvc
54
{
55
tmp<surfaceScalarField>
meshPhi
56
(
57
const
volVectorField
&
U
58
);
59
60
tmp<surfaceScalarField>
meshPhi
61
(
62
const
dimensionedScalar
&
rho
,
63
const
volVectorField
&
U
64
);
65
66
tmp<surfaceScalarField>
meshPhi
67
(
68
const
volScalarField
&
rho
,
69
const
volVectorField
&
U
70
);
71
72
73
//- Make the given flux relative
74
void
makeRelative
75
(
76
surfaceScalarField
&
phi
,
77
const
volVectorField
&
U
78
);
79
80
//- Make the given flux relative
81
void
makeRelative
82
(
83
surfaceScalarField
&
phi
,
84
const
dimensionedScalar
&
rho
,
85
const
volVectorField
&
U
86
);
87
88
//- Make the given flux relative
89
void
makeRelative
90
(
91
surfaceScalarField
&
phi
,
92
const
volScalarField
&
rho
,
93
const
volVectorField
&
U
94
);
95
96
97
//- Make the given flux absolute
98
void
makeAbsolute
99
(
100
surfaceScalarField
&
phi
,
101
const
volVectorField
&
U
102
);
103
104
//- Make the given flux absolute
105
void
makeAbsolute
106
(
107
surfaceScalarField
&
phi
,
108
const
dimensionedScalar
&
rho
,
109
const
volVectorField
&
U
110
);
111
112
//- Make the given flux absolute
113
void
makeAbsolute
114
(
115
surfaceScalarField
&
phi
,
116
const
volScalarField
&
rho
,
117
const
volVectorField
&
U
118
);
119
}
120
121
122
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
123
124
}
// End namespace Foam
125
126
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
127
128
#endif
129
130
// ************************ vim: set sw=4 sts=4 et: ************************ //