Commit b8a5d2ef authored by Andrew Heather's avatar Andrew Heather
Browse files

minor cosmetics change

parent de2ac5af
...@@ -57,6 +57,7 @@ void Foam::ReactingParcel<ParcelType>::calcCoupled ...@@ -57,6 +57,7 @@ void Foam::ReactingParcel<ParcelType>::calcCoupled
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
const vector U0 = this->U_; const vector U0 = this->U_;
const scalar mass0 = this->mass(); const scalar mass0 = this->mass();
const scalar cp0 = this->cp_;
const scalar np0 = this->nParticle_; const scalar np0 = this->nParticle_;
const scalar T0 = this->T_; const scalar T0 = this->T_;
...@@ -116,11 +117,11 @@ void Foam::ReactingParcel<ParcelType>::calcCoupled ...@@ -116,11 +117,11 @@ void Foam::ReactingParcel<ParcelType>::calcCoupled
T1 -= T1 -=
td.constProps().Ldevol() td.constProps().Ldevol()
*sum(dMassMT) *sum(dMassMT)
/(0.5*(mass0 + mass1)*this->cp_); /(0.5*(mass0 + mass1)*cp0);
// Add retained enthalpy from surface reaction to particle and remove // Add retained enthalpy from surface reaction to particle and remove
// from gas // from gas
T1 += dhRet/(0.5*(mass0 + mass1)*this->cp_); T1 += dhRet/(0.5*(mass0 + mass1)*cp0);
dhTrans -= dhRet; dhTrans -= dhRet;
// Correct dhTrans to account for enthalpy of evolved volatiles // Correct dhTrans to account for enthalpy of evolved volatiles
......
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