Hi Thomas,
I have tried your method with relatively good success although the scripts takes pretty long to compute.
For my mechanism, (207 species and 2329 reactions), it took 8 hours to compute my results and I have still not done the full pressure range as defined in the code.
That said, I have so question.
1) How different it is to use a linear space pressure range instead of a log based pressure range, does it affect the computation time?
2) For this case, are we doing the simulation in 1 instant of time or does this following some rules or constraints ?
3) The result (from some modification of your code) came out well but I will like to introduce my own initial grid system after taking into consideration where the flame is likely to be from the initial guess. Well this help in the computation time?
4) For the iteration, can I implement the change in composition in a loop like what u did for pressure? However, I ran the code once and got some result with the CH4:1, O2:1 composition for fuel and oxidizer. Are these results correct?
5) I am intending to change the values of mass flow velocity and the grid distance to fit some experimental setup, will this affect result greatly? (keeping in mind of using my original initial solution obtained as a guide to set the boundary condition)
Lastly, it has something to do with how the Counterflowdiffusionflame() solver works. How does the result get calculated?
For example, in the case of solving for one pressure, does the solver do several iteration for one pressure value before saving the result? What about the initial newton time stepping, do we use those time step to calculate the end result?
In the case of the premixed flame simulations, I can specify the reaction to advance 1 step but I dont know if I can do the same with the counterflowdiffusionflame module.
I asked my supervisor who only worked with CHEMKIN and he told me that the solver maybe calculating the propagation of the flame as it meets, until the temperature profile reaches a certain threshold before saving the result in f.T.
All in all, I received great help from you and I will be using parts of your code and literature for my thesis. How do I properly cite your work in my code.
Really appreciate your help in this!
Alan