Closed GoogleCodeExporter closed 9 years ago
Original comment by yarmond
on 19 Mar 2013 at 7:15
Hi,
Not a fix, but just a comment on the issue. It seems that the error is
encountered only when the final temperature (st3[0]) is (or should be) lower
than the minimum temperature for which some thermodynamic data is available in
the phase (g.minTemp()=300K in that case).
This can be seen by looking at the attached graphs, that I obtained from a
script derived from your example (see attached). In those two graphs, I plot
the final temperature after the last setState_SV as a function of the initial
gas temperature for different mole fractions of AR and N2.
When setState_SV() fails (wrong value of the final entropy), the final
temperature stays very high, to its pre-expansion value. When it succeeds, the
final temperature is lower. From the two plots, you see that as long as the
final temperature is above 300K, setState_SV functions properly.
Hope this helps,
Charles
Original comment by chdoi...@gmail.com
on 1 Jul 2013 at 9:08
Attachments:
This issue was closed by revision r2482.
Original comment by yarmond
on 18 Jul 2013 at 7:07
Original issue reported on code.google.com by
Burak.At...@gmail.com
on 19 Mar 2013 at 3:28Attachments: