Formats / Solver input deck

OpenFOAM case

A directory of dictionaries plus polyMesh; the input and output structure of OpenFOAM.

Extensions
polyMesh/ system/ constant/
Kind
Solver input deck
Steward
OpenFOAM Foundation and OpenCFD
Specification
Openly documented

How an OpenFOAM case file is organized

An OpenFOAM case is a directory of text dictionaries, documented in the OpenFOAM user guide.

0/
Initial and boundary conditions, one file per field (U, p and so on).
constant/polyMesh/
The mesh as points, faces, owner, neighbour and boundary files (cells are implied by faces).
constant/
Physical properties such as transportProperties or physicalProperties.
system/
controlDict (time and output control), fvSchemes (discretization) and fvSolution (solvers).
Time directories
Results written at each output time, in the same layout as 0/.

Who reads and writes it 10

7 read it, 5 write it, 2 do both.

ToolCategoryReadsWrites
Luminary Cloud CFD Yes
OpenFOAM (openfoam.com) CFD Yes Yes
OpenFOAM (openfoam.org) CFD Yes Yes
ANSA Meshing and pre-processing Yes
Cadence Fidelity Pointwise Meshing and pre-processing Yes
NGSolve Numerical libraries Yes
Ceetron SDKs (HOOPS Envision) Visualization and post Yes
FieldView Visualization and post Yes
ParaView Visualization and post Yes
Tecplot 360 Visualization and post Yes

Example files 1

How an OpenFOAM case file is organized, from public documentation (also in the panel above).

Elsewhere

  • The classic cavity case directory with its 0, constant and system folders.

    Terms
    GPL-3.0-or-later. The OpenFOAM Foundation
    Note
    Linked because GPL files stay out of our CC0 and permissive set.

Linked rather than copied, because of their terms, their size or what they contain.

Sources

As of 2026-11-21.

Something wrong or out of date? Edit this record or report a problem.