Skip to content

Sample usage

Elwardi edited this page Oct 12, 2025 · 4 revisions

Sample usage for foamUT

  • The foamUT repository itself is using the framework; by unit-testing basic examples from OpenFOAM's code base (Time object; mesh and RTS mechanism). Head to the actions tab to see the status of the workflows for the three main OpenFOAM forks, and these are the workflow files.

  • The OFParallelizationWorkshop2022 exercises repository also uses a deprecated iteration of the framework. The unit testing framework helps check if a task was correctly implemented during a hands-on session (during an online workshop)

  • The blastAMR unit tests adaptive mesh refinement and load-balancer behavior for OpenFOAM using foamUT.

  • The openfoam-smartsim module, which made into OpenFOAM v2406 as a community-maintained module for interacting OpenFOAM with AI databases, uses foamUT to test its API.

We'll mention any more open-source projects using the framework for unit testing here. If your project uses it; please add a link to it here.

Clone this wiki locally