Commit bd2f16e2 authored by Henry's avatar Henry
Browse files

Corrected calculation of iTp

Resolves bug-report
parent 11e3740f
......@@ -339,7 +339,7 @@ Foam::scalar Foam::SprayParcel<ParcelType>::chi
scalar TBoil = liq.pvInvert(p0);
scalar hl = liq.hl(pAmb, TBoil);
scalar iTp = liq.h(pAmb, T0) - liq.rho(pAmb, T0);
scalar iTp = liq.h(pAmb, T0) - pAmb/liq.rho(pAmb, T0);
scalar iTb = liq.h(pAmb, TBoil) - pAmb/liq.rho(pAmb, TBoil);
chi += X[i]*(iTp - iTb)/hl;
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