blockMesh(1)

www.openfoam.com, OpenFOAM-v2206

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

  • -case dir
    Specify case directory to use (instead of cwd)
  • -dict file
    Alternative blockMeshDict
  • -merge-points
    Geometric point merging instead of topological merging [default for 1912 and earlier].
  • -no-clean
    Do not remove 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)
  • -verbose
    Force verbose output. (Can be used multiple times)
  • -write-vtk
    Write topology as VTU file and exit
  • -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. Default is 1 if the value is omitted. (Can be used multiple times)
  • -write-obj
    Write block edges and centres as obj files and exit
  • -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

  • -blockTopology (now -write-obj)
    The option was last used in 1912.
  • -noClean (now -no-clean)
    The option was last used in 2006.
  • -noFunctionObjects
    This option is ignored

See Also

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

Copyright

Copyright © 2018-2022 OpenCFD Ltd.