Commit dd8f4f65 authored by Mark Olesen's avatar Mark Olesen
Browse files

adjust usage for a few applications to account for new style

parent 8d052263
......@@ -42,7 +42,7 @@ Usage
@param -region \<name\> \n
Specify an alternative mesh region.
@param -dict \<dictionary\> \n
@param -dict \<filename\> \n
Specify an alternative dictionary for the block mesh description.
\*---------------------------------------------------------------------------*/
......@@ -80,7 +80,7 @@ int main(int argc, char *argv[])
argList::addOption
(
"dict",
"NAME",
"file",
"specify an alternative dictionary for the blockMesh description"
);
......
......@@ -142,12 +142,39 @@ void rotateFields(const Time& runTime, const tensor& T)
int main(int argc, char *argv[])
{
argList::addOption("translate", "vector");
argList::addOption("rotate", "(vector vector)");
argList::addOption("rollPitchYaw", "(roll pitch yaw)");
argList::addOption("yawPitchRoll", "(yaw pitch roll)");
argList::addOption
(
"translate",
"vector",
"translate by the specified <vector> - eg, '(1 0 0)'"
);
argList::addOption
(
"rotate",
"(vectorA vectorB)",
"transform in terms of a rotation between <vectorA> and <vectorB> "
"- eg, '( (1 0 0) (0 0 1) )'"
);
argList::addOption
(
"rollPitchYaw",
"vector",
"transform in terms of '( roll pitch yaw )' in degrees"
);
argList::addOption
(
"yawPitchRoll",
"vector",
"transform in terms of '( yaw pitch roll )' in degrees"
);
argList::addBoolOption("rotateFields");
argList::addOption("scale", "vector");
argList::addOption
(
"scale",
"vector",
"scale by the specified amount - eg, '(0.001 0.001 0.001)' for a "
"uniform [mm] to [m] scaling"
);
# include "setRootCase.H"
# include "createTime.H"
......
......@@ -101,13 +101,13 @@ int main(int argc, char *argv[])
argList::addBoolOption
(
"noPatches",
"Suppress writing any patches"
"suppress writing any patches"
);
argList::addOption
(
"patches",
"patchList",
"Specify particular patches to write. "
"wordList",
"specify particular patches to write - eg '(inlet outlet)'. "
"An empty list suppresses writing the internalMesh."
);
......
......@@ -94,7 +94,7 @@ int main(int argc, char *argv[])
argList::addBoolOption
(
"noMesh",
"Suppress writing the geometry. "
"suppress writing the geometry. "
"Can be useful for converting partial results for a static geometry"
);
......
......@@ -241,20 +241,46 @@ int main(int argc, char *argv[])
# include "addRegionOption.H"
argList::addOption("fields", "fields");
argList::addOption("cellSet", "cellSet name");
argList::addOption("faceSet", "faceSet name");
argList::addOption("pointSet", "pointSet name");
argList::addBoolOption("ascii");
argList::addOption
(
"fields", "wordList",
"only convert the specified fields - eg '(p T U)'"
);
argList::addOption
(
"cellSet",
"name",
"convert a mesh subset corresponding to the specified cellSet"
);
argList::addOption("faceSet", "name");
argList::addOption("pointSet", "name");
argList::addBoolOption
(
"ascii",
"write in ASCII format instead of binary"
);
argList::addBoolOption("surfaceFields");
argList::addBoolOption("nearCellValue");
argList::addBoolOption("noInternal");
argList::addBoolOption("noPointValues");
argList::addBoolOption("allPatches");
argList::addOption("excludePatches","patches to exclude");
argList::addOption
(
"excludePatches",
"wordReList",
"a list of patches to exclude - eg '( inlet \".*Wall\" )' "
);
argList::addBoolOption("noFaceZones");
argList::addBoolOption("noLinks");
argList::addBoolOption("useTimeName");
argList::addBoolOption
(
"noLinks",
"don't link processor VTK files - parallel only"
);
argList::addBoolOption
(
"useTimeName",
"use the time name instead of the time index when naming the files"
);
# include "setRootCase.H"
# include "createTime.H"
......
Supports Markdown
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