Commit 23210323 authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

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
parent 0da6a5f7
......@@ -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 * * * * * * * * * * * * * //
......
......@@ -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 * * * * * * * * * * * * * //
......
......@@ -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 * * * * * * * * * * * * * //
......
......@@ -118,7 +118,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);
}
......
......@@ -106,7 +106,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);
}
......
......@@ -106,7 +106,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);
}
......
......@@ -144,7 +144,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);
}
......
Markdown is supported
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