1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
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.
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
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/>.
24 \*---------------------------------------------------------------------------*/
26 #include "nutLowReWallFunctionFvPatchScalarField.H"
28 #include "fvPatchFieldMapper.H"
29 #include "volFields.H"
30 #include "addToRunTimeSelectionTable.H"
32 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
36 namespace incompressible
41 // * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
43 tmp<scalarField> nutLowReWallFunctionFvPatchScalarField::calcNut() const
45 return tmp<scalarField>(new scalarField(patch().size(), 0.0));
49 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
51 nutLowReWallFunctionFvPatchScalarField::nutLowReWallFunctionFvPatchScalarField
54 const DimensionedField<scalar, volMesh>& iF
57 nutkWallFunctionFvPatchScalarField(p, iF)
61 nutLowReWallFunctionFvPatchScalarField::nutLowReWallFunctionFvPatchScalarField
63 const nutLowReWallFunctionFvPatchScalarField& ptf,
65 const DimensionedField<scalar, volMesh>& iF,
66 const fvPatchFieldMapper& mapper
69 nutkWallFunctionFvPatchScalarField(ptf, p, iF, mapper)
73 nutLowReWallFunctionFvPatchScalarField::nutLowReWallFunctionFvPatchScalarField
76 const DimensionedField<scalar, volMesh>& iF,
77 const dictionary& dict
80 nutkWallFunctionFvPatchScalarField(p, iF, dict)
84 nutLowReWallFunctionFvPatchScalarField::nutLowReWallFunctionFvPatchScalarField
86 const nutLowReWallFunctionFvPatchScalarField& nlrwfpsf
89 nutkWallFunctionFvPatchScalarField(nlrwfpsf)
93 nutLowReWallFunctionFvPatchScalarField::nutLowReWallFunctionFvPatchScalarField
95 const nutLowReWallFunctionFvPatchScalarField& nlrwfpsf,
96 const DimensionedField<scalar, volMesh>& iF
99 nutkWallFunctionFvPatchScalarField(nlrwfpsf, iF)
103 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 nutLowReWallFunctionFvPatchScalarField
111 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 } // End namespace RASModels
114 } // End namespace incompressible
115 } // End namespace Foam
117 // ************************************************************************* //