Skip to content
Snippets Groups Projects
Commit 7c345a02 authored by Henry Weller's avatar Henry Weller
Browse files

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

parent fc7a7926
Branches
Tags
1 merge request!25Merge foundation
......@@ -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)
{
......
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