Commit 6335be93 authored by Henry Weller's avatar Henry Weller
Browse files

specie/thermo: Use Pstd in the evaluation of equilibrium coefficients

parent 37430daa
......@@ -281,7 +281,7 @@ template<class Thermo, template<class> class Type>
inline Foam::scalar
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)
{
......
Supports Markdown
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