Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
OpenFOAM-plus
Commits
e95eb505
Commit
e95eb505
authored
Apr 07, 2017
by
mark
Browse files
STYLE: add help to some thermophysical utilities and remove useless options
parent
12433600
Changes
5
Hide whitespace changes
Inline
Side-by-side
applications/utilities/thermophysical/adiabaticFlameT/adiabaticFlameT.C
View file @
e95eb505
...
...
@@ -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
];
...
...
applications/utilities/thermophysical/chemkinToFoam/chemkinToFoam.C
View file @
e95eb505
...
...
@@ -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
;
...
...
applications/utilities/thermophysical/equilibriumCO/equilibriumCO.C
View file @
e95eb505
...
...
@@ -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"
...
...
applications/utilities/thermophysical/equilibriumFlameT/equilibriumFlameT.C
View file @
e95eb505
...
...
@@ -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
];
...
...
applications/utilities/thermophysical/mixtureAdiabaticFlameT/mixtureAdiabaticFlameT.C
View file @
e95eb505
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment