Difference between revisions of "Inputs"

From orch
Jump to: navigation, search
Line 13: Line 13:
 
</code>
 
</code>
  
=== Premixed flame characteristics ===
+
The detailed chemical scheme contained in "mechanisms"
 +
 
 +
<code>
 +
mech_ref = "mechanims/detailed scheme in xml";
 +
</code>
 +
 
 +
Finally the reference scheme of the current step, also found in the repertory mechanism, depends on the step, and the mechanism description (doesn't change through the ORCh steps) :
 +
 
 +
<code>
 +
mech = "mechanims/current chemical scheme in xml";
 +
mech_desc = "mechanism description";
 +
</code> 
 +
 
 +
=== Premixed flame ===
  
 
If you want to reduce schemes for premix flames, firstly you will run a flame with the following inputs :
 
If you want to reduce schemes for premix flames, firstly you will run a flame with the following inputs :
Line 24: Line 37:
 
listFlames.push_back(new PremixedFlames( fuel temperature, oxider temperature, pressure, ratio, Yf, Xf, Yo, Xo, path of the reference flame, path of the new flame));
 
listFlames.push_back(new PremixedFlames( fuel temperature, oxider temperature, pressure, ratio, Yf, Xf, Yo, Xo, path of the reference flame, path of the new flame));
 
</code>
 
</code>
 
 
  
  
 
In order to converge faster, you have to indicate a reference flame with characteristics close to the ones you want to run
 
In order to converge faster, you have to indicate a reference flame with characteristics close to the ones you want to run

Revision as of 15:14, 13 March 2017

Every key words are contained in the file "condition.cpp", this is where you specify the characteristics of your flame and the ORCh step you want to run.

First, you choose the studied combustion regime (premixed flame, auto-ignition ou multiple Inlet regime)

configuration = "studied regime";

Then, the ORCh step you want to perform (DRGEP_species, DRGEP_reactions, ComputeTrajectories, computeQSSCriteria, getQSSfile, getQSSfileFORTRAN, Optimisation, or Lumping)

step = "chosen step";

The detailed chemical scheme contained in "mechanisms"

mech_ref = "mechanims/detailed scheme in xml";

Finally the reference scheme of the current step, also found in the repertory mechanism, depends on the step, and the mechanism description (doesn't change through the ORCh steps) :

mech = "mechanims/current chemical scheme in xml"; mech_desc = "mechanism description";

Premixed flame

If you want to reduce schemes for premix flames, firstly you will run a flame with the following inputs :

configuration = "PremixedFlames";

listFlames.push_back(new PremixedFlames( fuel temperature, oxider temperature, pressure, ratio, Yf, Xf, Yo, Xo, path of the reference flame, path of the new flame));


In order to converge faster, you have to indicate a reference flame with characteristics close to the ones you want to run