Commit Graph

276 Commits

Author SHA1 Message Date
Christopher Neal
9fd067dbaa formatting changes & documentation/samples tweaks 2024-06-21 14:23:34 -04:00
Christopher Neal
7b2cace4c4 improved comments for control point picking, added more tests, updated example script 2024-06-21 14:23:34 -04:00
Christopher Neal
b22f6f035d added tests for two-point control method, not working for some 2024-06-21 14:23:34 -04:00
Christopher Neal
b357c79f53 updates to docstrings, code logic, and tests for two-point control 2024-06-21 14:23:34 -04:00
Ray Speth
2675f1bad3 [Test] Reduce pruning threshold to prevent oscillations 2024-06-21 14:23:34 -04:00
Christopher Neal
e044cba6c4 python unit test for two-point control 2024-06-21 14:23:34 -04:00
Ray Speth
e092189740 [Reactor] Improve drawing of reactor labels when showing state
Also, dot the m in mdot.
2024-06-21 20:17:45 +02:00
Ray Speth
4d509b5423 [Python] Fix Numpy 2.0 compatibility issues 2024-06-19 10:27:10 -04:00
Ray Speth
1b56a06cbb [Kinetics] Simplify input for extensible interface reactions
Fixes #1620
2024-06-11 22:25:21 -04:00
Ray Speth
5311183966 [Test] Add test for extensible interface reaction 2024-06-11 22:25:21 -04:00
Ray Speth
61ba170b2f [Test] Fix test order dependency in sticking reaction tests 2024-06-10 21:17:16 -05:00
Ray Speth
4732a42a88 [Test] Tweak flame tests to run faster 2024-06-10 21:17:16 -05:00
Ray Speth
2ae654cec7 [Python/1D] Detect invalid boundary conditions for flame configurations
Fixes #1694
2024-06-10 21:17:16 -05:00
Ray Speth
da9e29ba7d [Python/1D] Disallow redundant grid specification
Fixes #1693
2024-06-10 21:17:16 -05:00
Ray Speth
42e9c8434d [1D] Fix setting diffusion flame initial guess from known data
Fixes #1674
2024-06-10 21:17:16 -05:00
Ray Speth
4d6a3659be [Python] Handle potential exceptions propagating from callbacks
Resolves side-issue noted in #1680
2024-06-10 21:17:16 -05:00
Ray Speth
3dc08153c2 [1D] Automatically adjust temperature bounds for low-temperature flames
Fixes #1684
2024-06-10 21:17:16 -05:00
Cory Kinney
1ed2b28bb1 yaml2ck: Implement undeclared third body test
- Converted species names to set comprehension, as suggested
- Added phase definition from original issue for test
- Implemented test to check that only the undeclared third body was omitted
- Temperature and pressure conditions used for kinetics check matched to GRI 3.0 test function
2024-06-03 17:34:26 -04:00
Ray Speth
0c5fa1b201 [Python] List data files from subdirectories 2024-04-11 08:57:01 -04:00
Ingmar Schoegl
b80afd1cc2 [0D] Move deprecation warning for empty reactors 2024-04-10 23:03:52 -04:00
Ray Speth
b0ba90a3e7 [Kinetics] Ensure rate name is known during third body set up 2024-03-28 10:55:04 -04:00
Bang-Shiuh Chen
fd6ae0571a [test] add test_convert.py 2024-03-28 10:55:04 -04:00
Bang-Shiuh Chen
4b2c2e865b [test] add test_electron_collision_plasma 2024-03-28 10:55:04 -04:00
Bang-Shiuh Chen
da64d8f66c [test] add TestElectronCollisionPlasmaReaction 2024-03-28 10:55:04 -04:00
Christopher Neal
64df109577 improved python test and formatting changes to doc strings 2024-03-11 19:43:32 -04:00
Christopher Neal
bc50dd7ce0 updates to interface and added a test for the Python interface 2024-03-11 19:43:32 -04:00
ThorstenZirwes
66835e2d8d [1D] Add option for mass fraction gradient fluxes 2024-03-09 22:04:55 -05:00
Ingmar Schoegl
55e316206c [unittest] Write output in work directory 2024-02-24 17:29:17 -06:00
Ingmar Schoegl
cfcb2f2f80 Address review comments 2024-02-20 21:56:45 -05:00
Ingmar Schoegl
2b4c7d0c87 [Python] Deprecate instantiation of Reactors without content 2024-02-20 21:56:45 -05:00
Ray Speth
78ba8c1818 Use pytest features in ReactorNet drawing tests 2024-01-05 20:28:44 -05:00
Niclas Garan
2cb54f145e updated tests 2024-01-05 20:28:44 -05:00
Niclas Garan
94e1388fcd rename dot to graph and groupname to group_name 2024-01-05 20:28:44 -05:00
Niclas Garan
04df9f404c adjust wall velocity representation
Requires graphviz >= 9.0
2024-01-05 20:28:44 -05:00
Niclas Garan
c6b2d04ca8 Check for unique names, remove wrapper functions
If names are not unique, raise AssertionError
Regroup keyword arguments for functions
2024-01-05 20:28:44 -05:00
Niclas Garan
96c21a2b6f add species_units keyword to draw_reactor
This allows to display reactors' species as either percent or ppm
2024-01-05 20:28:44 -05:00
Niclas Garan
c7cdf27c9f Use graphviz' cluster feature to allow for grouping of reactors
This introduces an additional `groupname` attribute for the `Reactor` extention class
2024-01-05 20:28:44 -05:00
Niclas Garan
ff046ddd31 Ensure that drawing nodes are always given a unique name
Otherwise, graphviz will consider them to be the same object.
2024-01-05 20:28:44 -05:00
Niclas Garan
7b20d8e27c include wall movement 2024-01-05 20:28:44 -05:00
Niclas Garan
c553eb2915 Include ReactorSurface 2024-01-05 20:28:44 -05:00
Niclas Garan
92609d8475 add unittests for drawing methods 2024-01-05 20:28:44 -05:00
Ray Speth
884cc9f0d4 [ck2yaml] Fix converting surface mechanisms with separate thermo data 2023-12-06 21:12:15 -05:00
g3bk47
329952d1bf [Tests] address review comments for legacy hdf5 tests 2023-10-01 21:43:53 -04:00
g3bk47
bcbf442e9b [Test] adjust tolerances for legacy hdf5 tests 2023-10-01 21:43:53 -04:00
g3bk47
9588047e43 [1D] Use midpoint properties for diffusion fluxes 2023-10-01 21:43:53 -04:00
Ingmar Schoegl
475d855099 [unittest] Ensure yaml2ck handles notes correctly 2023-09-09 18:15:48 -05:00
Ingmar Schoegl
1118711332 [unittests] Add test for Solution.write_chemkin 2023-09-09 18:15:48 -05:00
Ingmar Schoegl
395a7d2252 [ck2yaml] Rename convert_mech to convert
Adopt the same naming convention as used by other converter scripts.
2023-09-09 18:15:48 -05:00
Ray Speth
434c94eab0 [Python] Remove legacy constructor option for ReactingSurface1D 2023-08-26 19:03:02 -07:00
Ray Speth
ab46f66601 Remove deprecated Python code 2023-08-26 19:03:02 -07:00