s-amouyal12 / cantera

Automatically exported from code.google.com/p/cantera
0 stars 0 forks source link

New tutorials for batch counterflow diffusion flame simulations and extinction point simulation #229

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I wrote two tutorials for the new python interface.

The first tutorial ``diffusion_flame_batch.py`` runs two batches of counterflow 
diffusion flames, one with increasing pressure and one with increasing strain 
rate.
This example can e.g. be used to iterate to a counterflow diffusion flame to an 
awkward pressure and strain rate, or to create the basis for a flamelet table.

The second tutorial ``diffusion_flame_extinction.py`` computes the extinction 
point of a hydrogen-oxygen counterflow diffusion flame at 1 bar.

Both tutorials make use of the scaling rules derived by Fiala and Sattelmayer 
(doi:10.1155/2014/484372), making them highly efficient.

I hope that you find them helpful. Please consider adding them to the python 
tutorials.

Original issue reported on code.google.com by thetruet...@googlemail.com on 6 Aug 2014 at 4:26

Attachments:

GoogleCodeExporter commented 9 years ago
These look like very nice, both for being useful in and of themselves, and as 
good examples of how to use the 1D code. My one concern is about the included 
license. I think it would be best to keep only the copyright statement, and 
implicitly defer to the License.txt for the full license (as is done in many of 
the other Cantera source files). Otherwise, it complicates defining the license 
under which the whole of Cantera is distributed. Would this change be 
acceptable?

Original comment by yarmond on 29 Aug 2014 at 4:19

GoogleCodeExporter commented 9 years ago
Thank you for your comments!
Yes, I would be perfectly fine with a shorter and clearer copyright statement. 
I just took the original one from ck2cti.py, which was the first statement with 
a name in it that I found.

I uploaded a modified version. I also updated the strain rate computations to 
the routines now implemented.

Original comment by thetruet...@googlemail.com on 29 Aug 2014 at 10:30

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3136.

Original comment by yarmond on 2 Sep 2014 at 10:34