Difference between revisions of "Outputs"

From orch
Jump to: navigation, search
(Compute QSS Criteria)
(Compute QSS Criteria)
Line 87: Line 87:
  
 
Moreover, the species selected for QSS assumption must be in linear interaction with transported species. So if a species A is linked with a QSS species B, the species A cannot be in QSS assumption.
 
Moreover, the species selected for QSS assumption must be in linear interaction with transported species. So if a species A is linked with a QSS species B, the species A cannot be in QSS assumption.
 +
 +
This step does not generate outputs, it is just a tool to determine which species can be put in QSS assumption.
  
 
== Get QSS file ==
 
== Get QSS file ==

Revision as of 17:04, 19 September 2017

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 A is linked with a QSS species B, the species A cannot be in QSS assumption.

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

Get QSS file

Get QSS file FORTRAN

Optimisation

Lumping