Skip to main content

Common Fluids Format 2025 R2

Ansys Common Fluids

Last update: 16.07.2025

Using the Ansys Common Fluids API to Write Data

The ansys::CffConsumer class can be used to write a CFF case file or a pair of CFF case and results files from your program, so they can then be read by any Ansys applications that support CFF files.

This class has methods to open a specific file and write mesh, topology, physics, and settings information to the CFF case file and/or solution and settings data to the CFF results file.

An object of this class can be created using a 'C++' factory function (ansys::getDataConsumer) and subsequently used directly.

Note
A set of wrapper functions are provided to allow access to the same functionality from a 'C' program.

Connect with Ansys