Contents

Contents

1 Introduction
2 OpenFOAM cases
 2.1 File structure of OpenFOAM cases
 2.2 Basic input/output file format
  2.2.1 General syntax rules
  2.2.2 Dictionaries
  2.2.3 The data file header
  2.2.4 Lists
  2.2.5 Scalars, vectors and tensors
  2.2.6 Dimensional units
  2.2.7 Dimensioned types
  2.2.8 Fields
  2.2.9 Directives and macro substitutions
  2.2.10 The #include and #inputMode directives
  2.2.11 The #codeStream directive
3 Running applications
 3.1 Running applications
 3.2 Running applications in parallel
  3.2.1 Decomposition of mesh and initial field data
  3.2.2 Running a decomposed case
  3.2.3 Distributing data across several disks
  3.2.4 Post-processing parallel processed cases
4 Mesh generation and conversion
 4.1 Mesh description
  4.1.1 Mesh specification and validity constraints
  4.1.2 The polyMesh description
  4.1.3 The cellShape tools
  4.1.4 1- and 2-dimensional and axi-symmetric problems
 4.2 Boundaries
  4.2.1 Specification of patch types in OpenFOAM
  4.2.2 Base types
 4.3 Mesh generation with the blockMesh utility
  4.3.1 Writing a blockMeshDict file
  4.3.2 Multiple blocks
  4.3.3 Creating blocks with fewer than 8 vertices
  4.3.4 Running blockMesh
 4.4 Mesh generation with the snappyHexMesh utility
  4.4.1 The mesh generation process of snappyHexMesh
  4.4.2 Creating the background hex mesh
  4.4.3 Cell splitting at feature edges and surfaces
  4.4.4 Cell removal
  4.4.5 Cell splitting in specified regions
  4.4.6 Snapping to surfaces
  4.4.7 Mesh layers
  4.4.8 Mesh quality controls
 4.5 Mesh conversion
  4.5.1 fluentMeshToFoam
  4.5.2 star4ToFoam
  4.5.3 gambitToFoam
  4.5.4 ideasToFoam
  4.5.5 cfx4ToFoam
 4.6 Mapping fields between different geometries
  4.6.1 Mapping consistent fields
  4.6.2 Mapping inconsistent fields
  4.6.3 Mapping parallel cases
5 Models and physical properties
 5.1 Boundary Conditions
 5.2 Thermophysical models
  5.2.1 Thermophysical property data
 5.3 Turbulence models
  5.3.1 Model coefficients
  5.3.2 Wall functions
6 Solving
 6.1 Time and data input/output control
 6.2 Numerical schemes
  6.2.1 Interpolation schemes
  6.2.2 Surface normal gradient schemes
  6.2.3 Gradient schemes
  6.2.4 Laplacian schemes
  6.2.5 Divergence schemes
  6.2.6 Time schemes
 6.3 Solution and algorithm control
  6.3.1 Linear solver control
  6.3.2 Solution under-relaxation
  6.3.3 PISO and SIMPLE algorithms
  6.3.4 Other parameters
 6.4 Monitoring and managing jobs
  6.4.1 The foamJob script for running jobs
  6.4.2 The foamLog script for monitoring jobs
7 Post-processing
 7.1 paraFoam
  7.1.1 Overview of paraFoam
  7.1.2 The Properties panel
  7.1.3 The Display panel
  7.1.4 The button toolbars
  7.1.5 Manipulating the view
  7.1.6 Contour plots
  7.1.7 Vector plots
  7.1.8 Streamlines
  7.1.9 Image output
  7.1.10 Animation output
 7.2 Post-processing with Fluent
 7.3 Post-processing with Fieldview
 7.4 Post-processing with EnSight
  7.4.1 Converting data to EnSight format
  7.4.2 The ensight74FoamExec reader module
 7.5 Sampling data
A Reference
 A.1 Standard solvers
 A.2 Standard utilities
 A.3 Standard libraries
 A.4 Standard boundary conditions