From 93c1b5644fb3bda56c7184d60516c25ab724329f Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Fri, 25 May 2018 12:30:38 +0100 Subject: [PATCH] MultiComponentPhaseModel: Fixed missing density time-derivative --- .../MultiComponentPhaseModel/MultiComponentPhaseModel.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseModel/MultiComponentPhaseModel/MultiComponentPhaseModel.C b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseModel/MultiComponentPhaseModel/MultiComponentPhaseModel.C index 7a279f75a..cf76c9fe3 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseModel/MultiComponentPhaseModel/MultiComponentPhaseModel.C +++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseModel/MultiComponentPhaseModel/MultiComponentPhaseModel.C @@ -149,7 +149,7 @@ Foam::MultiComponentPhaseModel::YiEqn(volScalarField& Yi) { const volScalarField& alpha = *this; const surfaceScalarField alphaRhoPhi(this->alphaRhoPhi()); - const volScalarField rho(this->rho()); + const volScalarField& rho = this->thermo().rho(); return (