Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions docs/source/qs/input.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,76 @@ In the above example, the meanings of the parameters are:
* ``torchModel``: name of network.
* ``coresPerNode``: If you are using one node on a cluster or using your own PC, set this parameter to the actual number of cores used to run the task. If you are using more than one node on a cluster, set this parameter the total number of cores on one node. The number of GPUs used is auto-detected.

The dictionary ``CanteraTorchProperties`` is the original dictionary of DeepFlame. It reads in network related parameters and configurations. It typically looks like:

.. code-block::

combustionModel flareFGM;//PaSR,EDC

EDCCoeffs
{
version v2005;
}

PaSRCoeffs
{
mixingScale
{
type globalScale;//globalScale,kolmogorovScale,geometriMeanScale,dynamicScale

globalScaleCoeffs
{
Cmix 0.01;
}
}
chemistryScale
{
type formationRate;//formationRate,globalConvertion
formationRateCoeffs
{}
}

}

flareFGMCoeffs
{
buffer false;
scaledPV false;
combustion false;
ignition false;
solveEnthalpy false;
flameletT false;
relaxation false;
DpDt false;
/*ignition false;
ignBeginTime 0.1;
ignDurationTime 0.0;
x0 0.0;
y0 0.0;
z0 0.0;
R0 0.0;*/
Sct 0.7;
bufferTime 0.0;
speciesName ("CO");
}

In the above example, the meanings of the parameters are:

* ``combustionModel``: the name of the combustion model, alternative models include PaSR, EDC, flareFGM.
* ``EDCCoeffs, PaSRCoeffs, flareFGMCoeffs``: model cofficients we need to define.
* ``mixingScale``: turbulent mixing time scale including globalScale,kolmogorovScale,geometriMeanScale,dynamicScale.
* ``chemistryScale``: chemistry reaction time scale including formationRate,globalConvertion .
* ``buffer``: switch for buffer time.
* ``scaledPV``:the switch is used to determine whether to use scaled progress variables or not.
* ``combustion``:the switch is used to control whether the chemical reactions are on or off.
* ``ignition``:the switch is used to control whether the ignition is on or off.
* ``solveEnthalpy``:the switch is used to determine whether to solve enthalpy equation or not.
* ``flameletT``:the switch is used to determine whether to read flame temperature from table or not.
* ``relaxation``:the switch is used to determine whether to use relaxation iteration for transport equations or not.
* ``DpDt``:the switch is used to determine whether to include material derivatives or not.
* ``ignBeginTime``:beginning time of ignition.
* ``ignDurationTime``:duration time of ignition.
* ``x0, y0, z0``:coordinate of ignition center.
* ``R0``:radius of ignition region.
* ``Sct``:turbulent Schmidt number, default value is set as 0.7.
* ``speciesName``:name of species we need to lookup.