Skip to content
Snippets Groups Projects
Commit 9fc31584 authored by Henry Weller's avatar Henry Weller
Browse files

chemistryModel: Minor clean-up

parent 1cd4e2b8
No related branches found
No related tags found
1 merge request!60Merge foundation
...@@ -537,7 +537,6 @@ Foam::chemistryModel<CompType, ThermoType>::tc() const ...@@ -537,7 +537,6 @@ Foam::chemistryModel<CompType, ThermoType>::tc() const
} }
} }
ttc.ref().correctBoundaryConditions(); ttc.ref().correctBoundaryConditions();
return ttc; return ttc;
...@@ -628,8 +627,8 @@ template<class CompType, class ThermoType> ...@@ -628,8 +627,8 @@ template<class CompType, class ThermoType>
Foam::tmp<Foam::DimensionedField<Foam::scalar, Foam::volMesh>> Foam::tmp<Foam::DimensionedField<Foam::scalar, Foam::volMesh>>
Foam::chemistryModel<CompType, ThermoType>::calculateRR Foam::chemistryModel<CompType, ThermoType>::calculateRR
( (
const label reactionI, const label ri,
const label speciei const label si
) const ) const
{ {
scalar pf, cf, pr, cr; scalar pf, cf, pr, cr;
...@@ -685,7 +684,7 @@ Foam::chemistryModel<CompType, ThermoType>::calculateRR ...@@ -685,7 +684,7 @@ Foam::chemistryModel<CompType, ThermoType>::calculateRR
const scalar w = omegaI const scalar w = omegaI
( (
reactionI, ri,
c_, c_,
Ti, Ti,
pi, pi,
...@@ -697,8 +696,7 @@ Foam::chemistryModel<CompType, ThermoType>::calculateRR ...@@ -697,8 +696,7 @@ Foam::chemistryModel<CompType, ThermoType>::calculateRR
rRef rRef
); );
RR[celli] = w*specieThermo_[speciei].W(); RR[celli] = w*specieThermo_[si].W();
} }
return tRR; return tRR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment