TecplotTecioReader.TecplotReader#

class TecplotTecioReader.TecplotReader[source]#

Bases: VTKPythonAlgorithmBase

Reads Tecplot SZL/PLT/DAT files into a vtkMultiBlockDataSet.

One block per zone; see the module docstring for the full mapping, including how auxiliary data becomes field data and how coordinate variables are chosen.

Methods

GetDataArraySelection()

Which dataset variables load as point/cell data arrays.

GetTimestepValues()

Publish the dataset's discrete solution times to ParaView's time UI.

GetVariableInfo()

Choices offered by the X/Y/Z array dropdowns.

GetZoneSelection()

Which zones load as blocks -- useful to skip zones in large files.

RequestData(request, inInfoVec, outInfoVec)

Build the vtkMultiBlockDataSet output for the requested time step.

RequestInformation(request, inInfoVec, ...)

Publish the dataset's time steps, if any, before RequestData runs.

SetFileName(name)

Set the path to the Tecplot file.

SetUArray(value)

Override the vector-array U component (else Common.UVar, if set).

SetVArray(value)

Override the vector-array V component (else Common.VVar, if set).

SetWArray(value)

Override the vector-array W component (else Common.WVar, if set).

SetXArray(value)

Override auto-detection of the X-coordinate variable.

SetYArray(value)

Override auto-detection of the Y-coordinate variable.

SetZArray(value)

Override auto-detection of the Z-coordinate variable (else 2-D: Z=0).

SetFileName(name)[source]#

Set the path to the Tecplot file.

Accepts .szplt/.plt/.bin/.dat/.tec.

GetDataArraySelection()[source]#

Which dataset variables load as point/cell data arrays.

Returns:

vtkDataArraySelection – Selection object for the dataset variables.

GetZoneSelection()[source]#

Which zones load as blocks – useful to skip zones in large files.

Returns:

vtkDataArraySelection – Selection object for the zones.

GetVariableInfo()[source]#

Choices offered by the X/Y/Z array dropdowns.

Eg "(auto)" plus every variable.

Returns:

list – "(auto)" followed by the dataset variable names.

SetXArray(value)[source]#

Override auto-detection of the X-coordinate variable.

SetYArray(value)[source]#

Override auto-detection of the Y-coordinate variable.

SetZArray(value)[source]#

Override auto-detection of the Z-coordinate variable (else 2-D: Z=0).

SetUArray(value)[source]#

Override the vector-array U component (else Common.UVar, if set).

SetVArray(value)[source]#

Override the vector-array V component (else Common.VVar, if set).

SetWArray(value)[source]#

Override the vector-array W component (else Common.WVar, if set).

GetTimestepValues()[source]#

Publish the dataset’s discrete solution times to ParaView’s time UI.

Returns:

list – Solution times, or an empty list if no file is loaded.

RequestInformation(request, inInfoVec, outInfoVec)[source]#

Publish the dataset’s time steps, if any, before RequestData runs.

Returns:

int – 1, the VTK pipeline value for success.

RequestData(request, inInfoVec, outInfoVec)[source]#

Build the vtkMultiBlockDataSet output for the requested time step.

Returns:

int – 1, the VTK pipeline value for success.