pyvista.OpenFOAMReader.enable_patch_array#
- OpenFOAMReader.enable_patch_array(name)[source]#
Enable reading of patch array.
- Parameters:
- name
str
Which patch array to enable.
- name
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