TecplotTecioReader.TecplotReader#
- class TecplotTecioReader.TecplotReader[source]#
Bases:
VTKPythonAlgorithmBaseReads 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
Which dataset variables load as point/cell data arrays.
Publish the dataset's discrete solution times to ParaView's time UI.
Choices offered by the X/Y/Z array dropdowns.
Which zones load as blocks -- useful to skip zones in large files.
RequestData(request, inInfoVec, outInfoVec)Build the
vtkMultiBlockDataSetoutput for the requested time step.RequestInformation(request, inInfoVec, ...)Publish the dataset's time steps, if any, before
RequestDataruns.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).
- 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.
- 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.