mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
specie/thermo: Use Pstd in the evaluation of equilibrium coefficients
This commit is contained in:
@ -281,7 +281,7 @@ template<class Thermo, template<class> class Type>
|
|||||||
inline Foam::scalar
|
inline Foam::scalar
|
||||||
Foam::species::thermo<Thermo, Type>::K(const scalar p, const scalar T) const
|
Foam::species::thermo<Thermo, Type>::K(const scalar p, const scalar T) const
|
||||||
{
|
{
|
||||||
scalar arg = -this->nMoles()*this->g(p, T)/(RR*T);
|
scalar arg = -this->nMoles()*this->g(Pstd, T)/(RR*T);
|
||||||
|
|
||||||
if (arg < 600.0)
|
if (arg < 600.0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user