Skip to content
Snippets Groups Projects
Commit 575ed7c5 authored by Andrew Heather's avatar Andrew Heather
Browse files

using function local args instead of class data

parent 0ee2f48d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment