    

 ## On this page

  

 

 # Ansys Common Fluids 

 Last update: 16.07.2025 

# <a class="anchor" id="ConsumerAPIIntro"></a>Using the Ansys Common Fluids API to Write Data

The [ansys::CffConsumer](classansys_1_1_cff_consumer.xhtml "Class that provides functions to write data within a CFF database. The database may be stored within ...") 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.

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