OpenFOAM is primarily intended as a C++ library for building CFD solver applications and utilities.