<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://orch.coria-cfd.fr/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kaidiwan</id>
		<title>orch - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://orch.coria-cfd.fr/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kaidiwan"/>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php/Special:Contributions/Kaidiwan"/>
		<updated>2026-06-03T06:37:25Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=473</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=473"/>
				<updated>2019-02-06T15:17:47Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step (with &amp;lt;code&amp;gt;step = DRGEP_Species&amp;lt;/code&amp;gt; in the &amp;quot;input_file.ini&amp;quot;), your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with the file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, we then perform the next DRGEP Reactions step by manually change the value of the &amp;quot;step&amp;quot; keyword in the &amp;quot;input_file.ini&amp;quot; as &amp;lt;code&amp;gt;step = DRGEP_Reactions&amp;lt;/code&amp;gt;. Make sure the reference mechanism and trajectory are correctly set up (i.e., &amp;lt;code&amp;gt;mech_ref = mechanisms/gri12.xml; trajectory_ref = Ref_DRGEP_Species32&amp;lt;/code&amp;gt;). The DRGEP Reactions step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reference 32-species 177-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''computeQSSCriteria''' step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values (i.e., &amp;lt;code&amp;gt;AllowedVariation_A = 0.10; AllowedVariation_b = 0.10; AllowedVariation_E = 0.06&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. The optimisation step supports running in parallel. For example, we can use 20 processors via &amp;lt;code&amp;gt;mpirun -np 20 mainprogram&amp;lt;/code&amp;gt;. Just make sure that PopSize divided by the number of processes is an integer. This step may take a long time, like several hours, depending on how many processors are used. The optimised scheme is in &amp;lt;code&amp;gt;analytic_schemes/Ref/&amp;lt;/code&amp;gt; while the corresponding EPS figures can be found in &amp;lt;code&amp;gt;analytic_schemes/PLOTS/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=472</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=472"/>
				<updated>2019-02-06T15:11:02Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step (with &amp;lt;code&amp;gt;step = DRGEP_Species&amp;lt;/code&amp;gt; in the &amp;quot;input_file.ini&amp;quot;), your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with the file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, we then perform the next DRGEP Reactions step by manually change the value of the &amp;quot;step&amp;quot; keyword in the &amp;quot;input_file.ini&amp;quot; as &amp;lt;code&amp;gt;step = DRGEP_Reactions&amp;lt;/code&amp;gt;. Make sure the reference mechanism and trajectory are correctly set up (i.e., &amp;lt;code&amp;gt;mech_ref = mechanisms/gri12.xml; trajectory_ref = Ref_DRGEP_Species32&amp;lt;/code&amp;gt;). The DRGEP Reactions step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''computeQSSCriteria''' step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values (i.e., &amp;lt;code&amp;gt;AllowedVariation_A = 0.10; AllowedVariation_b = 0.10; AllowedVariation_E = 0.06&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. The optimisation step supports running in parallel. For example, we can use 20 processors via &amp;lt;code&amp;gt;mpirun -np 20 mainprogram&amp;lt;/code&amp;gt;. Just make sure that PopSize divided by the number of processes is an integer. This step may take a long time, like several hours, depending on how many processors are used. The optimised scheme is in &amp;lt;code&amp;gt;analytic_schemes/Ref/&amp;lt;/code&amp;gt; while the corresponding EPS figures can be found in &amp;lt;code&amp;gt;analytic_schemes/PLOTS/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=471</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=471"/>
				<updated>2019-02-06T15:07:54Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step (with &amp;lt;code&amp;gt;step = DRGEP_Species&amp;lt;/code&amp;gt; in the &amp;quot;input_file.ini&amp;quot;), your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with the file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, we then perform the next DRGEP Reactions step by manually change the value of the &amp;quot;step&amp;quot; keyword in the &amp;quot;input_file.ini&amp;quot; as &amp;lt;code&amp;gt;step = DRGEP_Reactions&amp;lt;/code&amp;gt;. The DRGEP Reactions step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''computeQSSCriteria''' step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values (i.e., &amp;lt;code&amp;gt;AllowedVariation_A = 0.10; AllowedVariation_b = 0.10; AllowedVariation_E = 0.06&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. The optimisation step supports running in parallel. For example, we can use 20 processors via &amp;lt;code&amp;gt;mpirun -np 20 mainprogram&amp;lt;/code&amp;gt;. Just make sure that PopSize divided by the number of processes is an integer. This step may take a long time, like several hours, depending on how many processors are used. The optimised scheme is in &amp;lt;code&amp;gt;analytic_schemes/Ref/&amp;lt;/code&amp;gt; while the corresponding EPS figures can be found in &amp;lt;code&amp;gt;analytic_schemes/PLOTS/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=470</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=470"/>
				<updated>2019-02-06T15:07:00Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* QSS step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step (with &amp;lt;code&amp;gt;step = DRGEP_Species&amp;lt;/code&amp;gt; in the &amp;quot;input_file.ini&amp;quot;), your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with the file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, we then perform the next DRGEP Reactions step by manually change the value of the &amp;quot;step&amp;quot; keyword in the &amp;quot;input_file.ini&amp;quot; as &amp;lt;code&amp;gt;step = DRGEP_Reactions&amp;lt;/code&amp;gt;. The DRGEP Reactions step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''computeQSSCriteria''' step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values (i.e., &amp;lt;code&amp;gt;AllowedVariation_A = 0.10; AllowedVariation_b = 0.10; AllowedVariation_E = 0.06&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. The optimisation step supports running in parallel. For example, we can use 20 processors via &amp;lt;code&amp;gt;mpirun -np 20 mainprogram&amp;lt;/code&amp;gt;. Just make sure that PopSize divided by the number of processes is an integer. This step may take a long time, like several hours, depending on how many processors are used. The optimised scheme is in &amp;lt;code&amp;gt;analytic_schemes/Ref/&amp;lt;/code&amp;gt; while the corresponding EPS figures can be found in &amp;lt;code&amp;gt;analytic_schemes/PLOTS/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=469</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=469"/>
				<updated>2019-02-06T15:01:39Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* Optimisation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step (with &amp;lt;code&amp;gt;step = DRGEP_Species&amp;lt;/code&amp;gt; in the &amp;quot;input_file.ini&amp;quot;), your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with the file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, we then perform the next DRGEP Reactions step by manually change the value of the &amp;quot;step&amp;quot; keyword in the &amp;quot;input_file.ini&amp;quot; as &amp;lt;code&amp;gt;step = DRGEP_Reactions&amp;lt;/code&amp;gt;. The DRGEP Reactions step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The QSS step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values (i.e., &amp;lt;code&amp;gt;AllowedVariation_A = 0.10; AllowedVariation_b = 0.10; AllowedVariation_E = 0.06&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. The optimisation step supports running in parallel. For example, we can use 20 processors via &amp;lt;code&amp;gt;mpirun -np 20 mainprogram&amp;lt;/code&amp;gt;. Just make sure that PopSize divided by the number of processes is an integer. This step may take a long time, like several hours, depending on how many processors are used. The optimised scheme is in &amp;lt;code&amp;gt;analytic_schemes/Ref/&amp;lt;/code&amp;gt; while the corresponding EPS figures can be found in &amp;lt;code&amp;gt;analytic_schemes/PLOTS/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=468</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=468"/>
				<updated>2019-02-06T14:55:25Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* Optimisation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step (with &amp;lt;code&amp;gt;step = DRGEP_Species&amp;lt;/code&amp;gt; in the &amp;quot;input_file.ini&amp;quot;), your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with the file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, we then perform the next DRGEP Reactions step by manually change the value of the &amp;quot;step&amp;quot; keyword in the &amp;quot;input_file.ini&amp;quot; as &amp;lt;code&amp;gt;step = DRGEP_Reactions&amp;lt;/code&amp;gt;. The DRGEP Reactions step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The QSS step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values (i.e., &amp;lt;code&amp;gt;AllowedVariation_A = 0.10; AllowedVariation_b = 0.10; AllowedVariation_E = 0.06&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. The optimisation step supports running in parallel. For example, we can use 20 processors via &amp;lt;code&amp;gt;mpirun -np 20 mainprogram&amp;lt;/code&amp;gt;. Just make sure that PopSize divided by the number of processes is an integer. This step may take a long time, like several hours, depending on how many processors are used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=467</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=467"/>
				<updated>2019-02-06T14:45:28Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step (with &amp;lt;code&amp;gt;step = DRGEP_Species&amp;lt;/code&amp;gt; in the &amp;quot;input_file.ini&amp;quot;), your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with the file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, we then perform the next DRGEP Reactions step by manually change the value of the &amp;quot;step&amp;quot; keyword in the &amp;quot;input_file.ini&amp;quot; as &amp;lt;code&amp;gt;step = DRGEP_Reactions&amp;lt;/code&amp;gt;. The DRGEP Reactions step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The QSS step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values. &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=466</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=466"/>
				<updated>2019-02-05T20:22:28Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step (with &amp;lt;code&amp;gt;step = DRGEP_Species&amp;lt;/code&amp;gt; in the &amp;quot;input_file.ini&amp;quot;), your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with a file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, we then perform the next DRGEP Reactions step by manually change the value of the &amp;quot;step&amp;quot; keyword in the &amp;quot;input_file.ini&amp;quot; as &amp;lt;code&amp;gt;step = DRGEP_Reactions&amp;lt;/code&amp;gt;. The DRGEP Reactions step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The QSS step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values. &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=465</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=465"/>
				<updated>2019-02-05T20:21:55Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step (with &amp;lt;code&amp;gt;step = DRGEP_Species&amp;lt;/code&amp;gt; in the &amp;quot;input_file.ini&amp;quot;), your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with a file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, we then perform the next DRGEP Reactions step by manually change the value of the &amp;quot;step&amp;quot; keyword in the &amp;quot;input_file.ini&amp;quot; as &amp;lt;code&amp;gt;step = DRGEP_Reactions;&amp;lt;/code&amp;gt;. The DRGEP Reactions step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The QSS step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values. &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=464</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=464"/>
				<updated>2019-02-05T14:18:30Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step (with &amp;lt;code&amp;gt;step = &amp;quot;DRGEP_Species&amp;quot;;&amp;lt;/code&amp;gt; in the &amp;quot;input_file.ini&amp;quot;), your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with a file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, we then perform the next DRGEP Reactions step by manually change the value of the &amp;quot;step&amp;quot; keyword in the &amp;quot;input_file.ini&amp;quot; as &amp;lt;code&amp;gt;step = &amp;quot;DRGEP_Reactions&amp;quot;;&amp;lt;/code&amp;gt;. The DRGEP Reactions step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The QSS step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values. &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=463</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=463"/>
				<updated>2019-02-05T14:17:48Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step (with &amp;lt;code&amp;gt;step = &amp;quot;DRGEP_Species&amp;quot;;&amp;lt;/code&amp;gt; in the &amp;quot;input_file.ini&amp;quot;), your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with a file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, we then perform the next DRGEP Reactions step by manually change the value of the &amp;quot;step&amp;quot; keyword in the &amp;quot;input_file.ini&amp;quot; as &amp;lt;code&amp;gt;step = &amp;quot;DRGEP_Reactions&amp;quot;&amp;lt;/code&amp;gt;. The DRGEP Reactions step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The QSS step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values. &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=462</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=462"/>
				<updated>2019-02-05T14:09:19Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step, your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory &amp;lt;code&amp;gt;outputs/Premixed/&amp;lt;/code&amp;gt; with a file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, the DRGEP reaction step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The QSS step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values. &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=461</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=461"/>
				<updated>2019-02-05T14:07:18Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step, your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine). The following Figure 1 is available in the directory outputs/Premixed/ with a file format of EPS.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, the DRGEP reaction step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The QSS step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values. &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=460</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=460"/>
				<updated>2019-02-05T13:00:15Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step, your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But it is fine).&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, the DRGEP reaction step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The QSS step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values. &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	<entry>
		<id>https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=459</id>
		<title>Premix CH 4/Air flame with scheme GRI12</title>
		<link rel="alternate" type="text/html" href="https://orch.coria-cfd.fr/index.php?title=Premix_CH_4/Air_flame_with_scheme_GRI12&amp;diff=459"/>
				<updated>2019-02-05T12:59:39Z</updated>
		
		<summary type="html">&lt;p&gt;Kaidiwan: /* DRGEP step */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== '''Objectives''' ==&lt;br /&gt;
&lt;br /&gt;
The Stochastic_GRI12 test case describes a reduction of the GRI1.2 scheme for a 1D premixed flame. Starting with 32 species and 177 reactions, we reduce to 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
== '''Key parameters''' ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target species considered for this test case are O2, CO and CO2. The characteristics of the premixed flame are displayed below (part of the input_file.ini) :&lt;br /&gt;
&lt;br /&gt;
 //------Flame parameters------//&lt;br /&gt;
 //Flame 0&lt;br /&gt;
  Tf = 300&lt;br /&gt;
  To = 300 &lt;br /&gt;
  Pressure = 1E+05&lt;br /&gt;
  Equivalence_ratio = 0.75 &lt;br /&gt;
  Xf = CH4:1.0               &lt;br /&gt;
  Xo = O2:0.21, N2:0.79&lt;br /&gt;
 // the composition can also be added with mass fractions, for that replace &amp;quot;Xf&amp;quot; by &amp;quot;Yf&amp;quot; and &amp;quot;Xo&amp;quot; by &amp;quot;Yo&amp;quot;  &lt;br /&gt;
  Initial_flame = flames/flame__Phi_0_75__P_100000__T_300.cantera&lt;br /&gt;
  Final_flame = flames/flame&lt;br /&gt;
 //End&lt;br /&gt;
&lt;br /&gt;
== '''Results''' ==&lt;br /&gt;
&lt;br /&gt;
=== DRGEP step === &lt;br /&gt;
&lt;br /&gt;
While running the DRGEP species step, your terminal should display the following information :&lt;br /&gt;
&lt;br /&gt;
 MECHANISM:------------------------------------------------------------------------------------------------------&lt;br /&gt;
            Reading initial mechanism &amp;quot;mechanisms/gri12.xml&amp;quot; with description &amp;quot;gri12&amp;quot; ----------&amp;gt; OK&lt;br /&gt;
               Number of species: 32&lt;br /&gt;
               Number of reactions: 177&lt;br /&gt;
&lt;br /&gt;
 PREMIXED FLAME:--------------------------------------------------------------&lt;br /&gt;
  Reading initial flame &amp;quot;flames/flame__Phi_0_75__P_100000__T_300.cantera&amp;quot; with description &amp;quot;st_flame&amp;quot; ----------&amp;gt; description: test flame&lt;br /&gt;
 OK&lt;br /&gt;
               Pressure: 100000&lt;br /&gt;
               Equivalence ratio: 0.75&lt;br /&gt;
               Composition (mass fractions): &lt;br /&gt;
                                    &amp;lt;O2:0.223145&amp;gt;&lt;br /&gt;
                                    &amp;lt;CH4:0.0419532&amp;gt;&lt;br /&gt;
                                    &amp;lt;N2:0.734901&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
followed by the the species associated with their rank :&lt;br /&gt;
&lt;br /&gt;
 -------DRGEP coefficients-------&lt;br /&gt;
 --------------------------------&lt;br /&gt;
 1.37642e-15  AR&lt;br /&gt;
 2.12795e-06  HCCOH&lt;br /&gt;
 4.32935e-05  C2H&lt;br /&gt;
 0.000157543  CH2CO&lt;br /&gt;
 0.000362521  C&lt;br /&gt;
 0.000444401  C2H2&lt;br /&gt;
 0.00101888  HCCO&lt;br /&gt;
 0.00357515  C2H3&lt;br /&gt;
 0.00398744  CH3OH&lt;br /&gt;
 0.00409277  CH&lt;br /&gt;
 0.00543294  CH2OH&lt;br /&gt;
 0.0126485  C2H4&lt;br /&gt;
 0.0126485  C2H5&lt;br /&gt;
 0.0170844  CH2(S)&lt;br /&gt;
 0.0190984  C2H6&lt;br /&gt;
 0.0314311  CH2&lt;br /&gt;
 0.0362943  H2O2&lt;br /&gt;
 0.0844714  H2&lt;br /&gt;
 0.0862782  CH3&lt;br /&gt;
 0.105794  CH2O&lt;br /&gt;
 0.110349  HCO&lt;br /&gt;
 0.141159  H2O&lt;br /&gt;
 0.150828  CH3O&lt;br /&gt;
 0.218864  O&lt;br /&gt;
 0.294638  HO2&lt;br /&gt;
 0.48461  OH&lt;br /&gt;
 0.48475  H&lt;br /&gt;
 1  O2&lt;br /&gt;
 1  CH4&lt;br /&gt;
 1  CO&lt;br /&gt;
 1  CO2&lt;br /&gt;
 1  N2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From a detailed 32 species scheme, we obtain reduced schemes (31 to 14 species). and we choose the one with 14 species for the next step because the shape of the velocity and species are conserved (and Cantera is unable to converge the 13-species scheme. The code will therefore end with an error message. But this is fine).&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPSpec_14Sp_42R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig1 : Comparison between the reference trajectories of the target species, the temperature and the flame speed  (in black), and the trajectories computed with the reduced mechanism with 14 transported species and 42 reactions, after a DRGEP species reduction  (in red).&lt;br /&gt;
&lt;br /&gt;
From the reduced scheme with 14 species, the DRGEP reaction step displays the associated 42 reactions (forward, reverse and global) with their rank : &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Reaction 22  9.23227e-06&lt;br /&gt;
 Reaction 1  2.08238e-05&lt;br /&gt;
 Reaction 11  2.29985e-05&lt;br /&gt;
 Reaction 2  5.30076e-05&lt;br /&gt;
 Reaction 12  0.00029274&lt;br /&gt;
 Reaction 18  0.00191785&lt;br /&gt;
 Reaction 6  0.00198407&lt;br /&gt;
 Reaction 36  0.00293471&lt;br /&gt;
 Reaction 38  0.00420356&lt;br /&gt;
 Reaction 31  0.00462285&lt;br /&gt;
 Reaction 34  0.00611017&lt;br /&gt;
 Reaction 7  0.00905302&lt;br /&gt;
 Reaction 10  0.00921383&lt;br /&gt;
 Reaction 32  0.0106164&lt;br /&gt;
 Reaction 37  0.0133867&lt;br /&gt;
 Reaction 8  0.0136681&lt;br /&gt;
 Reaction 25  0.0237175&lt;br /&gt;
 Reaction 24  0.0277978&lt;br /&gt;
 Reaction 29  0.0305413&lt;br /&gt;
 Reaction 13  0.0329515&lt;br /&gt;
 Reaction 9  0.0342601&lt;br /&gt;
 Reaction 3  0.0398655&lt;br /&gt;
 Reaction 5  0.0422524&lt;br /&gt;
 Reaction 14  0.0442348&lt;br /&gt;
 Reaction 19  0.0493222&lt;br /&gt;
 Reaction 35  0.102885&lt;br /&gt;
 Reaction 40  0.103946&lt;br /&gt;
 Reaction 26  0.111933&lt;br /&gt;
 Reaction 30  0.131232&lt;br /&gt;
 Reaction 23  0.159996&lt;br /&gt;
 Reaction 21  0.161005&lt;br /&gt;
 Reaction 20  0.180048&lt;br /&gt;
 Reaction 39  0.18465&lt;br /&gt;
 Reaction 42  0.19675&lt;br /&gt;
 Reaction 4  0.208145&lt;br /&gt;
 Reaction 15  0.215404&lt;br /&gt;
 Reaction 16  0.222982&lt;br /&gt;
 Reaction 27  0.274358&lt;br /&gt;
 Reaction 17  0.274617&lt;br /&gt;
 Reaction 33  0.403162&lt;br /&gt;
 Reaction 41  0.437888&lt;br /&gt;
 Reaction 28  0.438952&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After this step, by comparing the reference trajectories with the new ones, we choose to delete 16 reactions because after 17 reactions removed, the CO2 profile loose its initial shape.&lt;br /&gt;
The next step is performed with 14 species and 26 reactions.&lt;br /&gt;
&lt;br /&gt;
[[File:DRGEPR_14sp_26R_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig2 : Comparison between the trajectories of the target species, the temperature and the flame speed computed with the reduced 14-species 42-reaction mechanism (in black) , and the trajectories computed with the reduced mechanism with 14 transported species and 26 reactions after a DRGEP reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== QSS step ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The QSS step provides the QSS criteria of each species and the different links with the others species : &lt;br /&gt;
&lt;br /&gt;
 Species H  0.0752034&lt;br /&gt;
 Species O  0.0211171&lt;br /&gt;
 Species O2  0.33194&lt;br /&gt;
 Species OH  0.019287&lt;br /&gt;
 Species H2O  0.379235&lt;br /&gt;
 Species HO2  0.0113201&lt;br /&gt;
 Species CH3  0.107792&lt;br /&gt;
 Species CH4  0.79541&lt;br /&gt;
 Species CO  0.693792&lt;br /&gt;
 Species CO2  0.720209&lt;br /&gt;
 Species HCO  0.00321461&lt;br /&gt;
 Species CH2O  0.0817911&lt;br /&gt;
 Species CH3O  0.0360026&lt;br /&gt;
 Species N2  0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Interactions with species H  with QSS Criteria 0.0752034&lt;br /&gt;
 HO2:2  CH3:1  CH2O:2  CH3O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species O  with QSS Criteria 0.0211171&lt;br /&gt;
 OH:1  HO2:1  CH3:1  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species OH  with QSS Criteria 0.019287&lt;br /&gt;
 O:1  OH:2  HO2:1  CH3:2  HCO:2  CH2O:1  CH3O:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HO2  with QSS Criteria 0.0113201&lt;br /&gt;
 H:2  O:1  OH:1  CH3:1  CH2O:1  N2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3  with QSS Criteria 0.107792&lt;br /&gt;
 H:1  O:1  OH:2  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species HCO  with QSS Criteria 0.00321461&lt;br /&gt;
 OH:2  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH2O  with QSS Criteria 0.0817911&lt;br /&gt;
 H:2  O:1  OH:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species CH3O  with QSS Criteria 0.0360026&lt;br /&gt;
 H:1  O:1  OH:1  &lt;br /&gt;
&lt;br /&gt;
 Interactions with species N2  with QSS Criteria 0&lt;br /&gt;
 H:1  HO2:1  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We choose to put the species CH3O and HCO in QSS hypothesis due to their low QSS coefficient. The species HO2 could have been a good candidate too but it is linked to himself (non linearity).&lt;br /&gt;
&lt;br /&gt;
In order to obtain the trajectories of the 14-species 26-reaction reduced scheme with these 2 species in QSS hypothesis, we run the '''getQSSfile''' step and we obtain the following graphs.We observe that the final state and the shape of the trajectories are conserved. It is under these conditions that the optimisation step will be efficient.&lt;br /&gt;
&lt;br /&gt;
We can note that the main target profiles are not impacted by the QSS hypothesis, nevertheless the fitness seems better. This is due to errors compensations by the other species not shown here (remind that the fitness is calculated for all species, velocity and temperature, the target just have a larger impact coefficient on the fitness). &lt;br /&gt;
&lt;br /&gt;
[[File:QSS_12sp_Premixed.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig3 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after a DRGEp reaction reduction (in red).&lt;br /&gt;
&lt;br /&gt;
=== Optimisation ===&lt;br /&gt;
&lt;br /&gt;
The final step of the ORCh method, the genetic algorithm, enables to recover the trajectories of the target species. Firstly, we allowed a 10 % variation on the pre exponential factor, the temperature exposant and 6 % on the energy activation in order to find their optimal values. &lt;br /&gt;
&lt;br /&gt;
A population of 40 elements was used during 50 generations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following trajectories of the temperature, the flame speed and the target species match perfectly the ones of the reference detailed scheme with only 12 transported species and 26 reactions.&lt;br /&gt;
 &lt;br /&gt;
[[File:Optim_PremixGRI12.png|900px|center]]&lt;br /&gt;
&lt;br /&gt;
Fig4 : Comparison between the reference trajectories of the target species, the temperature and the flame speed (in black), and the trajectories computed with the reduced mechanism with 12 transported species and 26 reactions after optimisation (in red).&lt;br /&gt;
&lt;br /&gt;
== '''Bibliography''' ==&lt;/div&gt;</summary>
		<author><name>Kaidiwan</name></author>	</entry>

	</feed>