BUG: Fixing psib to use products mixture.

Fix Gitlab issue #1423
This commit is contained in:
sergio
2019-09-18 09:22:35 -07:00
committed by Andrew Heather
parent 4265fc2459
commit e1fb615f87

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2017 OpenCFD Ltd. \\ / A nd | Copyright (C) 2017-2019 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
| Copyright (C) 2011-2016 OpenFOAM Foundation | Copyright (C) 2011-2016 OpenFOAM Foundation
@ -611,7 +611,7 @@ Foam::heheuPsiThermo<BasicPsiThermo, MixtureType>::psib() const
forAll(psibCells, celli) forAll(psibCells, celli)
{ {
psibCells[celli] = psibCells[celli] =
this->cellReactants(celli).psi(pCells[celli], TbCells[celli]); this->cellProducts(celli).psi(pCells[celli], TbCells[celli]);
} }
volScalarField::Boundary& psibBf = psib.boundaryFieldRef(); volScalarField::Boundary& psibBf = psib.boundaryFieldRef();