mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fixed: wrong calculation of H1
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user