mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Fixing solid specie index in omega function
This commit is contained in:
@ -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()[si].exponent;
|
||||
const scalar exp = R.lhs()[s].exponent;
|
||||
|
||||
kf *=
|
||||
pow(c1[si]/Ys0_[si][celli], exp)
|
||||
|
||||
Reference in New Issue
Block a user