The chemistry.py module#
Summary#
Define and preprocess Chemkin chemistry set. |
Get current Pychemkin verbose mode. |
|
Set Pychemkin verbose mode. |
|
Return the Chemkin-CFD-API version number currently in use. |
|
Check the Chemkin-CFD-API vwersion. |
|
Release Chemkin license and reset the Chemistry sets. |
|
Check whether the Chemistry Set is initialized in Chemkin-CFD-API. |
|
Switch to (re-activate) the Chemistry Set. |
|
Activate the Chemistry Set automatically and silently. |
|
Create a new Chemistry Set. |
|
Set the Chemistry Set Initialization flag to True. |
|
Verify if the chemistry set is currently activated. |
Description#
Chemkin Chemistry utilities.
Module detail#
- chemistry.verbose() bool#
Get current Pychemkin verbose mode.
- chemistry.set_verbose(onoff: bool)#
Set Pychemkin verbose mode.
- chemistry.chemkin_version() int#
Return the Chemkin-CFD-API version number currently in use.
- chemistry.verify_version(min_version: int) bool#
Check the Chemkin-CFD-API vwersion.
- chemistry.done()#
Release Chemkin license and reset the Chemistry sets.
- chemistry.check_chemistryset(chem_index: int) bool#
Check whether the Chemistry Set is initialized in Chemkin-CFD-API.
- chemistry.activate_chemistryset(chem_index: int) int#
Switch to (re-activate) the Chemistry Set.
- chemistry.force_activate_chemistryset(chem_index: int)#
Activate the Chemistry Set automatically and silently.
- chemistry.chemistryset_new(chem_index: int)#
Create a new Chemistry Set.
- chemistry.chemistryset_initialized(chem_index: int)#
Set the Chemistry Set Initialization flag to True.
- chemistry.check_active_chemistryset(chem_index: int) bool#
Verify if the chemistry set is currently activated.
- chemistry.MAX_SPECIES_LENGTH = 17#
- chemistry.COMPLETE = 0#
- chemistry.LP_c_char#
- chemistry.chemkin_verbose = True#