Scroll to navigation

FOAMTOVTK(1) OpenFOAM Commands Manual FOAMTOVTK(1)

NAME

foamToVTK - part of OpenFOAM (The Open Source CFD Toolbox).

SYNOPSIS

foamToVTK [OPTIONS]

DESCRIPTION

General OpenFOAM to VTK file writer

OPTIONS

Operate on all regions in regionProperties
Write in ASCII format instead of binary
Specify case directory to use (instead of the cwd)
Include the 'constant/' dir in the times list
Specify single or multiple fields to write (all by default) Eg, 'T' or '(p T U "alpha.*")'
Select the latest time
Directory name for VTK output (default: 'VTK')
Suppress output for boundary patches
Suppress output for internal volume mesh
Suppress writing lagrangian positions and fields
Suppress conversion of pointFields. No interpolated PointData.
Exclude the '0/' dir from the times list
Combine all patches into a single file
Remove any existing VTK output directory
Run in parallel [Parallel option]
Specify single patch or multiple patches to write Eg, 'top' or '( front ".*back" )'
Specify alternative mesh region
Operate on selected regions from regionProperties. Eg, '( gas "solid.*" )'
List of ranges. Eg, ':10,20 40:70 1000:', 'none', etc
Display documentation in browser
Display short help and exit
Display full help and exit

ADVANCED OPTIONS

Convert mesh subset corresponding to specified cellSet
Convert mesh subset corresponding to specified cellZone
Specify the value of a registered debug switch. Default is 1 if the value is omitted. (Can be used multiple times)
Use specified file for decomposePar dictionary
Specify single patch or multiple patches to exclude from writing. Eg, 'outlet' or '( inlet ".*Wall" )'
Convert specified faceSet only
Specify single or multiple faceZones to write Eg, 'cells' or '( slice "mfp-.*" )'.
Override the file handler type
Write finite area fields
Per-host slave root directories for distributed running. The host specification can be a regex. [Parallel option]
Specify the value of a registered info switch. Default is 1 if the value is omitted. (Can be used multiple times)
Write legacy format instead of xml
Additional library or library list to load (can be used multiple times)
Use cell value on patches instead of patch value itself
Do not execute function objects
Specify the value of a registered optimisation switch (int/bool). Default is 1 if the value is omitted. (Can be used multiple times)
Convert specified pointSet only
Decompose polyhedral cells into tets/pyramids
Write field values on processor boundaries only
Slave root directories for distributed running [Parallel option]
Write surfaceScalarFields (eg, phi)
Additional mesh id fields (cellID, procID, patchID)
Additional pointID field for internal mesh
Display source code in browser
Display compatibility options and exit
Display full help (manpage format) and exit
Display help notes (description) and exit

COMPATIBILITY OPTIONS

The option was last used in 1806.
The option was last used in 1806.
The option was last used in 1806.
This option is ignored after 1806.
This option is ignored after 1806.
This option is ignored after 1806.
This option is ignored after 1806.
This option is ignored after 1806.

SEE ALSO

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

COPYRIGHT

Copyright © 2018-2019 OpenCFD Ltd.

OpenFOAM- www.openfoam.com