mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Using more consistent T for particle heat transfer calc
This commit is contained in:
@ -318,7 +318,7 @@ Foam::scalar Foam::ThermoParcel<ParcelType>::calcHeatTransfer
|
||||
|
||||
Sph = dt*htc*As;
|
||||
|
||||
dhsTrans += Sph*(0.5*(T_ + Tnew) - Tc_);
|
||||
dhsTrans += Sph*(Tres.average() - Tc_);
|
||||
|
||||
return Tnew;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user