From ae74a9ba6cd0fb0882c904946a1d5c288e9d7271 Mon Sep 17 00:00:00 2001 From: mattijs Date: Mon, 20 Jun 2016 11:21:51 +0100 Subject: [PATCH] COMP: solidChemistryModel: accessing tmp --- .../solidChemistryModel/solidChemistryModelI.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();