131 Commits

Author SHA1 Message Date
Jongyoon Bae
0d5b540619 Replace keywords and cantera version 2023-03-18 17:25:00 -04:00
Jongyoon Bae
edf4b3afa9 Remove redundancy in CoverageDependentSurfPhase 2023-03-18 17:25:00 -04:00
Jongyoon Bae
7f33fcf209 Fix typos in code and docstring 2023-03-18 17:25:00 -04:00
Jongyoon Bae
79dbf00b75 Add ThermoYamlRoundtrip test and python example 2023-03-18 17:25:00 -04:00
Ingmar Schoegl
01b88b090d [samples] Replace show_solution by show 2023-03-18 17:21:07 -04:00
Ingmar Schoegl
9fd1218047 [samples] Update HDF support in Python samples 2023-03-16 10:13:02 -04:00
Ray Speth
23ebd13dbf Deprecate XML-era transport names 'Mix' and 'Multi'
Fixes #1425
2023-03-13 22:58:24 -05:00
Ray Speth
fde6650a0b Deprecate most XML-era model names 2023-03-13 22:58:24 -05:00
Ray Speth
97839894e2 Fix spelling errors 2023-01-23 12:57:58 -05:00
Ray Speth
5e5e7dfd23 Remove need for prefixing required delegates 2023-01-21 17:43:37 -06:00
Ray Speth
8ece96fb2e Make custom_reaction.py example more robust
Much of the difference between cases was coming from taking different
numbers of timesteps based on small rounding errors. Running over a
range of different initial conditions and calculating stats on a
"per timestep" basis helps isolate the effect of the user-defined
reactions.
2023-01-21 17:43:37 -06:00
Ray Speth
199c98b300 [Python] Allow use of '__slots__' in Extensible classes 2023-01-21 17:43:37 -06:00
Ray Speth
f687bfdbf7 Implement ExtensibleRateData for Python interface 2023-01-21 17:43:37 -06:00
Ingmar Schoegl
f6cdcbc3dc Address review comments 2023-01-12 14:05:37 -05:00
Ingmar Schoegl
90cb10802b [samples] Remove Sim1D.write_hdf from Python samples 2023-01-12 14:05:37 -05:00
Ingmar Schoegl
4962c924f4 [samples] Update diffusion_flame_batch.py 2023-01-12 14:05:37 -05:00
Ingmar Schoegl
488bd1a3ab [samples] Fix regression in diffusion_flame_batch.py
Remove code introduced in #1394
2022-09-28 21:01:46 -04:00
Ray Speth
f6744eca05 Make dimensionalization of IAPWS95 EOS consistent
The nondimensional EOS should always be dimensionalized to a mass
basis using the value of R given in the original source. Values on
a molar basis can then be computed consistently using the best available
value for the molecular weight of water.

Partially resolves #1315
2022-09-25 16:54:39 -04:00
Ray Speth
7ace1bc40f Update documentation of "version added" 2022-09-11 10:59:30 -04:00
Ray Speth
c2243429d8 Update custom_reaction example to also show ExtensibleRate 2022-09-11 10:59:30 -04:00
Ray Speth
2ec692c850 [Reactor] Use right preconditioning by default
Using right preconditioning provides a more reliable performance benefit
even after the ignition event, allowing the solver to take reasonable
timesteps and showing a CPU-time benefit even for a single reactor with
the 100-species n-dodecane mechanism.
2022-08-30 13:23:38 -04:00
Ray Speth
48b0998675 Combine CVODES stats retrieval functions 2022-08-30 13:23:38 -04:00
Ingmar Schoegl
b7f582b162 [samples] Move Python examples to standard location and update SCons 2022-08-06 18:34:07 -05:00
Ray Speth
b5e540c903 [Python] Remove the legacy Python module 2013-12-09 01:35:08 +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
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
d16f70ab44 Fixed some spelling issues 2012-04-04 18:44:24 +00:00
Ray Speth
7676097b4a Removed execute permission from nonexecutable files 2012-03-13 17:32:41 +00:00
Ray Speth
6cb4bd93ce Cleaned up whitespace in all Python files using reindent.py
4 spaces per indentation level, no tabs, no trailing whitespace,
and a single newline at end of each file.
2012-02-27 18:13:05 +00:00
Ray Speth
2528df0f75 Reorganized source tree structure
These changes make it unnecessary to copy header files around during
the build process, which tends to confuse IDEs and debuggers. The
headers which comprise Cantera's external C++ interface are now in
the 'include' directory.

All of the samples and demos are now in the 'samples' subdirectory.
2012-02-12 02:27:14 +00:00