jcaiuwyo / cantera

Automatically exported from code.google.com/p/cantera
0 stars 0 forks source link

min_temp for PureFluids causes problems #186

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

The function min_temp gives values, which are beyond the valid range.

#using Cantera 2.1
import cantera as ct
w=ct.Water()

#this will cause an exception
w.TP=w.min_temp, 1e5

#now its ok
w.TP=w.min_temp+1e-5, 1e5

#but then we get trouble
w.cp_mass

RuntimeError: 
***********************************************************************
CanteraError thrown by Substance::set_T:
illegal temperature: 273.133
***********************************************************************

I would prefer to have with w.min_temp a value, which is valid for all operions 
on that fluid.

Thank you

Alfred

Original issue reported on code.google.com by alfred.m...@googlemail.com on 9 Nov 2013 at 12:08

GoogleCodeExporter commented 9 years ago

Original comment by yarmond on 12 Nov 2013 at 9:02

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2575.

Original comment by yarmond on 12 Nov 2013 at 11:44