-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
16 lines (14 loc) · 702 Bytes
/
Copy pathREADME
File metadata and controls
16 lines (14 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
This repository contains simple examples for using git with GitHub on Linux.
## Contents
- `multiphase_solver.py`: A Cantera-based zero-dimensional solver for gas/solid
multi-phase systems. It now tracks gas and solid phases separately,
enabling simulations of coupled chemistry such as pyrolysis.
- `MytestNew2/MytestNew3/sample3.C`: Example C program used for testing.
## Usage
```
python multiphase_solver.py GAS_MECH SOLID_MECH [END_TIME]
```
`GAS_MECH` and `SOLID_MECH` are the mechanism YAML or CTI files describing the
thermodynamic and kinetic data for each phase. The script prints the final state
of the gas and solid separately, which is useful for validating pyrolysis
mechanisms.