using function local args instead of class data

This commit is contained in:
andy
2009-06-16 10:54:25 +01:00
parent 0ee2f48d83
commit 575ed7c5ce

View File

@ -178,7 +178,7 @@ Foam::scalar Foam::ThermoParcel<ParcelType>::calcHeatTransfer
if (mag(htc) < ROOTVSMALL && !td.cloud().radiation())
{
return T + dt*Sh/(this->mass()*cp);
return T + dt*Sh/(this->volume(d)*rho*cp);
}
scalar ap;