MRod5 / pyturb

Gas models, combustion and gas turbine solver.
MIT License
67 stars 16 forks source link

Enable more fuels at Combustion() #11

Closed MRod5 closed 2 years ago

MRod5 commented 2 years ago

Whenever a Combustion() is initiated, the fuel and oxidixer proposed for the combustion are checked within a list that is hard-coded at Combustion.__init__. The list is very limited and the species name do not coincide with the name of the gas in PerfectIdealgas or SemiperfectIdealGas.

The list of accepted fuels and oxidixers should be expanded and it should be enough to provide the basic chemical formula instead of the name at Nasa Glenn file. I.e:

It would be more efficient to search for the basic formula instead the complete literal, i.e. search for 'C4H8' instead of 'C4H8,1-butene'

MRod5 commented 2 years ago

Done