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

This commit is contained in:
Mark Olesen
2017-04-07 08:32:36 +02:00
parent e1f64efdb1
commit 30a49678d1
5 changed files with 40 additions and 2 deletions

View File

@ -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];

View File

@ -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;

View File

@ -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"

View File

@ -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];

View File

@ -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);