3.7 Standard libraries
The libraries with the OpenFOAM distribution are in the $FOAM_LIB/$WM_OPTIONS directory, reached quickly by typing lib at the command line. Again, the names are prefixed by lib and reasonably descriptive, e.g.incompressibleTransportModels contains the library of incompressible transport models. For ease of presentation, the libraries are separated into two types:
- General libraries
- those that provide general classes and associated functions listed in Table 3.7;
- Model libraries
- those that specify models used in computational continuum mechanics, listed in Table 3.8, Table 3.9 and Table 3.10.
|
|
|||
|
General thermophysical model calculation based on
enthalpy |
|||
|
General thermophysical model calculation based on
sensible enthalpy |
|||
|
General thermophysical model calculation based on
internal energy |
|||
|
General thermophysical model calculation based on
enthalpy |
|||
|
General thermophysical model calculation based on
sensible enthalpy |
|||
|
|
|||
|
General thermophysical model calculation for passive gas mixtures |
|||
|
|
|||
|
|
|
||
|
Calculates enthalpy for combustion mixture based on
enthalpy |
|||
|
Calculates enthalpy for combustion mixture based on
sensible enthalpy |
|||
|
Calculates enthalpy for combustion mixture based on
enthalpy |
|||
|
Calculates enthalpy for combustion mixture based on
sensible enthalpy |
|||
|
Calculates enthalpy for unburnt gas and combustion mixture |
|||
|
|
|||
|
Combustion mixture based on normalised fuel mass
fraction |
|||
|
Combustion mixture based on |
|||
|
Combustion mixture based on |
|||
|
|
|||
|
Combustion mixture based on |
|||
|
Basic mixture based on multiple components |
|||
|
Derived mixture based on multiple components |
|||
|
Combustion mixture using thermodynamics and reaction schemes |
|||
|
Exhaust gas recirculation mixture |
|||
|
|
|||
|
|
|
||
|
P1 model |
|||
|
Finite volume discrete ordinate method |
|||
|
|
|
||
|
Constant laminar flame speed |
|||
|
Gülder’s laminar flame speed model |
|||
|
Gülder’s laminar flame speed model with exhaust gas recirculation modelling |
|||
|
|
|
||
|
Linear compressibility model |
|||
|
Chung compressibility model |
|||
|
Wallis compressibility model |
|||
|
|
|||
|
|
|
||
|
Incompressible polynomial equation of state, e.g. for liquids |
|||
|
Perfect gas equation of state |
|||
|
Constant specific heat |
|||
|
Constant specific heat |
|||
|
|
|||
|
|
|||
|
Thermophysical properties of species, derived from |
|||
|
Constant transport properties |
|||
|
Polynomial based temperature-dependent transport properties |
|||
|
Sutherland’s formula for temperature-dependent transport properties |
|||
|
|
|
||
|
National Standard Reference Data System (NSRDS) - American Institute of Chemical Engineers (AICHE) data compilation tables |
|||
|
American Petroleum Institute (API) function for vapour mass diffusivity |
|||
|
|
|
||
|
Rosin-Rammler distribution |
|||
|
Normal distribution |
|||
|
|
|||
|
Uniform distribution |
|||
|
Exponential distribution |
|||
|
General distribution |
|||
|
|
|
||
|
Chemical reaction model |
|||
|
Chemical reaction solver |
|||
|
|
|
||
| Other libraries
| |||
|
Thermophysical properties of liquids |
|||
|
Thermophysical properties of liquid mixtures |
|||
|
Thermophysical properties of solids |
|||
|
Thermophysical properties of solid mixtures |
|||
|
|
|
||
| |||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Dummy turbulence model for laminar flow |
|||
|
Standard high- |
|||
|
Standard high- |
|||
|
|
|||
|
RNG |
|||
|
Non-linear Shih |
|||
|
Lien cubic |
|||
|
|
|||
|
Launder-Sharma low- |
|||
|
Lam-Bremhorst low- |
|||
|
Lien cubic low- |
|||
|
Lien-Leschziner low- |
|||
|
Launder-Reece-Rodi RSTM |
|||
|
Launder-Gibson RSTM with wall-reflection terms |
|||
|
Realizable |
|||
|
Spalart-Allmaras 1-eqn mixing-length model |
|||
|
|
|
||
|
Dummy turbulence model for laminar flow |
|||
|
|
|||
|
Standard |
|||
|
|
|||
|
RNG |
|||
|
Launder-Sharma low- |
|||
|
Launder-Reece-Rodi RSTM |
|||
|
Launder-Gibson RSTM |
|||
|
Realizable |
|||
|
Spalart-Allmaras 1-eqn mixing-length model |
|||
|
|
|
||
|
Laplace filters |
|||
|
Simple filter |
|||
|
Anisotropic filter |
|||
|
|
|
||
|
Prandtl delta |
|||
|
Cube root of cell volume delta |
|||
|
Smoothing of delta |
|||
|
|
|
||
|
|
|||
|
Smagorinsky model |
|||
|
Smagorinsky model with 3-D filter |
|||
|
Dynamic Smagorinsky |
|||
|
Scale similarity model |
|||
|
Mixed Smagorinsky/scale similarity model |
|||
|
Dynamic mixed Smagorinsky/scale similarity model |
|||
|
|
|||
|
|
|||
|
Dynamic |
|||
|
Localised dynamic |
|||
|
Spectral eddy viscosity model |
|||
|
LRR differential stress model |
|||
|
Deardorff differential stress model |
|||
|
Spalart-Allmaras model |
|||
|
Spalart-Allmaras delayed detached eddy simulation (DDES) model |
|||
|
Spalart-Allmaras improved DDES (IDDES) model |
|||
|
|
|
||
|
Smagorinsky model |
|||
|
|
|||
|
|
|||
|
Dynamic |
|||
|
Low- |
|||
|
Deardorff differential stress model |
|||
|
Spalart-Allmaras 1-eqn mixing-length model |
|||
|
|
|
||
| |||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Linear viscous fluid model |
|||
|
Cross Power law nonlinear viscous model |
|||
|
Bird-Carreau nonlinear viscous model |
|||
|
Herschel-Bulkley nonlinear viscous model |
|||
|
Power-law nonlinear viscous model |
|||
|
Models for the interface, e.g. contact angle, in multiphase simulations |
|||
|
|
|
||
| |||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
and compressibility
and compressibility
and compressibility
and
and
and
and
and total fuel mass
fraction
,
and unburnt fuel
mass fraction
and
model with evaluation of
internal energy
and entropy
model with evaluation of
enthalpy
and entropy
evaluated by a function with coefficients from
polynomials, from which
,
are evaluated
evaluated by a function with coefficients from
,
are evaluated
,
and/or
model
model
-SST model
model
model
model
model
model
model
model
model
model
model
model
model
model
model
-SST scale adaptive simulation (SAS) model
-equation eddy-viscosity model
-equation eddy-viscosity model
-equation eddy-viscosity model
-equation eddy-viscosity model
-equation eddy-viscosity model
-equation eddy-viscosity model