wallHeatFluxWriter.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  Copyright : (C) 2012 Symscape
3  Website : www.symscape.com
4 -------------------------------------------------------------------------------
5 License
6  This file is part of OpenFOAM.
7 
8  OpenFOAM is free software: you can redistribute it and/or modify it
9  under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
14  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16  for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
20 
21 Class
22  Foam::wallHeatFluxWriter
23 
24 Description
25  Write wallHeatFlux field
26 
27 SourceFiles
28  wallShearStress.C
29 
30 \*---------------------------------------------------------------------------*/
31 
32 #ifndef wallHeatFluxWriter_H
33 #define wallHeatFluxWriter_H
34 
35 #include "derivedFieldWriter.H"
36 #include "volFieldsFwd.H"
37 
38 
39 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40 
41 namespace Foam
42 {
43  class dictionary;
44 
45 
46  /*---------------------------------------------------------------------------*\
47  Class wallHeatFluxWriter Declaration
48  \*---------------------------------------------------------------------------*/
49 
51  {
52  // Private data
53 
54  // Private methods
55 
56  //- Return heat transfer coefficient
58  bool & foundField) const;
59  public:
60  //- Runtime type information
61  TypeName("wallHeatFluxWriter");
62 
63  //- Field file name.
64  static const word FIELD_NAME;
65 
66  // Constructors
67 
69 
70  // Member Functions
71 
72  //- Write derived field.
73  virtual void write(const objectRegistry& obr);
74  };
75 
76  // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
77 
78 } // End namespace Foam
79 
80 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
81 
82 #endif
83 
84 // ************************************************************************* //
volFieldsFwd.H
Foam::word
A class for handling words, derived from string.
Definition: word.H:59
Foam::wallHeatFluxWriter::TypeName
TypeName("wallHeatFluxWriter")
Runtime type information.
Foam::tmp
A class for managing temporary objects.
Definition: PtrList.H:118
Foam::wallHeatFluxWriter::write
virtual void write(const objectRegistry &obr)
Write derived field.
Definition: wallHeatFluxWriter.C:86
Foam::wallHeatFluxWriter::htc
tmp< volScalarField > htc(const objectRegistry &obr, bool &foundField) const
Return heat transfer coefficient.
Definition: wallHeatFluxWriter.C:46
Foam::objectRegistry
Registry of regIOobjects.
Definition: objectRegistry.H:50
Foam::wallHeatFluxWriter
Write wallHeatFlux field.
Definition: wallHeatFluxWriter.H:49
Foam::derivedFieldWriter
Basis for writers used in derivedFields e.g., wallShearStressWriter.
Definition: derivedFieldWriter.H:49
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by any number of values (e....
Definition: dictionary.H:137
derivedFieldWriter.H
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::wallHeatFluxWriter::wallHeatFluxWriter
wallHeatFluxWriter(const dictionary &dict)
Definition: wallHeatFluxWriter.C:79
Foam::wallHeatFluxWriter::FIELD_NAME
static const word FIELD_NAME
Field file name.
Definition: wallHeatFluxWriter.H:63