Getting started#
Install prerequisites#
Ansys Chemkin 2025 R2 or later with a valid license
Python 3.9 or later
NumPy 1.14.0 or later
PyYAML 6.0 or later
Matplotlib to run examples
Note
Using the latest Ansys Chemkin version is highly recommended.
Install PyChemkin#
Install PyChemkin.
Download the
ansys-chemkin-corepackage from the PyAnsys GitHub repository. Build the wheelhouse locally using Flit:python -m build
Install the package using pip:
pip install dist\ansys_chemkin-*.whl
Alternatively, you can install the package directly from the PyPI repository:
pip install ansys-chemkin-core
Verify the installation.
Open the Python interpreter from the Windows command prompt and import the
ansys-chemkin-corepackage:>>> import ansys.chemkin.core
If PyChemkin is installed correctly, Python displays a statement like this:
Chemkin version number = xxx PyChemkin version number = x.x.x
PyChemkin is probably not installed locally if Python displays nothing:
>>>If Python displays the following statement, update the local Ansys Chemkin installation to 2025 R2 or later:
PyChemkin does not support Chemkin versions older than 2025 R2
Note
You must have a valid Ansys license to run PyChemkin after installation.
PyChemkin will search for the latest version of the local Ansys Chemkin installation and use it automatically. Use the
PYCK_CHEMKIN_VERenvironment variable to specify the desired local Ansys Chemkin installation. For example, setPYCK_CHEMKIN_VER="261"to force PyChemkin to use Ansys Chemkin 2026 R1.