case_type#

property POpenFOAMReader.case_type#

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
>>> from pyvista import examples
>>> filename = examples.download_cavity(load=False)
>>> reader = pyvista.POpenFOAMReader(filename)
>>> reader.case_type = 'reconstructed'
>>> reader.case_type
'reconstructed'