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
turbulenceModels
incompressible
RAS
derivedFvPatchFields
wallFunctions
nutWallFunctions
nutLowReWallFunction
nutLowReWallFunctionFvPatchScalarField.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 | Copyright (C) 2010-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
\*---------------------------------------------------------------------------*/
25
26
#include "
nutLowReWallFunctionFvPatchScalarField.H
"
27
#include <
incompressibleRASModels/RASModel.H
>
28
#include <
finiteVolume/fvPatchFieldMapper.H
>
29
#include <
finiteVolume/volFields.H
>
30
#include <
OpenFOAM/addToRunTimeSelectionTable.H
>
31
32
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
33
34
namespace
Foam
35
{
36
namespace
incompressible
37
{
38
namespace
RASModels
39
{
40
41
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
42
43
tmp<scalarField>
nutLowReWallFunctionFvPatchScalarField::calcNut
()
const
44
{
45
return
tmp<scalarField>
(
new
scalarField
(patch().size(), 0.0));
46
}
47
48
49
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
50
51
nutLowReWallFunctionFvPatchScalarField::nutLowReWallFunctionFvPatchScalarField
52
(
53
const
fvPatch
&
p
,
54
const
DimensionedField<scalar, volMesh>
& iF
55
)
56
:
57
nutWallFunctionFvPatchScalarField
(p, iF)
58
{}
59
60
61
nutLowReWallFunctionFvPatchScalarField::nutLowReWallFunctionFvPatchScalarField
62
(
63
const
nutLowReWallFunctionFvPatchScalarField
& ptf,
64
const
fvPatch
& p,
65
const
DimensionedField<scalar, volMesh>
& iF,
66
const
fvPatchFieldMapper
& mapper
67
)
68
:
69
nutWallFunctionFvPatchScalarField
(ptf, p, iF, mapper)
70
{}
71
72
73
nutLowReWallFunctionFvPatchScalarField::nutLowReWallFunctionFvPatchScalarField
74
(
75
const
fvPatch
& p,
76
const
DimensionedField<scalar, volMesh>
& iF,
77
const
dictionary
& dict
78
)
79
:
80
nutWallFunctionFvPatchScalarField
(p, iF, dict)
81
{}
82
83
84
nutLowReWallFunctionFvPatchScalarField::nutLowReWallFunctionFvPatchScalarField
85
(
86
const
nutLowReWallFunctionFvPatchScalarField
& nlrwfpsf
87
)
88
:
89
nutWallFunctionFvPatchScalarField
(nlrwfpsf)
90
{}
91
92
93
nutLowReWallFunctionFvPatchScalarField::nutLowReWallFunctionFvPatchScalarField
94
(
95
const
nutLowReWallFunctionFvPatchScalarField
& nlrwfpsf,
96
const
DimensionedField<scalar, volMesh>
& iF
97
)
98
:
99
nutWallFunctionFvPatchScalarField
(nlrwfpsf, iF)
100
{}
101
102
103
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
104
105
makePatchTypeField
(
fvPatchScalarField
,
nutLowReWallFunctionFvPatchScalarField
);
106
107
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108
109
}
// End namespace RASModels
110
}
// End namespace incompressible
111
}
// End namespace Foam
112
113
// ************************ vim: set sw=4 sts=4 et: ************************ //