foamToEnsight(1)

www.openfoam.com, OpenFOAM-v2206

foamToEnsight [OPTIONS]

Description

Translate OpenFOAM data to Ensight format with individual parts for cellZones,
unzoned cells and patches

Options

  • -allRegions
    Use all regions in regionProperties
  • -ascii
    Write in ASCII format instead of 'C Binary'
  • -case dir
    Specify case directory to use (instead of cwd)
  • -cellZones wordRes
    Specify single or multiple cellZones to write Eg, 'cells' or '( slice "mfp-.*" )'.
  • -constant
    Include the 'constant/' dir in the times list
  • -faceZones wordRes
    Specify single or multiple faceZones to write Eg, 'cells' or '( slice "mfp-.*" )'.
  • -fields wordRes
    Specify single or multiple fields to write (all by default) Eg, 'T' or '( "U.*" )'
  • -latestTime
    Select the latest time
  • -name subdir
    Sub-directory name for Ensight output (default: 'EnSight')
  • -no-boundary
    Suppress writing any patches
  • -no-cellZones
    Suppress writing any cellZones
  • -no-fields
    Suppress conversion of fields
  • -no-internal
    Suppress writing the internal mesh
  • -no-lagrangian
    Suppress writing lagrangian positions and fields
  • -no-overwrite
    Suppress removal of existing EnSight output directory
  • -no-point-data
    Suppress conversion of pointFields, disable -nodeValues
  • -noZero
    Exclude the '0/' dir from the times list
  • -parallel
    Run in parallel [Parallel option]
  • -patches wordRes
    Specify single patch or multiple patches to write Eg, 'inlet' or '(outlet "inlet.*")'
  • -region name
    Use specified mesh region. Eg, -region gas
  • -regions wordRes
    Use specified mesh region. Eg, -regions gas Or from regionProperties. Eg, -regions '(gas "solid.*")'
  • -time ranges
    List of ranges. Eg, ':10,20 40:70 1000:', 'none', etc
  • -verbose
    Additional verbosity
  • -width n
    Width of Ensight data subdir
  • -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)
  • -decomposeParDict file
    Use specified file for decomposePar dictionary
  • -exclude-fields wordRes
    Exclude single or multiple fields
  • -exclude-patches wordRes
    Exclude single or multiple patches from writing Eg, 'outlet' or '( inlet ".*Wall" )'
  • -fileHandler handler
    Override the file handler type
  • -hostRoots *((host1 dir1) .. (hostN dirN))*
    Per-subprocess root directories for distributed running. The host specification can be a regex. [Parallel option]
  • -index start
    Starting index for consecutive number of Ensight data/ files. Ignore the time index contained in the uniform/time file.
  • -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)
  • -nearCellValue
    Use zero-gradient cell values on patches
  • -no-finite-area
    Suppress output of finite-area mesh/fields
  • -no-mesh
    Suppress writing the geometry. Can be useful for converting partial results for a static geometry
  • -noFunctionObjects
    Do not execute function objects
  • -nodeValues
    Force interpolation of values to nodes
  • -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)
  • -roots *(dir1 .. dirN)*
    Subprocess root directories for distributed running [Parallel option]
  • -world name
    Name of the local world for parallel communication [Parallel option]
  • -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

  • -cellZone (now -cellZones)
    The option was last used in 1912.
  • -excludePatches (now -exclude-patches)
    The option was last used in 2112.
  • -noLagrangian (now -no-lagrangian)
    The option was last used in 1806.
  • -noPatches (now -no-boundary)
    The option was last used in 1806.
  • -finite-area
    This option is ignored after 2112.

See Also

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

Copyright

Copyright © 2018-2022 OpenCFD Ltd.