number_patch_arrays

property OpenFOAMReader.number_patch_arrays

Return number of patch arrays in dataset.

Returns
int

Examples

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