- paraview.simple.CGNSSeriesReader(*input, **params)¶
The CGNS reader reads binary files stored in CGNS format. The default file extension is .cgns. The output of this reader is a multi-block dataset. This is a distributed reader. This reader also supports file series.
Toggle whether to cache mesh connectivity for unstructured meshes. If unchecked, mesh connectivity are read at every time step. If checked, mesh connectivity are store in the cache. When loading a new iteration, the mesh connectivity will be retrieved from the cache. Changing this property may impact the loading performance.
Toggle whether to cache mesh points. If unchecked, mesh coordinates are read at every time step. If checked, mesh coordinates are store in the cache. When loading a new iteration, the mesh coordinates will be retrieved from the cache. Changing this property may impact the loading performance.
This property contains a list of the cell-centered arrays to read.
Toggle whether to load each Solution node under a zone separately. This is intended only for debug purpose
Specifies whether to read cell or face information from the mesh. Face-based reading is only available if the element connectivity is defined with NGON_n element type.
Toggle whether to load mesh with double precision values or with floating values If unchecked, mesh coordinates are store on 32 bit so it has lower memory footprint. If checked, mesh coordinates are store on 64 bit so it has higher memory requirements. Changing this property may impact the loading performance since if the cgns file mesh precision and the wanted precision are different conversion will occur
This property contains a list of the face-centered arrays to read.
The list of files to be read by the reader. If more than 1 file is specified, the reader will switch to file series mode in which it will pretend that it can support time and provide 1 file per time step.
When checked, the reader will simply ignore **FlowSolutionPointers** in the CGNS file since they are either incomplete or invalid. To locate unsteady solution, the **UseUnsteadyPattern** option should then be activated.
When reading a file-series, if each file in the series does not provide correct time information, the reader will not be able to animate through the file series correctly. Check this to ignore the time information provided by each file.
Toggle whether zone mesh must be read for selected bases/families.
Toggle whether boundary condition patches must be read for selected bases/families.
This property contains a list of the point-centered arrays to read.
Available time step values.
Toggle whether to force usage of 3D vectors when loading a 2D solution case.
When checked, the reader will use pattern matching to detect FlowSolution_t that are relevant for the current timestep. It rely on **FlowSolution_t** nodes being labelled as **…AtStep[tsindex]** to locate solution nodes for a specific timestep. Note, ***tsindex*** starts with 1.
Data Descriptors inherited from Proxy¶
dictionary for instance variables (if defined)
list of weak references to the object (if defined)
Initialize = aInitialize(self, connection=None, update=True)
Methods inherited from SourceProxy¶
Called when the filename of a source proxy is changed.
Returns the associated cell data information.
- GetDataInformation(self, idx=None)
This method returns a DataInformation wrapper around a vtkPVDataInformation
Returns the associated cell data information.
Returns the associated point data information.
- UpdatePipeline(self, time=None)
This method updates the server-side VTK pipeline and the associated data information. Make sure to update a source to validate the output meta-data.
This method updates the meta-data of the server-side VTK pipeline and the associated information properties
- __getitem__(self, idx)
Given a slice, int or string, returns the corresponding output port
Methods inherited from Proxy¶
- GetProperty(self, name)
Given a property name, returns the property object.
- GetPropertyValue(self, name)
Returns a scalar for properties with 1 elements, the property itself for vectors.
- InitializeFromProxy(self, aProxy, update=True)
Constructor. Assigns proxy to self.SMProxy, updates the server object as well as register the proxy in _pyproxies dictionary.
Returns a list of all property names on this proxy.
- SetPropertyWithName(self, pname, arg)
Generic method for setting the value of a property.
Destructor. Cleans up all observers as well as remove the proxy from the _pyproxies dictionary
- __eq__(self, other)
Returns true if the underlying SMProxies are the same.
- __getattr__(self, name)
With the exception of a few overloaded methods, returns the SMProxy method
- __init__(self, **args)
Default constructor. It can be used to initialize properties by passing keyword arguments where the key is the name of the property. In addition registrationGroup and registrationName (optional) can be specified (as keyword arguments) to automatically register the proxy with the proxy manager.
Creates an iterator for the properties.
- __ne__(self, other)
Returns false if the underlying SMProxies are the same.
- __setattr__(self, name, value)
Implement setattr(self, name, value).
add_attribute(self, name, value)
For the full list of servermanager proxies, please refer to Available readers, sources, writers, filters and animation cues