From 6cb5391ca61e28c9773a88a1a582650fc90c1b44 Mon Sep 17 00:00:00 2001 From: Henry <Henry> Date: Mon, 23 Feb 2015 18:57:57 +0000 Subject: [PATCH] heThermo: Correct kappaEff --- src/thermophysicalModels/basic/heThermo/heThermo.C | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/thermophysicalModels/basic/heThermo/heThermo.C b/src/thermophysicalModels/basic/heThermo/heThermo.C index 466640e151d..0cc1354ffa3 100644 --- a/src/thermophysicalModels/basic/heThermo/heThermo.C +++ b/src/thermophysicalModels/basic/heThermo/heThermo.C @@ -736,7 +736,7 @@ Foam::heThermo<BasicThermo, MixtureType>::kappaEff const volScalarField& alphat ) const { - tmp<Foam::volScalarField> kappaEff(Cp()*alphaEff(alphat)); + tmp<Foam::volScalarField> kappaEff(Cp()*(this->alpha_ + alphat)); kappaEff().rename("kappaEff"); return kappaEff; } @@ -756,7 +756,11 @@ Foam::heThermo<BasicThermo, MixtureType>::kappaEff this->p_.boundaryField()[patchi], this->T_.boundaryField()[patchi], patchi - )*alphaEff(alphat, patchi); + ) + *( + this->alpha_.boundaryField()[patchi] + + alphat + ); } -- GitLab