singleStepCombustion: Refactored to include the singleStepReactingMixture functionality
allowing the removal of singleStepReactingMixture which is the first step in refactoring the instantiation of the reaction scheme.
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) 2012-2018 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -69,9 +69,9 @@ void diffusion<ReactionThermo, ThermoType>::correct()
|
||||
this->wFuel_ ==
|
||||
dimensionedScalar(dimMass/pow3(dimLength)/dimTime, 0);
|
||||
|
||||
this->singleMixturePtr_->fresCorrect();
|
||||
this->fresCorrect();
|
||||
|
||||
const label fuelI = this->singleMixturePtr_->fuelIndex();
|
||||
const label fuelI = this->fuelIndex();
|
||||
|
||||
const volScalarField& YFuel = this->thermo().composition().Y()[fuelI];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user