Outputs

From orch
Revision as of 16:50, 19 September 2017 by Seltz (Talk | contribs) (DRGEP reaction)

Jump to: navigation, search
Screenshot of the running main program

Once your "condition.cpp" is filled with the desired key words, you can run the code with


make clean

make

and

./mainProgram


If the main program is correctly running, your terminal should display the ORCh logo and all the information on your flame and your scheme.

The outputs depends on the step you are running



Compute Trajectories

This step calculates the trajectories of the wanted mechanism. The .dat files are directly written in the output directory under the name "Premixed_.dat" for the 1D premixed configuration and under the name "Trajectory_X.dat" for the 0D stochastic configuration, with X the number of the inlets

DRGEP species

Exemple : List of the species with their interaction rate

During this step, the main program will display every species of the scheme with the maximum of the interaction rates with the targeted species next to them. The interaction rates of targeted species are automatically set to 1. After that, new trajectories will be calculated with less and less species (until divergence with the reference trajectories), starting by the suppression of the less ranked ones.

Trajectories are then written in the repertory /outputs/Premixed or /outputs/Stochastic and new schemes in /outputs/mechanisms, with the name of the step and the number of species.

Exemple :

For a 20 species reduced scheme for 1D premixed flames, the outputs are :

The mechanism : outputs/mechanisms/drgepSpecies20.xml

The trajectory : outputs/Premixed/Reduced_DRGEP_Species20.dat

And the trajectories of the species chosen by the user in "SpeciesToPlot" compared to the trajectory of the reference scheme : outputs/Premixed/RefVersus_DRGEP_Species20.dat

DRGEP reaction

Exemple : List of the reactions with their interaction rate displayed during the run

During this step, the main program will display every global, backwards and forwards reactions of the scheme with the maximum of the interaction rates with the targeted species next to them. After that, new trajectories will be calculated with less and less reactions (until divergence with the reference trajectories), starting by the suppression of the less ranked ones.

Trajectories are then written in the repertory /outputs/Premixed or /outputs/Stochastic and new schemes in /outputs/mechanisms, with the name of the step and the number of reactions.

Exemple :

For a 30 reactions reduced scheme for 0D stochastic configuration with 2 inlets, the outputs are :

The mechanism :

outputs/mechanisms/drgepReactions30.xml

The trajectories :

outputs/Stochastic/Reduced_DRGEP_Reactions30_0.dat
outputs/Stochastic/Reduced_DRGEP_Reactions30_1.dat

And the trajectories of the species chosen by the user in "SpeciesToPlot" compared to the trajectory of the reference scheme :

outputs/Stochastic/RefVersusDRGEP_Reactions30_Inlet0.eps
outputs/Stochastic/RefVersusDRGEP_Reactions30_Inlet1.eps

Compute QSS Criteria

Example : QSS criteria

During this step, the main program displays the QSS criteria of each species and their interaction with the other. If this criteria is close to 0, the species is a good candidate to be in quasi steady state assumption.

Moreover, the species selected for QSS assumption must be in linear interaction with transported species. So if a species like CH3O in the screenshot example is put to QSS assumption, all the species linked to CH3O like OH, O and H cannot be put in QSS assumption, even if their QSS criteria is low.

This step does not generate outputs, it is just a tool to determine which species can be put in QSS assumption.

Get QSS file

This step generates the analytic scheme trajectories with the list of the QSS species. The user can choose to test N lists of QSS species, and all the outputs will be placed in the following directories :

analytic_schemes/RefQSSAnalysis0/ 
analytic_schemes/RefQSSAnalysis1/ 
...
analytic_schemes/RefQSSAnalysisN-1/


In each RefQSSAnalysis/ directory, the trajectories and the associated plots are written.

Example : If 2 species are put in QSS assumption from a 14 species scheme, the outputs are :

the trajectory :

Reduced_QSS12.dat

The trajectory plots against the reference scheme :

RefVersusQSS12.eps


Nota bene : The fitness displayed in the graphs is the one between the current reduced trajectories and the trajectories of the reference scheme chosen by the user.


Optimisation

This step generates N elements of a population of analytic schemes at each generation with different Arrhenius factors. It is recommended to divide the elements on several processes in order to have a population as large as possible.

The outputs of interest are all placed in the following directory :

analytic_schemes/PLOTS

where the evolution of the best scheme fitness is plotted at each generation along with the plots of the trajectories of the best scheme. This step ends when all the generations have run, but with these outputs the user can choose to end this step sooner.

Example :

Trajectory plot of the best scheme at the third generation written in :

analytic_schemes/PLOTS/GEN3_POP0_FIT-1096.eps

and the N analytic schemes divided on the p processes are calculated on the Ref files :

analytic_schemes/Ref0
analytic_schemes/Ref1
...
 analytic_schemes/Refp-1


Finally the best scheme at each generation is placed in the directory :

analytic_schemes/Ref/