mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: add help to some thermophysical utilities and remove useless options
This commit is contained in:
@ -55,7 +55,15 @@ typedef species::thermo<janafThermo<perfectGas<specie>>, absoluteEnthalpy>
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
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::validArgs.append("controlFile");
|
||||||
|
|
||||||
argList args(argc, argv);
|
argList args(argc, argv);
|
||||||
|
|
||||||
const fileName controlFileName = args[1];
|
const fileName controlFileName = args[1];
|
||||||
|
|||||||
@ -45,6 +45,13 @@ using namespace Foam;
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
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("CHEMKINFile");
|
||||||
argList::validArgs.append("CHEMKINThermodynamicsFile");
|
argList::validArgs.append("CHEMKINThermodynamicsFile");
|
||||||
argList::validArgs.append("CHEMKINTransport");
|
argList::validArgs.append("CHEMKINTransport");
|
||||||
@ -59,7 +66,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
argList args(argc, argv);
|
argList args(argc, argv);
|
||||||
|
|
||||||
bool newFormat = args.optionFound("newFormat");
|
const bool newFormat = args.optionFound("newFormat");
|
||||||
|
|
||||||
speciesTable species;
|
speciesTable species;
|
||||||
|
|
||||||
|
|||||||
@ -56,6 +56,13 @@ typedef species::thermo<janafThermo<perfectGas<specie>>, absoluteEnthalpy>
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
argList::addNote
|
||||||
|
(
|
||||||
|
"Calculates the equilibrium level of carbon monoxide."
|
||||||
|
);
|
||||||
|
argList::noParallel();
|
||||||
|
argList::noFunctionObjects();
|
||||||
|
|
||||||
#include "setRootCase.H"
|
#include "setRootCase.H"
|
||||||
#include "createTime.H"
|
#include "createTime.H"
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,7 @@ Group
|
|||||||
Description
|
Description
|
||||||
Calculates the equilibrium flame temperature for a given fuel and
|
Calculates the equilibrium flame temperature for a given fuel and
|
||||||
pressure for a range of unburnt gas temperatures and equivalence
|
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[])
|
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::validArgs.append("controlFile");
|
||||||
|
|
||||||
argList args(argc, argv);
|
argList args(argc, argv);
|
||||||
|
|
||||||
const fileName controlFileName = args[1];
|
const fileName controlFileName = args[1];
|
||||||
|
|||||||
@ -55,6 +55,13 @@ typedef species::thermo<janafThermo<perfectGas<specie>>, absoluteEnthalpy>
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
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::validArgs.append("controlFile");
|
||||||
argList args(argc, argv);
|
argList args(argc, argv);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user