mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: reactionSensitivity - corrected integral calculations
This commit is contained in:
@ -110,12 +110,12 @@ calculateSpeciesRR
|
|||||||
if (RR[0] > 0.0)
|
if (RR[0] > 0.0)
|
||||||
{
|
{
|
||||||
production_[speciei][reactioni] = RR[0];
|
production_[speciei][reactioni] = RR[0];
|
||||||
productionInt_[speciei][reactioni] =+ dt*RR[0];
|
productionInt_[speciei][reactioni] += dt*RR[0];
|
||||||
}
|
}
|
||||||
else if (RR[0] < 0.0)
|
else if (RR[0] < 0.0)
|
||||||
{
|
{
|
||||||
consumption_[speciei][reactioni] = RR[0];
|
consumption_[speciei][reactioni] = RR[0];
|
||||||
consumptionInt_[speciei][reactioni] =+ dt*RR[0];
|
consumptionInt_[speciei][reactioni] += dt*RR[0];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user