Hello all,
Since there is no ready made model available in Cantera which is similar to SI engine knock assessment Chemkin model, I have started building it on own by breaking down in to smaller tasks. I have approached this problem as given below:
1. Creation of single zone HCCI Cantera code --> Basically to gain confidence on the engine like implementation (Instantaneous volume change to reactor like engine with adiabatic conditions to reactor)
2. Extended the code to simplified heat transfer equation and compared with Chemkin results.
3. Further, incorporated Woschni heat transfer equation to the code and compared with Chemkin results.
Basically, all these steps are done to gain confidence on the Cantera script which will behave as engine and heat transfer conditions at the engine walls.
After completing these things, I have explored the Cantera tutorials which handles two zone and mass exchanges between them.
1.piston.py -
https://cantera.org/examples/python/reactors/piston.py.html2.reactor2.py -
https://cantera.org/examples/python/reactors/reactor2.py.html3.periodic_cstr.py -
https://cantera.org/examples/python/reactors/periodic_cstr.py.html4.fuel_injection.py -
https://cantera.org/examples/python/reactors/fuel_injection.py.htmlThough these tutorials provided some insight about the two reactor handling and mass exchange in the reactors, I am not able to model the two zone/reactor with the following requirements.
These requirements are taken from Chemkin manual. I would like to have support from the Cantera users to implement these equations.
I have attached the developed script (till this point) and the exact equations below.
Regards,
Saravana Kumar Lakshmanan.