mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrected indices used in YVolatile list
This commit is contained in:
@ -114,7 +114,7 @@ void Foam::ConstantRateDevolatilisation<CloudType>::calculate
|
||||
forAll(volatileData_, i)
|
||||
{
|
||||
const label id = volatileToGasMap_[i];
|
||||
const scalar massVolatile0 = mass0*YVolatile0_[id];
|
||||
const scalar massVolatile0 = mass0*YVolatile0_[i];
|
||||
const scalar massVolatile = mass*YGasEff[id];
|
||||
|
||||
// Combustion allowed once all volatile components evolved
|
||||
|
||||
@ -117,7 +117,7 @@ void Foam::SingleKineticRateDevolatilisation<CloudType>::calculate
|
||||
forAll(volatileData_, i)
|
||||
{
|
||||
const label id = volatileToGasMap_[i];
|
||||
const scalar massVolatile0 = mass0*YVolatile0_[id];
|
||||
const scalar massVolatile0 = mass0*YVolatile0_[i];
|
||||
const scalar massVolatile = mass*YGasEff[id];
|
||||
|
||||
// Combustion allowed once all volatile components evolved
|
||||
|
||||
Reference in New Issue
Block a user