speth/ember

Support yaml input

BangShiuh opened this issue · 1 comments

It would be much convient to use yaml which becomes the standard input of Cantera. Does anyone plan to update Ember for this feature? I am looking at the function chemistry0d.initialize(). And maybe I could use auto sol = Cantera::newSolution(mechanismFile, phaseID, "None"); to initialize thermo, but I am not sure how can I use the value of a shared_ptr e.g. thermo = sol->thermo();.

Feel free to use the commit "enable yaml initialization" at https://github.com/BangShiuh/ember/tree/burner-flame-mass-flux