From cdde2d63ad3c80e0db4bba77d6a553a4349c46ee Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sun, 25 Sep 2016 20:05:12 +0100 Subject: [PATCH] blockMesh: Added printing of the block description to the '-help' output blockMesh -help Usage: blockMesh [OPTIONS] options: -blockTopology write block edges and centres as .obj files -case specify alternate case directory, default is the cwd -dict specify alternative dictionary for the blockMesh description -noFunctionObjects do not execute functionObjects -region specify alternative mesh region -srcDoc display source code in browser -doc display application documentation in browser -help print the usage Block description For a given block, the correspondence between the ordering of vertex labels and face labels is shown below. For vertex numbering in the sequence 0 to 7 (block, centre): faces 0 (f0) and 1 are left and right, respectively; faces 2 and 3 are bottom and top; and faces 4 and 5 are front the back: 4 ---- 5 f3 |\ |\ f5 | | 7 ---- 6 \ | 0 |--- 1 | \ | \| \| f4 f2 3 ---- 2 f0 ----- f1 Using: OpenFOAM-dev (see www.OpenFOAM.org) Build: dev-9d3f407fc741 --- .../mesh/generation/blockMesh/blockMesh.C | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/applications/utilities/mesh/generation/blockMesh/blockMesh.C b/applications/utilities/mesh/generation/blockMesh/blockMesh.C index 1cfc7fe26..2be39caae 100644 --- a/applications/utilities/mesh/generation/blockMesh/blockMesh.C +++ b/applications/utilities/mesh/generation/blockMesh/blockMesh.C @@ -83,6 +83,27 @@ int main(int argc, char *argv[]) "specify alternative dictionary for the blockMesh description" ); + argList::addNote + ( + "Block description\n" + "\n" + " For a given block, the correspondence between the ordering of\n" + " vertex labels and face labels is shown below.\n" + " For vertex numbering in the sequence 0 to 7 (block, centre):\n" + " faces 0 (f0) and 1 are left and right, respectively;\n" + " faces 2 and 3 are bottom and top;\n" + " and faces 4 and 5 are front the back:\n" + "\n" + " 4 ---- 5\n" + " f3 |\\ |\\ f5\n" + " | | 7 ---- 6 \\\n" + " | 0 |--- 1 | \\\n" + " | \\| \\| f4\n" + " f2 3 ---- 2\n" + "\n" + " f0 ----- f1\n" + ); + #include "addRegionOption.H" #include "setRootCase.H" #include "createTime.H"