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.
Enumerator
CFF_CELL_TYPE_MIN
A value that is may be used to indicate a request is invalid
CFF_CELL_TYPE_MIXED
A value used when a zone contains cells that are of differing types
CFF_CELL_TYPE_TRI
3 nodes, 3 faces
CFF_CELL_TYPE_TET
4 nodes, 4 faces
CFF_CELL_TYPE_QUAD
4 nodes, 4 faces
CFF_CELL_TYPE_HEX
8 nodes, 6 faces
CFF_CELL_TYPE_PYRAMID
5 nodes, 5 faces
CFF_CELL_TYPE_WEDGE
6 nodes, 5 faces
CFF_CELL_TYPE_POLY
Polyhedral cell with a non standard number of faces and nodes
CFF_CELL_TYPE_GHOST
2 nodes, 1 face (only found or used with 2D zones)
A value that is may be used to indicate a request is invalid
CFF_CELL_ZONE_CELL_TYPE
The element type(s) of all the cells in the zone queried or set
CFF_CELL_ZONE_CHILD_ZONE_ID
The identifier of any child face zone of the zone queried or set
this information will only exist for a zone involved in refinement
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.
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.
Enumerator
CFF_HEAVY_DATA_CACHE_MIN
Undefined, it is up to the implementation whether to cache or not, may change from version to version
CFF_NO_HEAVY_DATA_CACHE
Does not allow CFF API to cache heavy weight data
CFF_ALLOW_HEAVY_DATA_CACHE
Allow CFF API to cache heavy weight data
CffDataClass
enum CffDataClass
An enumeration that is used within the API to caterorize types of CFF data.
Enumerator
CFF_DATACLASS_MIN
A value that is may be used to indicate a request is invalid
CFF_CASE
Case: Mesh and Settings
CFF_RESULTS
Results: Solution data (and settings)
CFF_DATA_CLASS_MAX
The number of valid enumerations in DataClass
CffDataPrecisionType
enum CffDataPrecisionType
An enumeration that is us used within the CFF API to indicate the precision of floating point data.
Enumerator
CFF_DATAPRECISION_MIN
A value that is may be used to indicate a request is invalid
CFF_PRECISION_DOUBLE
Double precision
CFF_PRECISION_SINGLE
Single precision
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.
a value of 0 returned indicates the node zone is mixed.
Enumerator
CFF_EDGE_TYPE_MIN
A value that is may be used to indicate a request is invalid
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.
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.
Enumerator
CFF_FACE_TYPE_MIN
A value that is may be used to indicate a request is invalid
A value that is may be used to indicate a request is invalid
CFF_FACE_ZONE_FACE_TYPE
The Element type(s) of the faces within the zone being queried or set
CFF_FACE_ZONE_CHILD_ZONE_ID
The identifier of any child face zone of the zone queried or set
this information will only exist for a zone involved in refinement
CFF_FACE_ZONE_PARENT0_ZONE_ID
In the case where the zone being queried or set is part of a non conformal interface the zone identifier will represent the side 0 parent in that interface
CFF_FACE_ZONE_PARENT1_ZONE_ID
In the case where the zone being queried or set is part of a non conformal interface the zone identifier will represent the side 1 parent in that interface
CFF_FACE_ZONE_SHADOW_ZONE_ID
The identifier of any shadow zone associated with the zone queried or set.
Typically this only exists for zones with type CFF_ZONE_TYPE_SHADOW or CFF_ZONE_TYPE_PERIODIC etc
CFF_FACE_ZONE_TYPE
The physics type that represents the boundary condition applied to the zone being queried or set. The boundary condition types are specified in the typedef CffFaceZoneType
If a physics model is supplied or constructed this information may not exist
CFF_FACE_ZONE_C0_ZONE_ID
The identifier of any parent zone on side 0 of the zone queried or set
If a topology model is supplied or constructed this information may not exist
CFF_FACE_ZONE_C1_ZONE_ID
The identifier of any parent zone on side 1 of the zone queried or set
If a topology model is supplied or constructed this information may not exist
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
Enumerator
CFF_FACEZONEPROP_MIN
CFF_FACE_ZONE_PROP_MAJOR
CFF_FACE_ZONE_PROP_MINOR
CFF_FACE_ZONE_PROP_WALL
CFF_FACE_ZONE_PROP_NCI_OVERLAP
CFF_FACE_ZONE_PROP_PERIODIC
CFF_FACE_ZONE_PROP_INTERNAL
CFF_FACE_ZONE_PROP_NCI_NONOVERLAP
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.
These values are consistent with Fluent but other solvers may not supply them if they supply a physics model with in the CFF model.
Enumerator
CFF_FACE_ZONE_TYPE_MIN
A value that is may be used to indicate a request is invalid
CFF_FACE_ZONE_TYPE_FLUID
Fluid zone
CFF_FACE_ZONE_TYPE_INTERIOR
Faces interior to a cell zone or multiple cell zones
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
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)
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.
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.
Enumerator
CFF_DATATYPE_MIN
A value that is may be used to indicate a request is invalid
CFF_DATATYPE_CHAR
char
CFF_DATATYPE_UCHAR
unsigned char
CFF_DATATYPE_SHORT
short
CFF_DATATYPE_INT
int
CFF_DATATYPE_UINT
unsigned int
CFF_DATATYPE_LONG
long
CFF_DATATYPE_FLOAT
float
CFF_DATATYPE_DOUBLE
double
CFF_DATATYPE_SIZE_T
size_t
CFF_DATATYPE_LLONG
long long
CFF_DATATYPE_STR
string
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.
Enumerator
CFF_READABLE_UNKNOWN
The readability is unknown
CFF_READABLE_OK
The CFF API can read the file
CFF_READABLE_WARN
The CFF API may be able to read the file
CFF_READABLE_ERROR
The CFF API cannot read the file
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.
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 ANSYS Fluent writes data in this model the solution data may not be easily post processed by downstream components as some solution variables may require modification and/or correction in order to obtain the accurate results. - When ANSYS CFX writes data in this model is the solution data may be read without need for further manipulation. - When data is written to this type of model by other solvers it is recommended you should reference the specific solver documentation
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.
Currently only ANSYS Fluent can write the CFF Post model
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.
A value that is may be used to indicate a request is invalid
CFF_NODE_ZONE
Zone contains nodes
CFF_EDGE_ZONE
Zone contains edges
CFF_FACE_ZONE
Zone contains faces
CFF_CELL_ZONE
Zone contains cells
CFF_PTCK_ZONE
Zone contains particles
CFF_OTHR_ZONE
Zone contains other other element types
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
Enumerator
CFF_ZONESIZE_MIN
A value that is may be used to indicate a request is invalid