mappedVariableThicknessWallFvPatch.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) 2011 OpenFOAM Foundation
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
26Class
27 Foam::mappedVariableThicknessWallFvPatch
28
29Group
30 grpRegionBoundaryConditions
31
32Description
33 Take thickness field and number of layers and returns deltaCoeffs
34 as 2.0/thickness/nLayers.
35 To be used with 1D thermo baffle.
36
37SourceFiles
38 mappedVariableThicknessWallFvPatch.C
39
40\*---------------------------------------------------------------------------*/
41
42#ifndef mappedVariableThicknessWallFvPatch_H
43#define mappedVariableThicknessWallFvPatch_H
44
45#include "wallFvPatch.H"
47
48// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49
50namespace Foam
51{
52
53/*---------------------------------------------------------------------------*\
54 Class mappedVariableThicknessWallFvPatch Declaration
55\*---------------------------------------------------------------------------*/
58:
59 public wallFvPatch
60{
61
62protected:
63
64 // Protected Member Functions
65
66 //- Read neighbour cell distances from dictionary
67 void makeDeltaCoeffs(scalarField& dc) const;
68
69
70public:
71
72 //- Runtime type information
73 TypeName(mappedVariableThicknessWallPolyPatch::typeName_());
74
75
76 // Constructors
77
78 //- Construct from components
80 (
81 const polyPatch& patch,
82 const fvBoundaryMesh& bm
83 )
84 :
86 {}
87};
88
89
90// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
91
92} // End namespace Foam
93
94// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95
96#endif
97
98// ************************************************************************* //
Foam::fvBoundaryMesh.
const polyPatch & patch() const
Return the polyPatch.
Definition: fvPatch.H:167
Take thickness field and number of layers and returns deltaCoeffs as 2.0/thickness/nLayers....
TypeName(mappedVariableThicknessWallPolyPatch::typeName_())
Runtime type information.
mappedVariableThicknessWallFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm)
Construct from components.
void makeDeltaCoeffs(scalarField &dc) const
Read neighbour cell distances from dictionary.
A patch is a list of labels that address the faces in the global face list.
Definition: polyPatch.H:75
Foam::wallFvPatch.
Definition: wallFvPatch.H:54
Namespace for OpenFOAM.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73