Skip to content
Snippets Groups Projects
Commit 5866b3a1 authored by Andrew Heather's avatar Andrew Heather
Browse files

correcting signs for return heat of reaction

parent 6ec44522
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,7 @@ Foam::scalar Foam::COxidationDiffusionLimitedRate::calculate ...@@ -143,7 +143,7 @@ Foam::scalar Foam::COxidationDiffusionLimitedRate::calculate
dMassSRCarrier[CO2GlobalId_] += dmCO2; dMassSRCarrier[CO2GlobalId_] += dmCO2;
// Heat of reaction [J] // Heat of reaction [J]
return HcCO2_*dmCO2; return -HcCO2_*dmCO2;
} }
......
...@@ -155,7 +155,7 @@ Foam::scalar Foam::COxidationKineticDiffusionLimitedRate::calculate ...@@ -155,7 +155,7 @@ Foam::scalar Foam::COxidationKineticDiffusionLimitedRate::calculate
dMassSRCarrier[CO2GlobalId_] += dmCO2; dMassSRCarrier[CO2GlobalId_] += dmCO2;
// Heat of reaction [J] // Heat of reaction [J]
return HcCO2_*dmCO2; return -HcCO2_*dmCO2;
} }
......
...@@ -201,7 +201,7 @@ Foam::scalar Foam::COxidationMurphyShaddix::calculate ...@@ -201,7 +201,7 @@ Foam::scalar Foam::COxidationMurphyShaddix::calculate
dMassSolid[CsLocalId_] += dOmega*WC_; dMassSolid[CsLocalId_] += dOmega*WC_;
// Heat of reaction // Heat of reaction
return HcCO2_*dOmega*WC_; return -HcCO2_*dOmega*WC_;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment