Commit graph

5556 commits

Author SHA1 Message Date
Andreas Rücker
49c963143e [1D] Add simple radiation model for flames
Implements the radiation model of Liu & Rogg (1991). Optically thin limit,
gray-gas approximation using Planck mean absorption coefficients. Considers
emissions from CO2 and H2O, with the temperature-dependent absorption
coefficients calculated using polynomial fits to results from RADCAL
(Grosshandler, 1993).
2015-01-15 21:15:15 +00:00
Ray Speth
217a001a08 [Doc] Correct title of "Chemically Reacting Flow" 2015-01-15 21:15:12 +00:00
Ray Speth
ad1cd8c7bb Remove unnecessary numerical constants 2015-01-15 21:15:07 +00:00
Ray Speth
a9754874dc [Doc] Document MacPorts installation option
Thanks to Thomas Fiala for writing the Cantera portfile and getting it added to
MacPorts.
2015-01-13 23:07:06 +00:00
Ray Speth
fdf7db716e [Transport] Construct gas phase Transport without GasTransportParams
Since most of the members of class GasTransportParams were copied to
MixTransport or MultiTransport, they have instead been made members of
GasTransport and populated directly, making class GasTransportParams
unnecessary.
2015-01-13 23:07:00 +00:00
Ray Speth
44a99de4e0 [Test] Add tests for manually-constructed Transport objects 2015-01-13 23:06:59 +00:00
Ray Speth
bdc568d416 [Transport] Make constructors for MixTransport and MultiTransport public 2015-01-13 23:06:57 +00:00
Ray Speth
9f6c9e3a46 [ck2cti] Fix reading some input files containing non-unicode characters
In Python 3, attempting to convert some mechanisms would give errors like the
following:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 348:
invalid start byte
2015-01-12 19:55:37 +00:00
Ray Speth
94d924e32d [Transport] Use gas transport data from Species objects
This makes initialization of GasTransport objectsindependent of the XML input
format.
2015-01-08 23:36:26 +00:00
Ray Speth
2a50dc50f7 [Thermo] Add accessor for Species objects 2015-01-08 23:36:24 +00:00
Ray Speth
8022e9e01e [Transport] Add gas phase transport parameters to Species objects 2015-01-08 23:36:22 +00:00
Ray Speth
5f33f426b8 Remove bogus transport data from stoichSolidKinetics test input file 2015-01-08 23:36:19 +00:00
Ray Speth
07fd8e26c0 [Transport] Move gas transport initialization to class GasTransport
Model-specific initialization code belongs in the classes implementing
the corresponding model, not in TransportFactory.
2015-01-07 23:30:57 +00:00
Ray Speth
141e7d9b40 [1D] Make argument to Inlet1D::setMoleFractions const
Fixes Issue 246.
2015-01-06 23:37:31 +00:00
Ray Speth
e94ec95988 [Python] Specify python executable to be used in shebang line for scripts
This fixes a bug in the Windows installer where the path to python.exe on the
machine where the installer is built is used, and also allows us generate
different shebang lines for the Python 2 and Python 3 modules.

Fixes Issue 247.
2015-01-06 23:37:30 +00:00
Ray Speth
e05da2a6a5 [Transport] Fix conversion of dipole moments from Debye to SI units
The existing formulas for converting Debye to SI units did not maintain the
correct dimensionality for the dipole moment. The updated formulas do not change
the results of any calculations, but the dipole moment is now correctly
expressed in Coulomb-meters.
2015-01-06 23:37:28 +00:00
Ray Speth
79baacc605 [Doc] Fix Doxygen subsection groupings 2015-01-06 23:37:25 +00:00
Ray Speth
d5907088a7 [Doc] Note availability of packages for Ubuntu 14.10 (Utopic Unicorn) 2015-01-06 23:37:22 +00:00
Steven DeCaluwe
8070d661d2 Tidying up cp_Ref calcualtions in MultiTransport 2014-12-16 19:40:23 +00:00
Steven DeCaluwe
1f6d0d898a Forgot to delete old definition of 'cp' in previous commmit. 2014-12-16 13:32:11 +00:00
Steven DeCaluwe
661758d64d Correcting Cp_ref calculation in MultiTransport, which previously
assumed an ideal gas phase.
2014-12-16 13:32:08 +00:00
Ray Speth
f3b66ec5f7 [Doc] Add search box to Doxygen documentation
This also fixes a bug where jquery.js was not being copied to the directory with
the generated documentation on some operating systems (Debian-based Linux
distributions).
2014-12-12 01:37:12 +00:00
Ray Speth
ca9b7625d0 [Doc] Remove reference to non-existent 'State.h' 2014-12-12 01:37:06 +00:00
Ray Speth
ac6f7fefdf [Python] Clarify properties of class Mixture which can be set 2014-12-12 01:37:00 +00:00
Ray Speth
28210182fb [SCons] Describe allowable values for msvc_version 2014-12-12 01:36:59 +00:00
Ray Speth
ddfc15bb77 Allow CANTERA_DATA to include multiple directories 2014-12-12 01:36:56 +00:00
Ray Speth
693d5caaf6 Clean up flamespeed demo 2014-12-12 01:36:53 +00:00
Ray Speth
8c7e694dbf Fix compiler warnings in flamespeed demo 2014-12-12 01:36:51 +00:00
Ray Speth
c5ed13be9f Remove resolved todo on flamespeed.cpp
This example now works as a result of the changes to multicomponent transport
evaluation in r3147 and r3148.
2014-12-12 01:36:49 +00:00
Ray Speth
4e6205fa8c Eliminate memory leak in demoequil.cpp 2014-12-12 01:36:48 +00:00
Ray Speth
7d19ee9488 Remove unneeded work array management from MultiNewton 2014-12-12 01:36:45 +00:00
Ray Speth
edac95d06d Remove unnecessary manual memory management from examples 2014-12-12 01:36:41 +00:00
Ray Speth
0ad587f50b Remove some unnecessary temporary references 2014-12-12 01:36:35 +00:00
Ray Speth
0e51465722 [Doc] Describe specification of reaction orders in CTI files 2014-12-05 23:33:42 +00:00
Ray Speth
ba42bc6da2 [Doc] Remove suppression of Doxygen autolinking
In those cases where the name is actually a reference to the class, we actually
want Doxygen to apply formatting to the name and link to the class's
documentation, so we shouldn't suppress that behavior with the prepended '%'.
2014-12-05 23:33:24 +00:00
Ray Speth
3812215ce2 [Doc/Python] Add docstrings for some 1D methods and properties 2014-12-05 23:33:22 +00:00
Ray Speth
d76b67f5fb [ck2cti] Check for formatting errors in elemental composition
Formatting errors (e.g. values in incorrect columns) result in an empty
elemental composition. Raise an exception if this occurs.
2014-12-05 23:33:20 +00:00
Ray Speth
26cb89b228 [Doc] Update compilation and installation instructions for OS X
These instructions apply to OS X 10.9 and 10.10 and XCode 5 and 6.
2014-12-05 23:33:18 +00:00
Ray Speth
4ca0bedecd Remove unnecessary use of const_cast 2014-12-05 23:33:17 +00:00
Ray Speth
d830012340 Remove unnecessary explicit calls to operator() and operator= 2014-12-05 23:33:15 +00:00
Ray Speth
cdf764be4a [Transport] Allow CK_Mix and CK_Multi transport models in 1D flames 2014-11-19 20:27:57 +00:00
Ray Speth
34fa3aa5df [Doc] Add more documentation for class Reaction and its children 2014-11-19 20:27:51 +00:00
Ray Speth
c1e4430c8a [Doc] Fix formatting of Doxygen comments for Reaction classes 2014-11-19 20:27:38 +00:00
Ray Speth
7a4d13a5c2 [Test] Display failing test program exit codes in test log 2014-11-15 19:27:44 +00:00
Ray Speth
404a9b03d2 [Test] Use exit code to indicate failure in surfSolver test 2014-11-15 19:27:12 +00:00
Ray Speth
4e99746457 [Kinetics] Allow explicit specification of the sticking species 2014-11-15 19:26:37 +00:00
Ray Speth
ced2d20dd8 Use XML_Node::attrib when it is more clear than using operator[] 2014-11-15 00:47:31 +00:00
Ray Speth
de3d212062 [SCons] Deprecate unnecessary build options 2014-11-15 00:47:30 +00:00
Ray Speth
5958578c40 [Kinetics] Check for negative and non-reactant reaction orders
Allow non-reactant orders for electrochemical reactions

Allow negative orders specifically requested, e.g. by setting the
'negative_orders' option in the CTI definition of the reaction.
2014-11-15 00:47:25 +00:00
Ray Speth
e09db92756 [Doc] Fix some Doxygen warnings 2014-11-15 00:47:19 +00:00