pyvista.POpenFOAMReader.case_type#

property POpenFOAMReader.case_type[source]#

Indicate whether decomposed mesh or reconstructed mesh should be read.

Returns:
str

If 'reconstructed', reconstructed mesh should be read. If 'decomposed', decomposed mesh should be read.

Raises:
ValueError

If the value is not in [‘reconstructed’, ‘decomposed’]

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_cavity(load=False)
>>> reader = pv.POpenFOAMReader(filename)
>>> reader.case_type = 'reconstructed'
>>> reader.case_type
'reconstructed'