src/OpenFOAM logo
The Open Source CFD Toolbox
  Search
  
  Back to OpenFOAM Home
 
  OpenCFD
  Company profile
  OpenFOAM support
  OpenFOAM development
  OpenFOAM training
  Solutions
  Contact OpenCFD
  Recruitment
  Recommended links
 
  OpenFOAM
  Features
  Download
  Documentation
  * User Guide
  * C++ Source Guide
  * README file
  * Release notes
  * Upgrading to 1.5
 
  © 2000-2008 OpenCFD Ltd
SourceForge.net Logo
OpenCFD Solutions Contact OpenFOAM
OpenFOAM 1.5 User Guide © 2000-2008 OpenCFD Ltd

Chapter 3
Applications and libraries

We should reiterate from the outset that OpenFOAM is a C++ library used primarily to create executables, known as applications. OpenFOAM is distributed with a large set of precompiled applications but users also have the freedom to create their own or modify existing ones. Applications are split into two main categories:

solvers
that are each designed to solve a specific problem in computational continuum mechanics;
utilities
that perform simple pre-and post-processing tasks, mainly involving data manipulation and algebraic calculations.

OpenFOAM is divided into a set of precompiled libraries that are dynamically linked during compilation of the solvers and utilities. Libraries such as those for physical models are supplied as source code so that users may conveniently add their own models to the libraries.

This chapter gives an overview of solvers, utilities and libraries, their creation, modification, compilation and execution. The actual writing of code for solvers and utilities is not described here but is within the Programmer’s Guide. The Programmer’s Guide is currently under development so, if users have any queries, further information may also available at the OpenFOAM discussion group and the OpenFOAM web site.