BUG: Hadn't updated heat transfer calc for derived particles

This commit is contained in:
andy
2011-03-25 14:33:48 +00:00
parent 17c3983f55
commit 3bb159794f
2 changed files with 6 additions and 6 deletions

View File

@ -332,7 +332,7 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
// ~~~~~~~~~~~~~
// Calculate new particle temperature
scalar Cuh = 0.0;
scalar Sph = 0.0;
scalar T1 =
this->calcHeatTransfer
(
@ -349,7 +349,7 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
NCpW,
Sh,
dhsTrans,
Cuh
Sph
);
@ -423,7 +423,7 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
td.cloud().hsTrans()[cellI] += np0*dhsTrans;
// Update sensible enthalpy coefficient
td.cloud().hsCoeff()[cellI] += np0*Cuh*this->areaS();
td.cloud().hsCoeff()[cellI] += np0*Sph;
}

View File

@ -342,7 +342,7 @@ void Foam::ReactingParcel<ParcelType>::calc
// ~~~~~~~~~~~~~
// Calculate new particle temperature
scalar Cuh = 0.0;
scalar Sph = 0.0;
scalar T1 =
this->calcHeatTransfer
(
@ -359,7 +359,7 @@ void Foam::ReactingParcel<ParcelType>::calc
NCpW,
Sh,
dhsTrans,
Cuh
Sph
);
@ -410,7 +410,7 @@ void Foam::ReactingParcel<ParcelType>::calc
td.cloud().hsTrans()[cellI] += np0*dhsTrans;
// Update sensible enthalpy coefficient
td.cloud().hsCoeff()[cellI] += np0*Cuh*this->areaS();
td.cloud().hsCoeff()[cellI] += np0*Sph;
}