Commit graph

79 commits

Author SHA1 Message Date
Ray Speth
56cb190a64 Fix units of site density in sofc.cti 2019-06-25 22:30:59 -04:00
Steven DeCaluwe
fb3dee36c5 Removing references to incompressible_solid in sofc.cti
Removes references to incompressible_solid phase in the codebase.
This phase type references ConstDensityThermo phase, which is a
non-physical model and is to be deprecated, with Cantera 2.5. In
order to enable deprecation, the following changes are hereby made:

- Changes oxide_bulk phase type from incompressible_solid to lattice in sofc.cti
- Changes test_convert.py so that it interrogates the density_mole of the bulk_oxide, rather than density_mass
2019-06-12 17:54:48 -04:00
Ray Speth
1f70f7751c Move sofc.cti from examples to main data directory 2019-03-05 16:09:55 -05:00
Ray Speth
8bcb62f727 Fix GRI3.0 transport coefficients
The old (C++) ck2cti program unnecessarily rounded some species transport
coefficients. This updates the coefficients in the input files derived from GRI
3.0, and updates the test comparisons for affected tests.
2019-02-25 11:05:40 -05:00
Ray Speth
8689809d9e Remove unused XML input files
The XML versions of these files that are actually installed/used are the ones
generated during the build process from their CTI equivalents.
2019-02-25 11:05:40 -05:00
Steven DeCaluwe
8169c26271 Updates to ctml_writer.py associated with BinarySolutionTabulatedThermo class.
-Removes option to read tabulated thermo from an external csv file (this is now
handled from within cti or xml).
-Renames `rateCoeff` keyword to the more appropriate `rate_coeff_type`, and fixing
keyword order so that this new keyword is listed last.
-Removes `else` statement from `if isinstance(self._standardState, standardState)
-Removes unused `_pure` attribute from `IdealSolidSolution` and
`BinarySolutionTabulatedThermo`
-Changes default on `tabulated_species` keyword to `None`.
-Removing superfluous `standardState:_build` from ctml_writer.py
- Removes unnecessary conc_dim() definition in `table` class.
- Removes unnecessary units defintion for mole fractions in `table` class.
- Improves grammar in error message for case when thermo table is
not provided for `tabulated_species`.
2019-02-20 21:39:22 -05:00
Manik Mayur
b8d5eb405a Add MATLAB example files for BinarySolutionTabulatedThermo class 2019-02-20 21:39:22 -05:00
Steven DeCaluwe
68a89d0322 Adding critProperties database for RedlichKwongMFTP
Adds capability for RedlichKwongMFTP to read a database of critical properties
for Tc and Pc of common species, so that users do not need to input pureFluidParameters
for every single species, thereby reducing burden during creation of new cti files.

For any species where pureFluidParameters are not provided by the user, function
getCoeffs scans the database looking for matches.  Any unmatched species will throw
an error.  Currently only scans by species name string, and is only intended for
common species with well-known critical properties.

Current operation is quite slow if the table is consulted for a large number of
species.  In the future, should also implement the capability to write the updated
pureFluidParameters back into the xml file, so the user only has to perform the lookup
once.
2018-12-11 11:08:47 -05:00
BangShiuh
3a0f46eb56 [Transport] Add class IonGasTransport 2018-06-15 10:44:46 -04:00
Ray Speth
e78aac7b70 [Examples] Clean up NonIdealShockTube example
Eliminate pandas dependency and simplify some Matplotlib usage
2017-09-18 20:26:11 -04:00
Steven DeCaluwe
2a601c148f [Examples] Add NonIdealShockTube
Import NonIdealShockTube example from Jupyter notebook

Clean up some of the code in the aforementioned file, adding better/more
descriptive commenting, add additional analysis to compare ideal gas and real
gas implementations of the n-dodecane mechanism, and add documentation for RK
constant calculation
2017-09-18 20:26:11 -04:00
bangshiuh
3b12c6d662 [1D] Introduction of IonFlow flame class
tested successfully with gri30
2017-05-16 13:55:40 -04:00
David Sondak
6138a39faa Remove dummy element from elements.xml
Resolves #363
2016-08-30 20:31:31 -04:00
Ray Speth
e90dbcb27e Remove unnecessary reaction from ptcombust.cti
The current methods for handling negative species do not have the problem
described.
2016-07-28 22:38:05 -04:00
Ray Speth
7e4e4fd0d3 Remove unused input data files 2016-06-30 20:23:48 -04:00
Ray Speth
e41a667dba Remove unused scripts from build system 2016-06-23 17:18:49 -04:00
Ray Speth
e4c45b6429 General whitespace cleanup
Remove unnecessary blank lines and trailing whitespace. Replace tabs with
spaces.
2015-08-02 23:06:15 -04:00
Ray Speth
ab6ae72e0d Add missing reaction to "h2o2" mechanism
This mechanism, which is supposed to be the H2 mechanism extracted from GRI-3.0,
was actually missing the reaction H+O2+M <-> HO2+M. This updates the original
input file, regenerates h2o2.cti, and updates the blessed output file for one
test (which changed because the newer version of ck2cti actually retains the
given precision of the transport properties).
2014-09-23 02:20:49 +00:00
Ray Speth
1215f05da7 [Kinetics] Remove deprecated GRI30 class
Resolves Issue 134.
2013-12-14 00:17:54 +00:00
Harry Moffat
cfa4493b51 Worked on fixing errors in the code that caused problems with downstream code.
Took out single_species compilation option

took out some deprecated warnings

Fixed an error in copy constructors for thermo.

Still an error with PYTHONPATH and the test suite

 -- more to come.
2013-09-02 00:58:28 +00:00
Ray Speth
9740980c5d Deprecate class GRI_30_Kinetics 2013-06-13 22:50:14 +00:00
Ray Speth
49ff2c4dbf Fix to ignore duplicate third body efficiencies in ohn.cti
Cherry-picked from 2.0 maintenance branch (r1911)
2012-11-14 21:07:07 +00:00
Ray Speth
8c8ef2626a Removed broken / unused input files 2012-11-14 21:06:58 +00:00
Ray Speth
0901c8b25f Cleaned up formatting of liquidvapor.cti 2012-05-11 15:27:30 +00:00
Ray Speth
7676097b4a Removed execute permission from nonexecutable files 2012-03-13 17:32:41 +00:00
Ray Speth
71588d307d Remove files for Autotools and Visual Studio build systems 2011-12-14 19:38:10 +00:00
Ray Speth
ec0c45d8fb Removed some unused files 2011-12-14 19:35:40 +00:00
Harry Moffat
06876f5ad5 Copied changes from 1.8.0 branch to trunk.
Changes in the mechanism to make the solution more numerically stable.
2009-12-29 02:37:30 +00:00
Harry Moffat
201117842e ignore list maintenance. 2009-07-29 15:22:58 +00:00
Harry Moffat
70647c85ed Initial Import 2009-07-27 23:17:19 +00:00
Harry Moffat
6749446397 Added an example of NaCl(S) in the MineralEQ3 format. 2008-12-27 00:30:59 +00:00
Harry Moffat
db3c4a592d Took out the value attribute if there isn't any data.
This prevented a messy CanteraError throw.
2008-09-26 23:09:46 +00:00
Harry Moffat
274b86da0d Fixed an xml error in elements.xml 2008-09-26 22:33:46 +00:00
Harry Moffat
a6894efa18 Checked in a full set of element entropies at 298 for elements in their
standard states, along with a description of the source for the
values. This was done by Carlos Jove-Colon.

The database is needed to convert gibbs free energies of formation
for each species to species chemical potentials.
2008-09-26 20:49:02 +00:00
Dave Goodwin
a1262bc6b0 *** empty log message *** 2008-02-13 05:36:27 +00:00
Harry Moffat
6bdbc1361d Added an xml file, silane.xml 2008-01-01 16:54:18 +00:00
Dave Goodwin
c438d5846f added spectroscopy support 2007-12-15 17:15:46 +00:00
Harry Moffat
9013398978 Added generated file to the ignore list 2007-10-19 17:11:51 +00:00
Harry Moffat
ebab5dfe87 Changed the makefile to use the BUILDBIN variable. The converter
programs are no longer in ../bin.
2007-10-19 16:59:09 +00:00
Harry Moffat
40e450ca8e This is now a created file. 2007-10-19 16:54:15 +00:00
Harry Moffat
eed1a2bd5f Minor formatting changes. 2007-10-19 16:48:58 +00:00
Harry Moffat
6c051e7acc Added files for NASA9 parameterization of air up to 20000K. The original
data for these is in the thermo directory.
2007-10-10 15:14:10 +00:00
Dave Goodwin
dafd2ad411 *** empty log message *** 2007-05-22 20:16:47 +00:00
Harry Moffat
7bdea0ffd8 Doxygen update
Finished a draft of the File Tab within Doxygen. Each file now
has a link to the relevant modules and classes.
2007-03-23 15:09:17 +00:00
Dave Goodwin
50ee030af3 *** empty log message *** 2006-11-08 01:36:24 +00:00
Dave Goodwin
5c13ab25c6 *** empty log message *** 2006-11-08 01:15:13 +00:00
Dave Goodwin
d1029224fb added mechanism for partial oxidation of methane on platinum from the Deutschmann group 2006-11-05 15:54:12 +00:00
Dave Goodwin
29825431df changes to support the classes for CO2 and heptane in tpx 2005-09-16 04:57:32 +00:00
Dave Goodwin
7c57748518 *** empty log message *** 2005-08-18 14:50:59 +00:00
Dave Goodwin
a33fac5990 *** empty log message *** 2005-06-25 05:28:53 +00:00