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
Branches
Tags
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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment