Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
74430112
Commit
74430112
authored
Aug 21, 2019
by
sergio
Committed by
Andrew Heather
Aug 21, 2019
Browse files
BUG: Fixing solid specie index in omega function
parent
78524117
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.C
View file @
74430112
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd |
\\ / A nd |
Copyright (C) 2019 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2013-2017 OpenFOAM Foundation
...
...
@@ -264,7 +264,7 @@ Foam::pyrolysisChemistryModel<CompType, SolidThermo, GasThermo>::omega
for
(
label
s
=
0
;
s
<
Nl
;
s
++
)
{
label
si
=
R
.
lhs
()[
s
].
index
;
const
scalar
exp
=
R
.
lhs
()[
s
i
].
exponent
;
const
scalar
exp
=
R
.
lhs
()[
s
].
exponent
;
kf
*=
pow
(
c1
[
si
]
/
Ys0_
[
si
][
celli
],
exp
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment