Avoid race condition with single processor compilation of conjugateHeatFoam
[foam-extend-3.0.git] / applications / solvers / coupled / conjugateHeatTransfer / thermalModel / thermalGaps / constantResistanceThermalGap / constantResistanceThermalGap.H
blobb94eb68bdc43e315ab1625407cca85dc34fb8dbb
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | foam-extend: Open Source CFD
4    \\    /   O peration     |
5     \\  /    A nd           | For copyright notice see file Copyright
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of foam-extend.
11     foam-extend is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by the
13     Free Software Foundation, either version 3 of the License, or (at your
14     option) any later version.
16     foam-extend is distributed in the hope that it will be useful, but
17     WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19     General Public License for more details.
21     You should have received a copy of the GNU General Public License
22     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 Class
25     constantResistanceThermalGap
27 Description
28     Constant thermal properties
30 Author
31     Henrik Rusche, Wikki GmbH, All rights reserved.
33 SourceFiles
34     constantResistanceThermalGap.C
36 \*---------------------------------------------------------------------------*/
38 #ifndef constantResistanceThermalGap_H
39 #define constantResistanceThermalGap_H
41 #include "thermalGap.H"
42 #include "surfaceFields.H"
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 namespace Foam
49 /*---------------------------------------------------------------------------*\
50                          Class constantResistanceThermalGap Declaration
51 \*---------------------------------------------------------------------------*/
53 class constantResistanceThermalGap
55     public thermalGap
57     // Private data
59         //- thermal resistance of the gap
60         dimensionedScalar R_;
62         //- list of face zones
63         const wordList zones_;
65     // Private Member Functions
67         //- Disallow default bitwise copy construct
68         constantResistanceThermalGap(const constantResistanceThermalGap&);
70         //- Disallow default bitwise assignment
71         void operator=(const constantResistanceThermalGap&);
74 public:
76     //- Runtime type information
77     TypeName("constantResistance");
79     // Static data members
82     // Constructors
84         //- Construct from dictionary
85         constantResistanceThermalGap
86         (
87             const word& name,
88             const volScalarField& T,
89             const dictionary& dict
90         );
93     // Destructor
95         virtual ~constantResistanceThermalGap();
98     // Member Functions
100         //- Return density
101         virtual void modifyResistance(surfaceScalarField&) const;
105 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
107 } // End namespace Foam
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111 #endif
113 // ************************************************************************* //