LandauTellerReactionRate.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 | Copyright (C) 2011-2012 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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.
15 
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
19  for more details.
20 
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/>.
23 
24 Class
25  Foam::LandauTellerReactionRate
26 
27 Description
28  Landau-Teller reaction rate.
29 
30 SourceFiles
31  LandauTellerReactionRateI.H
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef LandauTellerReactionRate_H
36 #define LandauTellerReactionRate_H
37 
38 #include "scalarField.H"
39 #include "typeInfo.H"
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 
46 /*---------------------------------------------------------------------------*\
47  Class LandauTellerReactionRate Declaration
48 \*---------------------------------------------------------------------------*/
49 
51 {
52  // Private data
53 
54  scalar A_;
55  scalar beta_;
56  scalar Ta_;
57  scalar B_;
58  scalar C_;
59 
60 
61 public:
62 
63  // Constructors
64 
65  //- Construct from components
67  (
68  const scalar A,
69  const scalar beta,
70  const scalar Ta,
71  const scalar B,
72  const scalar C
73  );
74 
75  //- Construct from Istream
77  (
78  const speciesTable& species,
79  Istream& is
80  );
81 
82  //- Construct from dictionary
84  (
85  const speciesTable& species,
86  const dictionary& dict
87  );
88 
89 
90  // Member Functions
91 
92  //- Return the type name
93  static word type()
94  {
95  return "LandauTeller";
96  }
97 
98  inline scalar operator()
99  (
100  const scalar p,
101  const scalar T,
102  const scalarField& c
103  ) const;
104 
105  //- Write to stream
106  inline void write(Ostream& os) const;
107 
108 
109  // Ostream Operator
110 
111  inline friend Ostream& operator<<
112  (
113  Ostream&,
115  );
116 };
117 
118 
119 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120 
121 } // End namespace Foam
122 
123 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
124 
126 
127 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 
129 #endif
130 
131 // ************************************************************************* //
beta
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
p
p
Definition: pEqn.H:62
Foam::word
A class for handling words, derived from string.
Definition: word.H:59
Foam::LandauTellerReactionRate
Landau-Teller reaction rate.
Definition: LandauTellerReactionRate.H:49
typeInfo.H
scalarField.H
Foam::LandauTellerReactionRate::A_
scalar A_
Definition: LandauTellerReactionRate.H:53
Foam::LandauTellerReactionRate::C_
scalar C_
Definition: LandauTellerReactionRate.H:57
Foam::LandauTellerReactionRate::Ta_
scalar Ta_
Definition: LandauTellerReactionRate.H:55
Foam::LandauTellerReactionRate::LandauTellerReactionRate
LandauTellerReactionRate(const scalar A, const scalar beta, const scalar Ta, const scalar B, const scalar C)
Construct from components.
Definition: LandauTellerReactionRateI.H:29
A
simpleMatrix< scalar > A(Nc)
Foam::LandauTellerReactionRate::write
void write(Ostream &os) const
Write to stream.
Definition: LandauTellerReactionRateI.H:117
Foam::Field
Pre-declare SubField and related Field type.
Definition: Field.H:57
Foam::hashedWordList
A wordList with hashed indices for faster lookup by name.
Definition: hashedWordList.H:57
Foam::Istream
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Definition: Istream.H:57
Foam::T
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Definition: FieldFieldFunctions.C:55
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
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
LandauTellerReactionRateI.H
Foam::LandauTellerReactionRate::type
static word type()
Return the type name.
Definition: LandauTellerReactionRate.H:92
Foam::LandauTellerReactionRate::B_
scalar B_
Definition: LandauTellerReactionRate.H:56
Foam::constant::universal::c
const dimensionedScalar c
Speed of light in a vacuum.
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:53
Foam::C
Graphite solid properties.
Definition: C.H:57
Foam::LandauTellerReactionRate::beta_
scalar beta_
Definition: LandauTellerReactionRate.H:54