Commit Graph

1111 Commits

Author SHA1 Message Date
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
1a6f711795 [Transport] Handle empty string as transport model more consistently
The empty string / Python None object correspond to the 'none' transport
model, never to the 'default' transport model defined by the YAML file.

Resolves #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
Ray Speth
c260e7bcc1 [CI] Run Python tests in parallel 2024-06-05 10:11:23 -04:00
Ray Speth
43b1fffe14 [SCons] Add commands for building (but not running) tests 2024-06-05 10:11:23 -04: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
Ray Speth
0d362b7bfe [SCons] Avoid creating extra copy of data files in build/data 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
Ingmar Schoegl
8a789676cf [0D] Deprecate direct thermo/kinetics setters 2024-04-10 23:03:52 -04:00
Ingmar Schoegl
cb2be38dc8 [0D] Remove legacy wall methods 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
Bang-Shiuh Chen
76f7a814d4 [test] add ElectronCollisionPlasmaFromYaml 2024-03-28 10:55:04 -04:00
Ingmar Schoegl
e9215e6600 [MATLAB-legacy] Remove MATLAB from build system 2024-03-28 09:27:10 -04:00
Ingmar Schoegl
41d7ca6c43 [MATLAB-legacy] Remove references to MATLAB 2024-03-28 09:27:10 -04:00
Ingmar Schoegl
5e275fc63d [MATLAB-legacy] Remove toolbox interface 2024-03-28 09:27:10 -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
497926bcb2 [clib] Create alternative reactor_new3 2024-02-20 21:56:45 -05:00
Ingmar Schoegl
cda3c30590 [0D] Prepare newReactor with contents 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
Ingmar Schoegl
3bc6a4befe [unittest] Update unit tests 2024-02-20 21:56:45 -05:00
Ingmar Schoegl
32f9ea6ec8 [0D] Deprecate zeroD insert 2024-02-20 21:56:45 -05:00
Ingmar Schoegl
0ead71c534 [unittest] Add googletests to check guards 2024-01-20 15:16:53 -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
ssun30
3a9bc6a66d Density/specific volume are now basis dependent 2023-10-18 16:42:11 -04:00
ssun30
c452b8a4d9 Updated documentation for stoich coeff methods 2023-10-18 16:42:11 -04:00
ssun30
903d48bbbf Fixed setter errors with unit conversions 2023-10-18 16:42:11 -04:00
ssun30
bb7c01a836 Added error handling for out of bounds indices 2023-10-18 16:42:11 -04:00
ssun30
cc54703c5b Removed unnecessary variable root_dir 2023-10-18 16:42:11 -04:00
ssun30
6ce0ef5b73 Fixed issues in ThermoPhase to pass more tests 2023-10-18 16:42:11 -04:00
ssun30
7c8e3e4492 Fixed Kinetics class so all tests pass 2023-10-18 16:42:11 -04:00