basicSpecieMixture::index(const volScalarField& Yi) const: Added support for multiphase
Patch contributed by Institute of Fluid Dynamics, Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -124,7 +124,7 @@ inline Foam::label Foam::basicSpecieMixture::index
|
||||
const volScalarField& Yi
|
||||
) const
|
||||
{
|
||||
return species_[Yi.name()];
|
||||
return species_[Yi.member()];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user