diff --git a/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModelI.H b/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModelI.H index 3dcef1dea1..a8ca96b291 100644 --- a/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModelI.H +++ b/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModelI.H @@ -119,7 +119,7 @@ Foam::solidChemistryModel::RRsHs() const if (this->chemistry_) { - DimensionedField& RRs = tRRsHs(); + DimensionedField& RRs = tRRsHs.ref(); const volScalarField& T = this->solidThermo().T(); const volScalarField& p = this->solidThermo().p();