EnSightWriter#

class EnSightWriter(*args, **kwargs)[source]#

EnSightWriter for .case files.

Wraps vtkEnSightWriter.

Note

This is a parallel writer that prepends a process number to the .case extension, for example, <filename>.0.case. Use written_path to get the saved file after calling write().

Note

This writer saves the mesh as a multi-block dataset. Even if the input mesh is a single block, the output will be a multi-block dataset and the default block name will be VTK Part.

Added in version 0.49.0.

Inheritance#

Inherited members are documented on BaseWriter, _FileIOBase.

See them all under Inherited Attributes and Inherited Methods.

Attributes#

EnSightWriter.path

Return or set the filename or directory of the writer.

Inherited Attributes#

BaseWriter.data_object

Get or set the dataset to write.

_FileIOBase.extension_patterns

Return mapping from regex pattern matching associated with this class.

_FileIOBase.extensions

Return the file extensions associated with this class.

BaseWriter.writer

Return the vtk writer object.

BaseWriter.written_path

Return the formatted path of the written files.

Inherited Methods#

BaseWriter.write

Write data to path.