thermophysicalModels: Corrected alphah to be enthalpy based
in solidSpecie/transport/const/constAnIsoSolidTransport solidSpecie/transport/const/constIsoSolidTransport solidSpecie/transport/exponential/exponentialSolidTransport solidSpecie/transport/polynomial/polynomialSolidTransport specie/transport/logPolynomial/logPolynomialTransport specie/transport/polynomial/polynomialTransport specie/transport/sutherland/sutherlandTransport Resolves bug-report https://bugs.openfoam.org/view.php?id=2532
This commit is contained in:
parent
f10cfe3fb0
commit
ecc796de76
7 changed files with 14 additions and 14 deletions
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -92,7 +92,7 @@ template<class Thermo>
|
|||
inline Foam::vector Foam::constAnIsoSolidTransport<Thermo>::
|
||||
alphah(const scalar p, const scalar T) const
|
||||
{
|
||||
return kappa_/this->Cpv(p, T);
|
||||
return kappa_/this->Cp(p, T);
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -92,7 +92,7 @@ template<class thermo>
|
|||
inline Foam::scalar Foam::constIsoSolidTransport<thermo>::
|
||||
alphah(const scalar p, const scalar T) const
|
||||
{
|
||||
return kappa_/this->Cpv(p, T);
|
||||
return kappa_/this->Cp(p, T);
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -104,7 +104,7 @@ template<class Thermo>
|
|||
inline Foam::scalar Foam::exponentialSolidTransport<Thermo>::
|
||||
alphah(const scalar p, const scalar T) const
|
||||
{
|
||||
return kappa(p, T)/this->Cpv(p, T);
|
||||
return kappa(p, T)/this->Cp(p, T);
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -141,7 +141,7 @@ inline Foam::scalar Foam::polynomialSolidTransport<Thermo, PolySize>::alphah
|
|||
const scalar p, const scalar T
|
||||
) const
|
||||
{
|
||||
return kappa(p, T)/this->Cpv(p, T);
|
||||
return kappa(p, T)/this->Cp(p, T);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2016-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -129,7 +129,7 @@ inline Foam::scalar Foam::logPolynomialTransport<Thermo, PolySize>::alphah
|
|||
const scalar p, const scalar T
|
||||
) const
|
||||
{
|
||||
return kappa(p, T)/this->Cpv(p, T);
|
||||
return kappa(p, T)/this->Cp(p, T);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2017 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->Cpv(p, T);
|
||||
return kappa(p, T)/this->Cp(p, T);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -158,7 +158,7 @@ inline Foam::scalar Foam::sutherlandTransport<Thermo>::alphah
|
|||
) const
|
||||
{
|
||||
|
||||
return kappa(p, T)/this->Cpv(p, T);
|
||||
return kappa(p, T)/this->Cp(p, T);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue