snappyHexMeshConfig: fixed '-defaultPatch' option and spelling errors

This commit is contained in:
Chris Greenshields
2023-07-13 16:18:47 +01:00
parent 03c1f40860
commit c4fbbd440b

View File

@ -117,10 +117,10 @@ Usage
Refinement level at specified surfaces, e.g. '((pipe 2) (baffles 1))' Refinement level at specified surfaces, e.g. '((pipe 2) (baffles 1))'
- \par -refinementRegions \<entry\> - \par -refinementRegions \<entry\>
Refinement regions specfied by '( (<surface> <level>) (...) )' Refinement regions specified by '( (<surface> <level>) (...) )'
- \par -refinementBoxes \<entry\> - \par -refinementBoxes \<entry\>
Refinement boxes specfied by '( (<min> <max> <level>) (...) )' Refinement boxes specified by '( (<min> <max> <level>) (...) )'
- \par -refinementDists \<entry\> - \par -refinementDists \<entry\>
Refinement distance specified by '( (<surface> <dist> <level>) (...) )' Refinement distance specified by '( (<surface> <dist> <level>) (...) )'
@ -261,14 +261,14 @@ int main(int argc, char *argv[])
( (
"refinementRegions", "refinementRegions",
"entry", "entry",
"refinement regions specfied by '( (<surface> <level>) (...) )'" "refinement regions specified by '( (<surface> <level>) (...) )'"
); );
argList::addOption argList::addOption
( (
"refinementBoxes", "refinementBoxes",
"entry", "entry",
"refinement boxes specfied by '( (<min> <max> <level>) (...) )'" "refinement boxes specified by '( (<min> <max> <level>) (...) )'"
); );
argList::addOption argList::addOption
@ -482,7 +482,7 @@ int main(int argc, char *argv[])
); );
HashTable<Pair<word>> patchOpts(7); HashTable<Pair<word>> patchOpts(7);
patches.append("defaultPatch"); patches.append("default");
forAll(patches, i) forAll(patches, i)
{ {
readPatchOption(args, patchOpts, patches[i] + "Patch"); readPatchOption(args, patchOpts, patches[i] + "Patch");
@ -514,6 +514,7 @@ int main(int argc, char *argv[])
runTime.system(), runTime.system(),
runTime, runTime,
surfaces, surfaces,
args.optionFound("bounds"),
nCells, nCells,
refineFactor, refineFactor,
patchOpts, patchOpts,