pyvista.OpenFOAMReader.enable_patch_array

pyvista.OpenFOAMReader.enable_patch_array#

OpenFOAMReader.enable_patch_array(name)[source]#

Enable reading of patch array.

Parameters:
namestr

Which patch array to enable.

Examples

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