![]() Reversible reaction is very nearly equilibrated, which only occurs if the gas If the magnitudes of the numbers in this list are all very small, then each reverse_rates_of_progress > for i in range ( g. Alternatively, you can call functionĪdd_directory() to add a directory to the Cantera search path: System, set environment variable CANTERA_DATA to the directory orĭirectories (separated using on Windows or : on other operating If for some reason Cantera has difficulty finding where these files are on your Unix/Linux/Mac OS X machines, depending on how you installed Cantera and the ![]() On Windows or /usr/local/cantera/data/ on Subdirectory of the Cantera installation directory, for example C:\Program Files\Cantera\data These files are usually located in the data Included with Cantera, including ones that model high- temperature air,Ī hydrogen/oxygen reaction mechanism, and a few surface Several other reaction mechanism files are With the species and reactions of GRI-Mech 3.0, using the gri30.yaml inputįile included with Cantera. In previous example, we created an object that models an ideal gas mixture For example, to set all 53 mole fractions to the The composition can also be set using an array, which must have the same sizeĪs the number of species. Mass fractions can be set in this way too by Numbers will be normalized to produce the mole fractions, and therefore theyĪre "relative" mole numbers. The composition above was specified using a string. Of 1.0, and all of the others will be zero. General, whichever species is listed first will initially have a mole fraction There is nothing special about H2 - it just happens toīe the first species listed in the input file defining GRI-Mech 3.0. The summary of the state of gas1 printed above shows that new objectsĬreated from the gri30.yaml input file start out with a temperature of 300 K,Ī pressure of 1 atm, and have a composition that consists of only one species, Temperature, a pressure, species mole and mass fractions, etc. The gas1 object has properties you would expect for a gas mixture - it has a Moriarty, Boris Eiteneer, Mikhail Goldenberg, C. Mech 3.0, the 53-species, 325-reaction natural gas combustion mechanismĭeveloped by Gregory P. What you have just done is to create an object, gas1 that implements GRI.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |