OpenFOAM Functions, Utilities & Case Setup Reference Guide

Categorized reference of OpenFOAM solvers, boundary conditions, and post-processing utilities for efficient CFD simulation and analysis

OpenFOAM Solvers

SolverDescriptionApplication
simpleFoamSteady-state incompressible flow solver using SIMPLE algorithm.External aerodynamics, internal flows.
pisoFoamTransient incompressible solver using PISO algorithm.Transient internal/external flow simulations.
icoFoamTransient laminar incompressible solver.Educational and low-Reynolds flow cases.
rhoSimpleFoamSteady-state compressible flow solver.Compressible aerodynamics or heat transfer.
buoyantSimpleFoamSteady-state solver for buoyant, turbulent flow and heat transfer.HVAC and thermal simulations.
interFoamTwo-phase incompressible, isothermal VOF solver.Free surface or multiphase flows.

Mesh Generation & Manipulation Utilities

UtilityDescriptionExample Command
blockMeshGenerates mesh from blockMeshDict definition.blockMesh
snappyHexMeshGenerates body-fitted mesh from STL surfaces.snappyHexMesh -overwrite
checkMeshVerifies mesh quality and topology.checkMesh
surfaceCheckAnalyzes STL surface integrity before meshing.surfaceCheck geometry.stl
mergeMeshesMerges two or more meshes into one.mergeMeshes case1 case2

Post-Processing Functions

FunctionDescriptionExample Usage
foamToVTKConverts simulation data to VTK format for ParaView.foamToVTK
postProcessExecutes function objects defined in controlDict.postProcess -func sample
sampleExtracts field data along lines or surfaces.postProcess -func sampleDict
paraFoamOpens case in ParaView for visualization.paraFoam
reconstructParReconstructs decomposed cases after parallel run.reconstructPar

Common Boundary Conditions

TypeDescriptionExample Entry
fixedValueSets a constant value for the boundary field.type fixedValue; value uniform 0;
zeroGradientSpecifies zero normal gradient.type zeroGradient;
inletOutletSwitches between inlet and outlet conditions.type inletOutlet; inletValue uniform 0;
symmetryPlaneDefines a symmetry plane boundary.type symmetryPlane;
wallApplies wall function or no-slip condition.type noSlip;

About OpenFOAM Functions, Utilities & Case Setup Reference Guide

This OpenFOAM reference guide provides a comprehensive, categorized overview of solvers, utilities, boundary conditions, and post-processing tools essential for CFD simulations, mesh generation, and case setup. It is designed for engineers, researchers, and students aiming to efficiently model fluid flow, heat transfer, turbulence, and multiphase processes.
This guide summarizes the most widely used functions and dictionaries, serving as a quick reference for users to accelerate their workflow.


Applications


By understanding OpenFOAM functions, utilities, and case setup, engineers and researchers can optimize CFD simulations, reduce setup errors, and improve workflow efficiency for both academic and industrial applications.