infiniteReactionRateI.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2018 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 \*---------------------------------------------------------------------------*/
25 
26 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
27 
29 {}
30 
31 
33 (
34  const speciesTable&,
35  const dictionary&
36 )
37 {}
38 
39 
41 {}
42 
43 
44 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
45 
46 inline Foam::scalar Foam::infiniteReactionRate::operator()
47 (
48  const scalar p,
49  const scalar,
50  const scalarField&
51 ) const
52 {
53  return (1);
54 }
55 
56 inline Foam::scalar Foam::infiniteReactionRate::ddT
57 (
58  const scalar p,
59  const scalar,
60  const scalarField&
61 ) const
62 {
63  return (0);
64 }
65 
66 
69 {
70  return NullObjectRef<List<Tuple2<label, scalar>>>();
71 }
72 
73 
75 (
76  const scalar p,
77  const scalar T,
78  const scalarField& c,
79  scalarField& dcidc
80 ) const
81 {}
82 
83 
84 inline Foam::scalar Foam::infiniteReactionRate::dcidT
85 (
86  const scalar p,
87  const scalar T,
88  const scalarField& c
89 ) const
90 {
91  return 0;
92 }
93 
94 
95 inline Foam::Ostream& Foam::operator<<
96 (
97  Ostream& os,
98  const infiniteReactionRate& rr
99 )
100 {
101  rr.write(os);
102  return os;
103 }
104 
105 
106 // ************************************************************************* //
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:158
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Definition: HashTable.H:59
void write(Ostream &os) const
Write to stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition: Ostream.H:53
const List< Tuple2< label, scalar > > & beta() const
Third-body efficiencies (beta = 1-alpha)
infiniteReactionRate()
Null constructor.
A wordList with hashed indices for faster lookup by name.
infinite reaction rate.
void dcidc(const scalar p, const scalar T, const scalarField &c, scalarField &dcidc) const
Species concentration derivative of the pressure dependent term.
scalar dcidT(const scalar p, const scalar T, const scalarField &c) const
Temperature derivative of the pressure dependent term.
virtual Ostream & write(const token &)=0
Write next token to stream.
volScalarField & p
scalar ddT(const scalar p, const scalar T, const scalarField &c) const