bloc.stone_parser#
STONE YAML utilities for Bloc (Boulder-backed).
Bloc depends on Boulder for parsing STONE configs and building Cantera
reactor networks. Use the helpers below to load a config and build a
ct.ReactorNet along with a lightweight results dict.
Attributes#
Functions#
|
Load and normalize a STONE config using Boulder. |
|
Build a Cantera ReactorNet and results from a STONE YAML file via Boulder. |
Module Contents#
- bloc.stone_parser.DEFAULT_MECHANISM = 'gri30.yaml'#
- bloc.stone_parser.load_config_boulder(yaml_path)#
Load and normalize a STONE config using Boulder.
Returns a Boulder-normalized config dict.
- bloc.stone_parser.build_network_from_yaml(yaml_path)#
Build a Cantera ReactorNet and results from a STONE YAML file via Boulder.
This also imports
bloc.design_reactorsto register Bloc custom builders with Boulder at import-time.