From 0a7ce682d24afec2de58a39b55c8576b8cdce1df Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 24 Nov 2015 11:09:50 +0000 Subject: [PATCH] fixedMultiPhaseHeatFlux: Corrected patch kappaEff evaluation --- .../fixedMultiPhaseHeatFluxFvPatchScalarField.C | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/fixedMultiPhaseHeatFlux/fixedMultiPhaseHeatFluxFvPatchScalarField.C b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/fixedMultiPhaseHeatFlux/fixedMultiPhaseHeatFluxFvPatchScalarField.C index 8f9abe642c..c991a1a333 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/fixedMultiPhaseHeatFlux/fixedMultiPhaseHeatFluxFvPatchScalarField.C +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/fixedMultiPhaseHeatFlux/fixedMultiPhaseHeatFluxFvPatchScalarField.C @@ -148,7 +148,11 @@ void Foam::fixedMultiPhaseHeatFluxFvPatchScalarField::updateCoeffs() const scalarField kappaEff ( - thermo.kappaEff(phase.turbulence().alphat(), patch().index()) + thermo.kappaEff + ( + phase.turbulence().alphat(patch().index()), + patch().index() + ) ); if (debug)