Commit 5866b3a1 authored by Andrew Heather's avatar Andrew Heather
Browse files

correcting signs for return heat of reaction

parent 6ec44522
......@@ -143,7 +143,7 @@ Foam::scalar Foam::COxidationDiffusionLimitedRate::calculate
dMassSRCarrier[CO2GlobalId_] += dmCO2;
// Heat of reaction [J]
return HcCO2_*dmCO2;
return -HcCO2_*dmCO2;
}
......
......@@ -155,7 +155,7 @@ Foam::scalar Foam::COxidationKineticDiffusionLimitedRate::calculate
dMassSRCarrier[CO2GlobalId_] += dmCO2;
// Heat of reaction [J]
return HcCO2_*dmCO2;
return -HcCO2_*dmCO2;
}
......
......@@ -201,7 +201,7 @@ Foam::scalar Foam::COxidationMurphyShaddix::calculate
dMassSolid[CsLocalId_] += dOmega*WC_;
// Heat of reaction
return HcCO2_*dOmega*WC_;
return -HcCO2_*dOmega*WC_;
}
......
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