pyvista.OpenFOAMReader.number_patch_arrays

pyvista.OpenFOAMReader.number_patch_arrays#

property OpenFOAMReader.number_patch_arrays[source]#

Return number of patch arrays in dataset.

Returns:
int

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_cavity(load=False)
>>> reader = pv.OpenFOAMReader(filename)
>>> reader.number_patch_arrays
4