Standard solvers

3.5 Standard solvers

The solvers with the OpenFOAM distribution are in the $FOAM_SOLVERS directory, reached quickly by typing sol at the command line. This directory is further subdivided into several directories by category of continuum mechanics, e.g. incompressible flow, combustion and solid body stress analysis. Each solver is given a name that is reasonably descriptive, e.g.icoFoam solves incompressible, laminar flow. The current list of solvers distributed with OpenFOAM is given in Table 3.5.

‘Basic’ CFD codes


laplacianFoam

Solves a simple Laplace equation, e.g. for thermal diffusion in a solid

potentialFoam

Simple potential flow solver which can be used to generate starting fields for full Navier-Stokes codes

scalarTransportFoam

Solves a transport equation for a passive scalar

Incompressible flow


adjointShapeOptimizationFoam

Steady-state solver for incompressible, turbulent flow of non-Newtonian fluids with optimisation of duct shape by applying ”blockage” in regions causing pressure loss as estimated using an adjoint formulation

boundaryFoam

Steady-state solver for incompressible, 1D turbulent flow, typically to generate boundary layer conditions at an inlet, for use in a simulation

icoFoam

Transient solver for incompressible, laminar flow of Newtonian fluids

nonNewtonianIcoFoam

Transient solver for incompressible, laminar flow of non-Newtonian fluids

pimpleDyMFoam

Transient solver for incompressible, flow of Newtonian fluids on a moving mesh using the PIMPLE (merged PISO-SIMPLE) algorithm

pimpleFoam

Large time-step transient solver for incompressible, flow using the PIMPLE (merged PISO-SIMPLE) algorithm

pisoFoam

Transient solver for incompressible flow

porousSimpleFoam

Steady-state solver for incompressible, turbulent flow with implicit or explicit porosity treatment

shallowWaterFoam

Transient solver for inviscid shallow-water equations with rotation

simpleFoam

Steady-state solver for incompressible, turbulent flow

SRFSimpleFoam

Steady-state solver for incompressible, turbulent flow of non-Newtonian fluids in a single rotating frame

SRFPimpleFoam

Large time-step transient solver for incompressible, flow in a single rotating frame using the PIMPLE (merged PISO-SIMPLE) algorithm.

Compressible flow


rhoCentralDyMFoam

Density-based compressible flow solver based on central-upwind schemes of Kurganov and Tadmor with moving mesh capability and turbulence modelling

rhoCentralFoam

Density-based compressible flow solver based on central-upwind schemes of Kurganov and Tadmor

rhoLTSPimpleFoam

Transient solver for laminar or turbulent flow of compressible fluids with support for run-time selectable finite volume options, e.g. MRF, explicit porosity

rhoPimplecFoam

Transient solver for laminar or turbulent flow of compressible fluids for HVAC and similar applications

rhoPimpleFoam

Transient solver for laminar or turbulent flow of compressible fluids for HVAC and similar applications

rhoPorousSimpleFoam

Steady-state solver for turbulent flow of compressible fluids with RANS turbulence modelling, implicit or explicit porosity treatment and run-time selectable finite volume sources

rhoSimplecFoam

Steady-state SIMPLEC solver for laminar or turbulent RANS flow of compressible fluids

rhoSimpleFoam

Steady-state SIMPLE solver for laminar or turbulent RANS flow of compressible fluids

sonicDyMFoam

Transient solver for trans-sonic/supersonic, laminar or turbulent flow of a compressible gas with mesh motion

sonicFoam

Transient solver for trans-sonic/supersonic, laminar or turbulent flow of a compressible gas

sonicLiquidFoam

Transient solver for trans-sonic/supersonic, laminar flow of a compressible liquid

Multiphase flow


cavitatingDyMFoam

Transient cavitation code based on the homogeneous equilibrium model from which the compressibility of the liquid/vapour ”mixture” is obtained, with optional mesh motion and mesh topology changes including adaptive re-meshing

cavitatingFoam

Transient cavitation code based on the homogeneous equilibrium model from which the compressibility of the liquid/vapour ”mixture” is obtained

compressibleInterDyMFoam

Solver for 2 compressible, non-isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach, with optional mesh motion and mesh topology changes including adaptive re-meshing

compressibleInterFoam

Solver for 2 compressible, isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach

compressibleMultiphaseInterFoam

Solver for n compressible, non-isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach

interFoam

Solver for 2 incompressible, isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach

interDyMFoam

Solver for 2 incompressible, isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach, with optional mesh motion and mesh topology changes including adaptive re-meshing.

interMixingFoam

Solver for 3 incompressible fluids, two of which are miscible, using a VOF method to capture the interface

interPhaseChangeFoam

Solver for 2 incompressible, isothermal immiscible fluids with phase-change (e.g. cavitation). Uses a VOF (volume of fluid) phase-fraction based interface capturing approach

interPhaseChangeDyMFoam

Solver for 2 incompressible, isothermal immiscible fluids with phase-change (e.g. cavitation). Uses a VOF (volume of fluid) phase-fraction based interface capturing approach, with optional mesh motion and mesh topology changes including adaptive re-meshing

LTSInterFoam

Local time stepping (LTS, steady-state) solver for 2 incompressible, isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach

MRFInterFoam

Multiple reference frame (MRF) solver for 2 incompressible, isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach

MRFMultiphaseInterFoam

Multiple reference frame (MRF) solver for n  \relax \special {t4ht= incompressible fluids which captures the interfaces and includes surface-tension and contact-angle effects for each phase

multiphaseEulerFoam

Solver for a system of many compressible fluid phases including heat-transfer

multiphaseInterFoam

Solver for n  \relax \special {t4ht= incompressible fluids which captures the interfaces and includes surface-tension and contact-angle effects for each phase

porousInterFoam

Solver for 2 incompressible, isothermal immiscible fluids using a VOF (volume of fluid) phase-fraction based interface capturing approach, with explicit handling of porous zones

potentialFreeSurfaceFoam

Incompressible Navier-Stokes solver with inclusion of a wave height field to enable single-phase free-surface approximations

settlingFoam

Solver for 2 incompressible fluids for simulating the settling of the dispersed phase

twoLiquidMixingFoam

Solver for mixing 2 incompressible fluids

twoPhaseEulerFoam

Solver for a system of 2 incompressible fluid phases with one phase dispersed, e.g. gas bubbles in a liquid

Direct numerical simulation (DNS)


dnsFoam

Direct numerical simulation solver for boxes of isotropic turbulence

Combustion


chemFoam

Solver for chemistry problems - designed for use on single cell cases to provide comparison against other chemistry solvers - single cell mesh created on-the-fly - fields created on the fly from the initial conditions

coldEngineFoam

Solver for cold-flow in internal combustion engines

engineFoam

Solver for internal combustion engines

fireFoam

Transient Solver for Fires and turbulent diffusion flames

LTSReactingFoam

Local time stepping (LTS) solver for steady, compressible, laminar or turbulent reacting and non-reacting flow

PDRFoam

Solver for compressible premixed/partially-premixed combustion with turbulence modelling

reactingFoam

Solver for combustion with chemical reactions

rhoReactingBuoyantFoam

Solver for combustion with chemical reactions using density based thermodynamics package, using enahanced buoyancy treatment

rhoReactingFoam

Solver for combustion with chemical reactions using density based thermodynamics package

XiFoam

Solver for compressible premixed/partially-premixed combustion with turbulence modelling

Heat transfer and buoyancy-driven flows


buoyantBoussinesqPimpleFoam

Transient solver for buoyant, turbulent flow of incompressible fluids

buoyantBoussinesqSimpleFoam

Steady-state solver for buoyant, turbulent flow of incompressible fluids

buoyantPimpleFoam

Transient solver for buoyant, turbulent flow of compressible fluids for ventilation and heat-transfer

buoyantSimpleFoam

Steady-state solver for buoyant, turbulent flow of compressible fluids

chtMultiRegionFoam

Combination of heatConductionFoam and buoyantFoam for conjugate heat transfer between a solid region and fluid region

chtMultiRegionSimpleFoam

Steady-state version of chtMultiRegionFoam

thermoFoam

Evolves the thermodynamics on a frozen flow field

Particle-tracking flows



coalChemistryFoam

Transient solver for: - compressible, - turbulent flow, with - coal and limestone parcel injections, - energy source, and - combustion

DPMFoam

Transient solver for the coupled transport of a single kinematic particle cloud including the effect of the volume fraction of particles on the continuous phase

icoUncoupledKinematicParcelDyMFoam

Transient solver for the passive transport of a single kinematic particle could

icoUncoupledKinematicParcelFoam

Transient solver for the passive transport of a single kinematic particle could

LTSReactingParcelFoam

Local time stepping (LTS) solver for steady, compressible, laminar or turbulent reacting and non-reacting flow with multiphase Lagrangian parcels and porous media, including explicit sources for mass, momentum and energy

reactingParcelFilmFoam

Transient PISO solver for compressible, laminar or turbulent flow with reacting Lagrangian parcels, and surface film modelling

reactingParcelFoam

Transient PIMPLE solver for compressible, laminar or turbulent flow with reacting multiphase Lagrangian parcels, including run-time selectable finite volume options, e.g. sources, constraints

simpleReactingParcelFoam

Steady state SIMPLE solver for compressible, laminar or turbulent flow with reacting multiphase Lagrangian parcels, including run-time selectable finite volume options, e.g. sources, constraints

sprayEngineFoam

Transient PIMPLE solver for compressible, laminar or turbulent engine flow swith spray parcels

sprayFoam

Transient PIMPLE solver for compressible, laminar or turbulent flow with spray parcels

uncoupledKinematicParcelFoam

Transient solver for the passive transport of a single kinematic particle could

Molecular dynamics methods


mdEquilibrationFoam

Equilibrates and/or preconditions molecular dynamics systems

mdFoam

Molecular dynamics solver for fluid dynamics

Direct simulation Monte Carlo methods


dsmcFoam

Direct simulation Monte Carlo (DSMC) solver for 3D, transient, multi- species flows

Electromagnetics



electrostaticFoam

Solver for electrostatics

magneticFoam

Solver for the magnetic field generated by permanent magnets

mhdFoam

Solver for magnetohydrodynamics (MHD): incompressible, laminar flow of a conducting fluid under the influence of a magnetic field

Stress analysis of solids


solidDisplacementFoam

Transient segregated finite-volume solver of linear-elastic, small-strain deformation of a solid body, with optional thermal diffusion and thermal stresses

solidEquilibriumDisplacementFoam

Steady-state segregated finite-volume solver of linear-elastic, small-strain deformation of a solid body, with optional thermal diffusion and thermal stresses

Finance


financialFoam

Solves the Black-Scholes equation to price commodities

Table 3.5: Standard library solvers.


Creative Commons License
This User Guide is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License .