Commit 9fc31584 authored by Henry Weller's avatar Henry Weller
Browse files

chemistryModel: Minor clean-up

parent 1cd4e2b8
......@@ -537,7 +537,6 @@ Foam::chemistryModel<CompType, ThermoType>::tc() const
}
}
ttc.ref().correctBoundaryConditions();
return ttc;
......@@ -628,8 +627,8 @@ template<class CompType, class ThermoType>
Foam::tmp<Foam::DimensionedField<Foam::scalar, Foam::volMesh>>
Foam::chemistryModel<CompType, ThermoType>::calculateRR
(
const label reactionI,
const label speciei
const label ri,
const label si
) const
{
scalar pf, cf, pr, cr;
......@@ -685,7 +684,7 @@ Foam::chemistryModel<CompType, ThermoType>::calculateRR
const scalar w = omegaI
(
reactionI,
ri,
c_,
Ti,
pi,
......@@ -697,8 +696,7 @@ Foam::chemistryModel<CompType, ThermoType>::calculateRR
rRef
);
RR[celli] = w*specieThermo_[speciei].W();
RR[celli] = w*specieThermo_[si].W();
}
return tRR;
......
Markdown is supported
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