Fixed name clash for Y_[0]: deleted from objectRegistry
This commit is contained in:
parent
b9efa42018
commit
a84fff7b48
1 changed files with 5 additions and 1 deletions
|
@ -50,7 +50,11 @@ const ThermoType& Foam::multiComponentMixture<ThermoType>::constructSpeciesData
|
|||
template<class ThermoType>
|
||||
void Foam::multiComponentMixture<ThermoType>::correctMassFractions()
|
||||
{
|
||||
volScalarField Yt = Y_[0];
|
||||
volScalarField Yt
|
||||
(
|
||||
"Yt",
|
||||
Y_[0]
|
||||
);
|
||||
|
||||
for (label n=1; n<Y_.size(); n++)
|
||||
{
|
||||
|
|
Reference in a new issue