"gas not defined error"

28 views
Skip to first unread message

Januario Hossi

unread,
Jun 26, 2025, 11:37:53 AM6/26/25
to Cantera Users' Group
Hello everyone,

I am using spyder for cantera, some codes were working, but I am constantly encountering an error "gas not defined" after inputing the mechanism gas = ct.Solution('gri30.yaml). 

Kindly assist how can I fix this error ?

吳昀叡

unread,
Jun 26, 2025, 12:28:07 PM6/26/25
to canter...@googlegroups.com
It seems that you should put an additional ‘ like ‘gri30.yaml’. 

Januario Hossi <hossija...@gmail.com>於 2025年6月26日 週四,下午11:37寫道:
Hello everyone,

I am using spyder for cantera, some codes were working, but I am constantly encountering an error "gas not defined" after inputing the mechanism gas = ct.Solution('gri30.yaml). 

Kindly assist how can I fix this error ?

--
You received this message because you are subscribed to the Google Groups "Cantera Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cantera-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cantera-users/194ac15a-1ff3-4da6-879b-a73efcda7c84n%40googlegroups.com.

Januario Hossi

unread,
Jun 27, 2025, 6:20:54 AM6/27/25
to canter...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages