blockMesh(1)

www.openfoam.com, OpenFOAM-v1912

blockMesh [OPTIONS]

Description

Block mesh generator.
  The ordering of vertex and face labels within a block as shown below.
  For the local vertex numbering in the sequence 0 to 7:
    Faces 0, 1 (x-direction) are left, right.
    Faces 2, 3 (y-direction) are front, back.
    Faces 4, 5 (z-direction) are bottom, top.
                        7 ---- 6
                 f5     |nbsp;    |nbsp;    f3
                 |      | 4 ---- 5     \
                 |      3 |--- 2 |      \
                 |       \|     \|      f2
                 f4       0 ---- 1
    Y  Z
     nbsp;|                f0 ------ f1
      \|
       O--- X

Options

  • -blockTopology
    Write block edges and centres as obj files and exit
  • -case dir
    Specify case directory to use (instead of the cwd)
  • -dict file
    Alternative dictionary for the blockMesh description
  • -noClean
    Do not remove any existing polyMesh/ directory or files
  • -region name
    Specify alternative mesh region
  • -sets
    Write cellZones as cellSets too (for processing purposes)
  • -time time
    Specify a time to write mesh to (default: constant)
  • -doc
    Display documentation in browser
  • -help
    Display short help and exit
  • -help-full
    Display full help and exit

ADVANCED OPTIONS

  • -debug-switch name=val
    Specify the value of a registered debug switch. Default is 1 if the value is omitted. (Can be used multiple times)
  • -fileHandler handler
    Override the file handler type
  • -info-switch name=val
    Specify the value of a registered info switch. Default is 1 if the value is omitted. (Can be used multiple times)
  • -lib name
    Additional library or library list to load (can be used multiple times)
  • -opt-switch name=val
    Specify the value of a registered optimisation switch (int/bool). Default is 1 if the value is omitted. (Can be used multiple times)
  • -doc-source
    Display source code in browser
  • -help-compat
    Display compatibility options and exit
  • -help-man
    Display full help (manpage format) and exit
  • -help-notes
    Display help notes (description) and exit

COMPATIBILITY OPTIONS

  • -noFunctionObjects
    This option is ignored

See Also

Online documentation https://www.openfoam.com/documentation/

Copyright

Copyright © 2018-2019 OpenCFD Ltd.