Commit 8883e2b8 authored by Andrew Heather's avatar Andrew Heather
Browse files

fixed: wrong calculation of H1

parent f97e559b
......@@ -110,7 +110,7 @@ void Foam::ThermoParcel<ParcelType>::calc
scalar T1 = calcHeatTransfer(td, dt, cellI, d0, U0, rho0, T0, cp0, Sh);
// Calculate new enthalpy state
scalar H1 = cp0 - T1;
scalar H1 = cp0*T1;
// Motion
Supports Markdown
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