mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Hadn't updated heat transfer calc for derived particles
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user