Commit graph

69 commits

Author SHA1 Message Date
Ray Speth
044235c065 [SCons] Remove unnecessary uses of pjoin 2014-10-08 16:54:49 +00:00
Bryan W. Weber
a067fcbc37 [Samples/Matlab] Fix bugs in conhp and conuv Matlab samples 2014-07-18 14:35:22 +00:00
Ray Speth
dd297256ff [Matlab/Samples] Update to use IdealGasReactor 2014-06-16 22:01:31 +00:00
Ray Speth
049c9a1960 [Matlab/Samples] Fix broken default argument checks
There are no classes named 'GasMix' or (lowercase) 'solution', so these checks
would always fail and the input argument would always be silently ignored.
2014-06-16 22:01:13 +00:00
Ray Speth
6c3fdb7963 [Matlab/Samples] Remove duplicate examples
'ignite2.m' was essentially a duplicate of 'ignite.m'
'ignite3.m' was essentially a duplicate of 'ignite_uv.m'
2014-06-16 22:00:46 +00:00
Ray Speth
fd0db67172 [Matlab/Samples] Move reactor ODE functions into samples directory
These functions are used by some of the examples, and show how custom
reactor-like models can be implemented in Matlab. They are useful mostly as a
basis for user modifications.
2014-06-16 22:00:41 +00:00
Ray Speth
40290736e0 [Reactor/Samples] Cleanup of kinetics1.cpp
Change this example to use IdealGasConstPressure reactor, which
is the preferred reactor model for this kind of simulation.
2014-06-06 00:17:53 +00:00
Ray Speth
a583949457 [Reactor] ReactorNet::addReactor takes a reference instead of a pointer
This reflects how the function is usually used. The old signature is now
deprecated, as is the extra argument for transfering "ownership" to the
ReactorNet object.
2014-06-06 00:17:41 +00:00
Ray Speth
3944dda878 Fix path to Cantera.mak in sample Fortran Makefiles
Use relative path if the Cantera install directory contains spaces, as the
Makefile 'include' statement doesn't seem to have a way to escape the space
otherwise.
2014-04-28 18:18:10 +00:00
Ray Speth
4e363c1073 Reduce confusion related to Fortran 90 sample Makefile
For some compilers (gfortran), there is no space in the argument for specifying
a module directory, e.g. '-Jdir', while for others (ifort), there is,
e.g. '-module dir'. This substitutes the correct prefix directly into the
compiler command line to avoid the confusion associated with having a variable
defined with a meaningful trailing space.
2014-04-14 18:37:54 +00:00
Ray Speth
c7ba8bfb84 Remove abandoned autotools build system 2014-03-04 17:38:53 +00:00
Ray Speth
aae8982924 Clean up end-of-file whitespace 2014-01-30 00:47:24 +00:00
Ray Speth
d9af4af88f [Fortran] Fix compiler used for building Fortran sample programs 2014-01-23 04:20:48 +00:00
Ray Speth
a33c57d1f1 [1D] Remove unused method 'setAdiabaticFlame' 2014-01-23 04:20:42 +00:00
Ray Speth
d5a9da2b57 [Samples] Improve output of 'combustor' sample C++ program
Switch to integrating using 'advance' instead of step to make output comparable,
independent of small changes in the integrator. Output only selected species and
trim the integration period to reduce the size of the output file (from 3 MB to
25 kB).
2014-01-02 22:23:32 +00:00
Ray Speth
1215f05da7 [Kinetics] Remove deprecated GRI30 class
Resolves Issue 134.
2013-12-14 00:17:54 +00:00
Ray Speth
b5e540c903 [Python] Remove the legacy Python module 2013-12-09 01:35:08 +00:00
Ray Speth
75bc6312ab [Matlab/Samples] Fix tolerances on flame example 2013-12-05 20:54:01 +00:00
Ray Speth
335e8fcd07 [Samples] Fix missing includes in C++ sample programs 2013-10-07 15:17:28 +00:00
Ray Speth
1592ee37df Add a note indicating the location of the Cython examples 2013-08-22 21:46:09 +00:00
Ray Speth
5bd01da0fa Fix deprecation warnings in SOFC example 2013-07-26 21:33:54 +00:00
Ray Speth
c76ddefa5f Fix spelling errors 2013-07-26 21:33:50 +00:00
Ray Speth
700ebd0abf [Matlab/Examples] Don't call non-existent methods
The current simulation time is a property of the reactor network, not the
individual reactors.
2013-07-16 22:10:01 +00:00
Ray Speth
13e707999f [Matlab/Examples] Make constant pressure reactor example more explicit
Both the reactor and the adjacent reservoir need to have the same pressure. This
example relied on the fact that the default pressure of the 'air' phase is 1
atm, which caused it to break if the user changed the pressure of the reactor
gas.
2013-07-16 22:09:59 +00:00
Ray Speth
d253fc0d63 Eliminate redundant standard library includes 2013-06-05 17:08:13 +00:00
Ray Speth
736fccf7ef SCons-generated SConstruct files specify Visual Studio version 2013-06-05 03:08:48 +00:00
Ray Speth
e940a96a98 [Matlab] Fixed integration failure in surfreactor example 2013-05-06 20:06:01 +00:00
Ray Speth
c7ff7dd1cf [SCons] Fixed path to Cantera.mak in sample Makefiles
Fixes Issue 144.
2013-03-04 17:31:11 +00:00
Ray Speth
6d6e237f07 Removed unnecessary checks surrounding delete operations 2013-02-14 01:03:32 +00:00
Ray Speth
d3c0411f3e Removed redundant / vestigial code from the Blasius example 2012-12-30 00:16:58 +00:00
Ray Speth
2052ac5b57 Fixed compilation errors in the Blasius boundary layer example 2012-12-30 00:16:53 +00:00
Ray Speth
3cd3bbef8f Removed some unnecessary "using namespace" directives 2012-10-24 15:45:19 +00:00
Ray Speth
1d19803885 Pass "const std::string&" instead of "std::string" when possible 2012-10-24 15:42:51 +00:00
Ray Speth
d78ec19e4c Fixed issues with library and include paths in sample SConstruct scripts 2012-08-13 20:14:18 +00:00
Ray Speth
c77539e577 Fixed generated SConstruct files to work with MSVC
cherry-pick of r1634 from 2.0 maintenance branch
2012-08-13 20:14:04 +00:00
Ray Speth
9966a24a3f Fixed library specifications in installed SConstruct scripts for samples
cherry-pick of r1632 from 2.0 maintenance branch
2012-08-13 20:13:56 +00:00
Ray Speth
bf727c2631 Removed redundant copies of some input files 2012-08-08 22:18:24 +00:00
Ray Speth
24d7a3e091 Removed some unused exception classes 2012-08-08 22:17:22 +00:00
Ray Speth
88bb6fe679 Removed obsolete C++ Chemkin mechanism converter 2012-07-26 20:49:50 +00:00
Ray Speth
cfe5824a7d Removed some deprecated code 2012-07-16 22:18:35 +00:00
Ray Speth
584b9fe6f5 Replaced hard-coded values of physical constants with named constants 2012-06-12 22:48:38 +00:00
Ray Speth
6011f24b38 Removed unnecessary WITH_FEATURE configuration options 2012-05-31 14:57:32 +00:00
Ray Speth
176d8ecfe0 Updated the rxnpath1.py sample
This sample now uses a locally installed copy of Graphviz to produce an image,
instead of relying on a public 'webdot' server which no longer exists.
2012-05-29 18:03:27 +00:00
Ray Speth
dcb7f37a3c Modify return value handling for some examples and tests 2012-05-24 16:29:59 +00:00
Ray Speth
df40d898b0 Fixed building the Fortran 90 sample program 2012-05-17 21:48:49 +00:00
Ray Speth
d16f70ab44 Fixed some spelling issues 2012-04-04 18:44:24 +00:00
Ray Speth
b3ae0c9208 Use quotes instead of angle brackets for non-system header #includes 2012-03-15 19:52:16 +00:00
Ray Speth
ca4212cc57 Removed a number of unused / redundant typedefs 2012-03-15 19:51:57 +00:00
Ray Speth
7676097b4a Removed execute permission from nonexecutable files 2012-03-13 17:32:41 +00:00
Ray Speth
3be53356a2 Updated sample build scripts to include pthread where necessary 2012-03-09 22:59:50 +00:00