From 2d5af005e56a76eb2f7b6ad1b5bd2a12035705fc Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Fri, 13 Oct 2017 11:30:57 +0100 Subject: [PATCH] blockMesh: Corrected diagram printed with "-help" to be consistent with the documentation Resolves bug report https://bugs.openfoam.org/view.php?id=2710 --- .../mesh/generation/blockMesh/blockMesh.C | 21 +++++++++++-------- .../blockDescriptor/blockDescriptor.H | 21 +++++++++++-------- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/applications/utilities/mesh/generation/blockMesh/blockMesh.C b/applications/utilities/mesh/generation/blockMesh/blockMesh.C index fef6cc320..210ed4695 100644 --- a/applications/utilities/mesh/generation/blockMesh/blockMesh.C +++ b/applications/utilities/mesh/generation/blockMesh/blockMesh.C @@ -96,17 +96,20 @@ int main(int argc, char *argv[]) " 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" + " faces 2 and 3 are front and back; \n" + " and faces 4 and 5 are bottom and top::\n" "\n" - " 4 ---- 5\n" - " f3 |\\ |\\ f5\n" - " | | 7 ---- 6 \\\n" - " | 0 |--- 1 | \\\n" - " | \\| \\| f4\n" - " f2 3 ---- 2\n" + " 7 ---- 6\n" + " f5 |\\ |\\ f3\n" + " | | 4 ---- 5 \\\n" + " | 3 |--- 2 | \\\n" + " | \\| \\| f2\n" + " f4 0 ---- 1\n" "\n" - " f0 ----- f1\n" + " Z f0 ----- f1\n" + " | Y\n" + " | /\n" + " O --- X\n" ); #include "addRegionOption.H" diff --git a/src/mesh/blockMesh/blockDescriptor/blockDescriptor.H b/src/mesh/blockMesh/blockDescriptor/blockDescriptor.H index e4d3b72cb..21c921fb6 100644 --- a/src/mesh/blockMesh/blockDescriptor/blockDescriptor.H +++ b/src/mesh/blockMesh/blockDescriptor/blockDescriptor.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -31,16 +31,19 @@ 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 front the back; and faces 4 and 5 are bottom and top: + 2 and 3 are front and back; and faces 4 and 5 are bottom and top: \verbatim - 7 ---- 6 - f5 |\ |\ f3 - | | 4 ---- 5 \ - | 3 |--- 2 | \ - | \| \| f2 - f4 0 ---- 1 + 7 ---- 6 + f5 |\ |\ f3 + | | 4 ---- 5 \ + | 3 |--- 2 | \ + | \| \| f2 + f4 0 ---- 1 - f0 ----- f1 + Z f0 ----- f1 + | Y + | / + O --- X \endverbatim SourceFiles