mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
heThermo: Correct kappaEff
This commit is contained in:
@ -736,7 +736,7 @@ Foam::heThermo<BasicThermo, MixtureType>::kappaEff
|
|||||||
const volScalarField& alphat
|
const volScalarField& alphat
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
tmp<Foam::volScalarField> kappaEff(Cp()*alphaEff(alphat));
|
tmp<Foam::volScalarField> kappaEff(Cp()*(this->alpha_ + alphat));
|
||||||
kappaEff().rename("kappaEff");
|
kappaEff().rename("kappaEff");
|
||||||
return kappaEff;
|
return kappaEff;
|
||||||
}
|
}
|
||||||
@ -756,7 +756,11 @@ Foam::heThermo<BasicThermo, MixtureType>::kappaEff
|
|||||||
this->p_.boundaryField()[patchi],
|
this->p_.boundaryField()[patchi],
|
||||||
this->T_.boundaryField()[patchi],
|
this->T_.boundaryField()[patchi],
|
||||||
patchi
|
patchi
|
||||||
)*alphaEff(alphat, patchi);
|
)
|
||||||
|
*(
|
||||||
|
this->alpha_.boundaryField()[patchi]
|
||||||
|
+ alphat
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user