BUG: Correcting Cp to Cpv to handle inernal energy or enthalpy depending

on the thermo
This commit is contained in:
Sergio Ferraris
2013-06-07 12:25:34 +01:00
parent 1282341b28
commit 010a01e536
3 changed files with 4 additions and 4 deletions

View File

@ -111,7 +111,7 @@ inline Foam::scalar Foam::constTransport<Thermo>::kappa
const scalar T
) const
{
return this->Cp(p, T)*mu(p, T)*rPr_;
return this->Cpv(p, T)*mu(p, T)*rPr_;
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -129,7 +129,7 @@ inline Foam::scalar Foam::polynomialTransport<Thermo, PolySize>::alphah
const scalar p, const scalar T
) const
{
return kappa(p, T)/this->Cp(p, T);
return kappa(p, T)/this->Cpv(p, T);
}

View File

@ -158,7 +158,7 @@ inline Foam::scalar Foam::sutherlandTransport<Thermo>::alphah
) const
{
return kappa(p, T)/this->Cp(p, T);
return kappa(p, T)/this->Cpv(p, T);
}