boundary#

data.boundary(p0: str) int#

Specify the name for the boundary file. Boundary files provide a way to externally specify the ijk extents of bounding surfaces, etc. for structured data. The resultant is an unstructured part.

The filename is concatenated with the path defined via the “data: path” command.
Since the boundary file depends on the structured block/zone definitions in the geometry file, the use of a boundary file requires the specification of a geometry file with structured data as well. For EnSight case format, the boundary file is contained within the casefile and this command is not needed. It must be used for other structured data formats - such as PLOT3D.
When specified, unstructured parts can be created according to the boundary file definitions in the unstructured portion of the Data Part Loader dialog.
Args:
p0:

‘filename’ boundary file name

Examples:
ensight.data.binary_files_are("big_endian")
ensight.data.format("plot3d")
ensight.data.plot3diblank("OFF")
ensight.data.plot3dmulti_zone("ON")
ensight.data.plot3dread_as("ascii")
ensight.data.plot3ddimension("3d")
ensight.data.path("/usr/tmp")
ensight.data.geometry("single.grid")
ensight.data.boundary("single.bnd")
ensight.data.result("single.q")
ensight.data.read()
Returns:

zero on success, non-zero on error