C.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-2017 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
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 
26 Class
27  Foam::C
28 
29 Description
30  Graphite solid properties
31 
32 SourceFiles
33  C.C
34 
35 \*---------------------------------------------------------------------------*/
36 
37 #ifndef solid_C_H
38 #define solid_C_H
39 
40 #include "solidProperties.H"
41 
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 
44 namespace Foam
45 {
46 
47 /*---------------------------------------------------------------------------*\
48  Class C Declaration
49 \*---------------------------------------------------------------------------*/
50 
51 class C
52 :
53  public solidProperties
54 {
55 
56 public:
57 
58  //- Runtime type information
59  TypeName("C");
60 
61 
62  // Constructors
63 
64  //- Construct null
65  C();
66 
67  //- Construct from dictionary
68  C(const dictionary& dict);
69 
70  //- Construct and return clone
71  virtual autoPtr<solidProperties> clone() const
72  {
74  }
75 
76 
77  // I-O
78 
79  //- Write the function coefficients
80  void writeData(Ostream& os) const;
81 
82  //- Ostream Operator
83  friend Ostream& operator<<(Ostream& os, const C& s);
84 };
85 
86 
87 Ostream& operator<<(Ostream& os, const C& s);
88 
89 
90 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
91 
92 } // End namespace Foam
93 
94 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95 
96 #endif
97 
98 // ************************************************************************* //
Foam::C::writeData
void writeData(Ostream &os) const
Write the function coefficients.
Definition: C.C:66
s
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Definition: gmvOutputSpray.H:25
Foam::C::TypeName
TypeName("C")
Runtime type information.
Foam::solidProperties
The thermophysical properties of a solid.
Definition: solidProperties.H:54
Foam::C::operator<<
friend Ostream & operator<<(Ostream &os, const C &s)
Ostream Operator.
C
volScalarField & C
Definition: readThermalProperties.H:102
Foam::operator<<
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Definition: boundaryPatch.C:83
Foam::C::clone
virtual autoPtr< solidProperties > clone() const
Construct and return clone.
Definition: C.H:70
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
os
OBJstream os(runTime.globalPath()/outputName)
Foam::C::C
C()
Construct null.
Definition: C.C:43
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::autoPtr
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: HashPtrTable.H:53
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56
Foam::C
Graphite solid properties.
Definition: C.H:50
solidProperties.H