Skip to main content

Enumerations

Detailed Description

Enumeration Type Documentation

CffCellType

An enumeration used to represet the type of a Cell element. Cell elements can be defined with differing number of nodes/faces that define the cell topology. Common cell types are available and more a more general polyhedral cell type (CFF_CELL_TYPE_POLY) can be used where the topology of the cell doesn’t fall into these types. Note Polyhedral cells can only be used in Face/Node style meshes.

CffCellZoneInfoType

An enumerated type that used when querying or setting information that is specific to a cell zones using ansys::CffBase::getCellZoneInfo and ansys::CffBase::setCellZoneInfo.

CffDataCacheMode

An enum indicates whether allow CFF API to cache heavy weight data while reading. Caching of heavy weight data can avoid too frequent interacting with disk on the expense of higher memory usage There is a threshold for such heavy weight data caching, which is 50MB in current version. With less frequent accessing of disk, the file reading speed can be faster when
  1. You read data from the same data set for multiple times AND
  2. Each time you read a small amount data (small in the sense that much smaller than the memory cache threshold) By default, the data caching is off in CFF API.
Reading of the same data set for multiple times happens, when
  1. You read data zone by zone, AND
  2. The file is created with CFF API before 2021 R1. Before 2021 R1, data of multiple zones are written into the same data set if element ids are continuous across those zones. After 2021 R1, data of different zones are written into the separate data set even if element ids are continuous across those zones.
The value will be determined based on the version of the file and the version of CFF API.

CffDataClass

An enumeration that is used within the API to caterorize types of CFF data.

CffDataPrecisionType

An enumeration that is us used within the CFF API to indicate the precision of floating point data.

CffEdgeType

An enumerated type representing the type of edges which may be returned from the function ansys::getEdgeZoneInfo or set using ansys::setEdgeZoneInfo using the CffEdgeZoneInfoType::CFF_EDGE_ZONE_EDGE_TYPE.
a value of 0 returned indicates the node zone is mixed.

CffEdgeZoneInfoType

An enumerated type that used when querying or setting information that is specific to a edge zones using ansys::CffBase::getEdgeZoneInfo and ansys::CffBase::setEdgeZoneInfo.

CffEdgeZoneType

An enumerated type representing the type of an edge zone which may be returned from the function ansys::getEdgeZoneInfo or set using ansys::setEdgeZoneInfo using the CffEdgeZoneInfoType::CFF_EDGE_ZONE_TYPE.
a value of 0 returned indicates the node zone is mixed.

CffFaceType

An enumerated type representing the type of faces which may be returned from the function ansys::getFaceZoneInfo or set using ansys::setFaceZoneInfo using the CffFaceZoneInfoType::CFF_FACE_ZONE_FACE_TYPE.

CffFaceZoneInfoType

An enumerated type that used when querying or setting information that is specific to a face zones using ansys::CffBase::getFaceZoneInfo and ansys::CffBase::setFaceZoneInfo.

CffFaceZonePropType

An enumerated type that used when querying or setting Fluent properties that are specific to faces zones using ansys::CffBase::getFaceZoneProp and ansys::CffBase::setFaceZoneProp.
ANSYS Fluent only information
The face zone properties were added for backward compatible with old version of ANSYS Fluent, not needed for general purpose mesh.
For versions of Fluent prior to 2021 R1 files without this information could not always be read successfully into ANSYS Fluent. For versions of Fluent after 2021 R1, zones without such info can be successfully read by fluent

CffFaceZoneType

An enumerated type representing the boundary type of a face zone which may be returned from the function ansys::getFaceZoneInfo or set using ansys::setFaceZoneInfo using the CffFaceZoneInfoType::CFF_FACE_ZONE_TYPE.
These values are consistent with Fluent but other solvers may not supply them if they supply a physics model with in the CFF model.

CffFileFormatType

An enumeration used to represent the type of file that may be determined when querying a files contents using ansys::determineFileFormat or when creating a new ansys::CffFileConsumer object.
Currently only CFF_HDF should be used.

CffIOMode

An enumeration representing the I/O mode. The I/O mode, can be serial or parallel
Writing a CFF model is supported in serial and parallel.
Reading in parallel is not supported in CFF API, setting the I/O mode while using a CffProvider objects will have no affect on the I/O behavior or the performance of the I/O operations

CffMeshSizeType

An enumeration that is used with ansys::CffBase::getMeshSize and ansys::CffBase::setMeshSize.

CffNodeZoneInfoType

An enumerated type that used when querying or setting information that is specific to a node zones using ansys::CffBase::getNodeZoneInfo and ansys::CffBase::setNodeZoneInfo.

CffNodeZoneType

An enumerated type representing the type of a node zone which may be returned from the function ansys::getNodeZoneInfo or set using ansys::setNodeZoneInfo using the CffNodeZoneInfoType::CFF_NODE_ZONE_TYPE.
a value of 0 returned indicates the node zone is mixed.

CffPlainDataType

Datatypes available in certain CFF functions.

CffReadable

An enumerator indicating how well a given file is supported by the API being used. The value will be determined based on the version of the file and the version of CFF API.

CffTargetCategory

An enumeration that represents the target models available within a CFF database. The CFF API allows data to be written to different models that may be used for different purposes. Typically a file contains only one model of the data but query functions are provided to determine what target models are avabilable. Those target categories are: CFF Restart, CFF Post and CFF Partitioned Post.
CFF Partitioned Post is currently unsupported.

CffZoneCategory

An enumeration that is used with ansys::CffBase::getNumZones, ansys::CffBase::getZoneIds, ansys::CffBase::getZoneCategory, ansys::CffBase::setZoneIds and other functions. Mesh elements are grouped into zones. A zone only hold certain category of mesh element

CffZoneSizeType

An enumeration that is used to query or suppply the first and last element ids within a zone, the number of elements (size) and the zones dimension when calling ansys::CffBase::getZoneSizeInfo and ansys::CffBase::setZoneSizeInfo. Mesh elements are grouped into zones. The elements are expected to be contiguous. See also CffZoneStringInfoType

CffZoneStringInfoType

An enumerated type that used when querying or setting string properties of zones using ansys::CffBase::getZoneStringInfo and ansys::CffBase::setZoneStringInfo.