Enable more fuels at Combustion()
MRod5 opened this issue · 1 comments
MRod5 commented
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:
- There are 8 species (isomers) of the butene (C4H8):
- C4H8,1-butene
- C4H8,cis2-buten
- C4H8,tr2-butene
- C4H8,isobutene
- C4H8,cyclo-
- C4H8(L),1-buten
- The
__init()__
inCombustion
checks that the literal gas species name is among the allowed fuels - Thus the 8 different species should be listed among the allowed fuels in order to make use of them
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
Done