Enumerations
Last update: 16.07.2025Detailed Description
Enumeration Type Documentation
◆ CffCellType
| enum 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
| enum 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
| enum 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
- You read data from the same data set for multiple times AND
- 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.
- Note
- Reading of the same data set for multiple times happens, when
- You read data zone by zone, AND
- 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
| enum CffDataClass |
An enumeration that is used within the API to caterorize types of CFF data.
◆ CffDataPrecisionType
| enum CffDataPrecisionType |
◆ CffEdgeType
| enum 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.
- Note
- a value of 0 returned indicates the node zone is mixed.
◆ CffEdgeZoneInfoType
| enum 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.
| Enumerator | |
|---|---|
| CFF_EDGEZONEINFO_MIN | A value that is may be used to indicate a request is invalid |
| CFF_EDGE_ZONE_TYPE | Edge zone type |
| CFF_EDGE_ZONE_EDGE_TYPE | Element type(s) of the edges within the zone |
◆ CffEdgeZoneType
| enum 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.
- Note
- a value of 0 returned indicates the node zone is mixed.
| Enumerator | |
|---|---|
| CFF_EDGE_ZONE_TYPE_MIN | A value that is may be used to indicate a request is invalid |
| CFF_EDGE_ZONE_INTERIOR | Interior edge zone |
| CFF_EDGE_ZONE_BOUNDARY | Boundary edge zone |
◆ CffFaceType
| enum 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
| enum 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
| enum 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.
- Note
- 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.
- Note
- 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
| enum 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.
- Note
- 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
| enum 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.
- Note
- Currently only CFF_HDF should be used.
| Enumerator | |
|---|---|
| CFF_Unknown | Unknown file type, returned when the file format cannot be determined |
| CFF_HDF | Returned when a file is determined to be in HDF5 format or when creating a new instance of the ansys::CffFileConsumer |
| CFF_CSV | Unsupported file type: CSV (comma seperated values) |
| CFF_CFX | Unsupported file type: value returned when a CFX def/res file is detected |
◆ CffIOMode
| enum CffIOMode |
An enumeration representing the I/O mode.
The I/O mode, can be serial or parallel
- Note
- 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
| Enumerator | |
|---|---|
| CFF_SERIAL_IO | Serial I/O (Supported in CffProvider and CffConsumer) |
| CFF_PARALLEL_IO | Parallel I/O (Currenltly only supported in CffConsumer) |
◆ CffMeshSizeType
| enum CffMeshSizeType |
An enumeration that is used with ansys::CffBase::getMeshSize and ansys::CffBase::setMeshSize.
◆ CffNodeZoneInfoType
| enum 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.
| Enumerator | |
|---|---|
| CFF_NODEZONEINFO_MIN | A value that is may be used to indicate a request is invalid |
| CFF_NODE_ZONE_TYPE | Node zone type |
◆ CffNodeZoneType
| enum 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.
- Note
- a value of 0 returned indicates the node zone is mixed.
| Enumerator | |
|---|---|
| CFF_NODE_ZONE_TYPE_MIN | A value that is may be used to indicate a request is invalid |
| CFF_NODE_ZONE_INTERIOR | Interior node zone |
| CFF_NODE_ZONE_BOUNDARY | Boundary node zone |
◆ CffPlainDataType
| enum CffPlainDataType |
Datatypes available in certain CFF functions.
◆ CffReadable
| enum 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
| enum 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.
- Note
- CFF Partitioned Post is currently unsupported.
| Enumerator | |
|---|---|
| CFF_TARGET_CATEGORY_UNKNOWN | Undefined |
| CFF_RESTART | CFF Restart model. CFF Restart is mainly for the purpose of restart. Data within a model of this type of CFF model should enable the solver that wrote the file to smoothly restart from the data the model contains. The mesh within this type of model is supplied connected so for some post processing situations such as extracting a boundary surface the volume mesh may also need to be read and vice versa. This is especially true with a Face/Node style mesh is written as The Cell topologies ina Cell Zone are defined by reading the appropriate face zones that define them. See Ansys Common Fluids Mesh Data Model documentation for further details. Solution data may be written at nodal coordinates, face centers and/or cell centers.
When using post procecssors such as ANSYS Ensight it is preferred that a user of ANSYS Fluent should write data to a CFF Post model as data requires no further manipulation and the mesh is quicker to process. |
| CFF_POST | CFF Post model. The CFF Post model is mainly for the purpose of post processing. In contrast to the CFF Restart model the mesh is written in a way that each zone does not share any nodes with any other zone inn the model. This means that the zones are effectively disconnected and independent. Providing the mesh in this form allows a reader of the data to more quickly access the mesh. Solution data must be accurate and ready for post processing without further additional manipulation. Solution data should in most instances be supplied at nodal coordinates except where the data is has a special purpose such as a variable that might be, for example, named Cell Partition, this would need to be supplied at the cell center in order for it to be associated with a cell.
When processing in ANSYS Ensight, CFF-Post is known to be more efficient than CFF Restart both in terms of mesh read and solution display. |
| CFF_PARTITIONED_POST | Partitioned Post model. Conceptual model for faster post processing Not fully supported by the CFF API or any ANSYS solver. |
◆ CffZoneCategory
| enum 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
| enum 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.