Commit graph

12 commits

Author SHA1 Message Date
Ray Speth
40f0b28c5e Revise comments and explanatory text for surface PFR example 2018-09-07 23:20:53 -04:00
Ray Speth
5d1d9f4918 Adjust plotting in surface PFR example 2018-09-07 23:20:53 -04:00
Ray Speth
1d65a5ff84 Use np.hstack instead of nested np.append calls 2018-09-07 23:20:53 -04:00
Ray Speth
c987456128 Formatting / PEP8 cleanup of 1D_pfr_surfchem 2018-09-07 23:20:53 -04:00
Ray Speth
b8b1022c2f Fix midpoint temperature in SiF4-NH3 mechanism
The correct midpoint temperature is 1000 K, despite what it says in the original
input file. This can be easily verified by plotting the high and low temperature
polynomials and noting that the differences in cp/R, h/RT, and s/R are all zero
at 1000 K, but not at the stated midpoint temperature of 600 K.
2018-09-07 23:20:53 -04:00
yuj056
db403dc82c Add 1D plug flow reactor model with surface chemistry 2018-09-07 23:20:53 -04:00
Steven DeCaluwe
c65d3b26bd Moving .py file exports to main Cantera repo.
Notebooks from the 'reactors' folder are exported as py files, and
moved to interfaces/cython/cantera/examples/reactors in the main
Cantera repository.
2017-08-04 13:29:43 -06:00
Steven DeCaluwe
f927636698 Adding example for non-ideal reactor, folder for py files
This PR has two main changes:
1. Adding a jupyter notebook example to the reactors folder for
a constant-volume, adiabatic reactor.  This is employed within
the context of IDT calculations in high-pressure shock tubes.
I'd be happy to add Comparison to experimental data, pending
publication of a manuscript currently under consideration (and
coauthor permission).

This largely follows the routines established in the batch reactor
example, and states as much in the notebook.

2. It occurs to me that some users might be interested in seeing
the examples as py files, but don't want to bother with installing
Jupyter and figuring out how to use it (while these steps are easy,
they still might represent a barrier to some users).

For the three notebooks in this folder, then, I've saved the notebooks
as simple py files and added them to a folder labeled as such.
2017-08-04 12:55:54 -06:00
Santosh Shanbhogue
e77e213abb Add icons to landing page to make more appealing 2016-09-20 18:52:31 -04:00
Santosh Shanbhogue
118dd56071 Add continuous reactor example
Resolves #6
2016-09-20 18:52:31 -04:00
Santosh Shanbhogue
a1cfe4f919 Fix y-axis label. Add note about get_state returning mass fractions
The original figure labeled the y-axis as plotting mole fractions of OH. But this was a value obtained from get_state() and hence should be mass-fractions.
2016-09-17 20:37:26 -04:00
Santosh Shanbhogue
a0801e83e1 Add batch reactor example demonstrating NTC behavior
Resolves #4
2016-09-01 22:29:29 -04:00