mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
correcting signs for return heat of reaction
This commit is contained in:
@ -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_;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user