Skip to content
Snippets Groups Projects
Commit 6cb5391c authored by Henry's avatar Henry
Browse files

heThermo: Correct kappaEff

parent 7bc4ec57
Branches
Tags
No related merge requests found
......@@ -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
);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment