enable_patch_array

OpenFOAMReader.enable_patch_array(name)

Enable reading of patch array.

Parameters
namestr

Which patch array to enable.

Examples

>>> import pyvista
>>> from pyvista import examples
>>> filename = examples.download_cavity(load=False)
>>> reader = pyvista.OpenFOAMReader(filename)
>>> reader.enable_patch_array("patch/movingWall")
>>> reader.patch_array_status("patch/movingWall")
True