Commit e95eb505 authored by mark's avatar mark
Browse files

STYLE: add help to some thermophysical utilities and remove useless options

parent 12433600
......@@ -55,7 +55,15 @@ typedef species::thermo<janafThermo<perfectGas<specie>>, absoluteEnthalpy>
int main(int argc, char *argv[])
{
argList::addNote
(
"Calculates the adiabatic flame temperature for a given fuel\n"
"over a range of unburnt temperatures and equivalence ratios."
);
argList::noParallel();
argList::noFunctionObjects();
argList::validArgs.append("controlFile");
argList args(argc, argv);
const fileName controlFileName = args[1];
......
......@@ -45,6 +45,13 @@ using namespace Foam;
int main(int argc, char *argv[])
{
argList::addNote
(
"Converts CHEMKINIII thermodynamics and reaction data files into\n"
"OpenFOAM format."
);
argList::noParallel();
argList::noFunctionObjects();
argList::validArgs.append("CHEMKINFile");
argList::validArgs.append("CHEMKINThermodynamicsFile");
argList::validArgs.append("CHEMKINTransport");
......@@ -59,7 +66,7 @@ int main(int argc, char *argv[])
argList args(argc, argv);
bool newFormat = args.optionFound("newFormat");
const bool newFormat = args.optionFound("newFormat");
speciesTable species;
......
......@@ -56,6 +56,13 @@ typedef species::thermo<janafThermo<perfectGas<specie>>, absoluteEnthalpy>
int main(int argc, char *argv[])
{
argList::addNote
(
"Calculates the equilibrium level of carbon monoxide."
);
argList::noParallel();
argList::noFunctionObjects();
#include "setRootCase.H"
#include "createTime.H"
......
......@@ -30,7 +30,7 @@ Group
Description
Calculates the equilibrium flame temperature for a given fuel and
pressure for a range of unburnt gas temperatures and equivalence
ratios; the effects of dissociation on O2, H2O and CO2 are included.
ratios; includes the effects of dissociation on O2, H2O and CO2.
\*---------------------------------------------------------------------------*/
......@@ -57,7 +57,16 @@ typedef species::thermo<janafThermo<perfectGas<specie>>, absoluteEnthalpy>
int main(int argc, char *argv[])
{
argList::addNote
(
"Calculates the equilibrium flame temperature for a given fuel\n"
"and pressure for a range of unburnt gas temperatures and equivalence\n"
"ratios; includes the effects of dissociation on O2, H2O and CO2."
);
argList::noParallel();
argList::noFunctionObjects();
argList::validArgs.append("controlFile");
argList args(argc, argv);
const fileName controlFileName = args[1];
......
......@@ -55,6 +55,13 @@ typedef species::thermo<janafThermo<perfectGas<specie>>, absoluteEnthalpy>
int main(int argc, char *argv[])
{
argList::addNote
(
"Calculates the adiabatic flame temperature for a given mixture\n"
"at a given temperature."
);
argList::noParallel();
argList::noFunctionObjects();
argList::validArgs.append("controlFile");
argList args(argc, argv);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment