OpenFOAM can carry out post-processing automatically while the simulation is running using function objects. In v2.2.0, the range of available functionality has been extended to include the following. All function object data is now output to a postProcessing directory in the case directory.
wallShearStress– calculates the wall shear stress for incompressible and compressible cases.
pressureTools– enables the calculation of pressure (from kinematic pressure), total pressure, pressure coefficient and total pressure coefficient.
CourantNo– calculates the Courant number.
DESModelRegions– calculates a scalar field for use with DES turbulence models, to indicate the regions specified by RAS and LES regions, respectively.
forces– forces and force coefficients can now be additionally written into data bins, along a user-defined direction, as shown below for the
faceSource– when employing the
valueOutputoption, values can now be written in formats such as VTK, as opposed to raw data values.
fieldValueDelta– enables operations including addition, subtraction, minimum and maximum to be applied to
cellSourcefunction objects, e.g. to calculate the flux imbalance across inlets and outlets.
scalarTransport– enables the solution of a scalar transport equation, where the scalar can be specified using via boundary conditions, or using the new fvOptions framework. The following images show the time evolution of three point sources added to the
yPlusLES– calculates yPlus for incompressible and compressible cases, employing RAS and LES turbulence, respectively.
Q– calculates flow fields for Lambda2,
wallBoundedStreamLine– creates streamlines in VTK format to show near-wall flow, as shown for the
fieldMinMax– updated to include the locations of minimum and maximum values.
processorField– writes a scalar field of the local processor index.
turbulenceFields– stores turbulence fields e.g.
cloudInfo– outputs Lagrangian cloud information to a file. The current outputs include total current number of parcels and total current mass of parcels.
calcFvcDiv– calculates the divergence of a field, and stores the result on the mesh database for further post-processing.
calcFvcGrad– calculates the gradient of a field, and stores the result on the mesh database for further post-processing.
calcMag– calculates the magnitude of a field, and stores the result on the mesh database for further post-processing.
- Motorbike – example of
Version 2.2.0 includes the following new post-processing capabilities.
- The foamHelp utility (see documentation) provides a help interface to the function objects, e.g. to open the Doxygen help for the
foamHelp functionObject -browse fieldMinMax
- The set of available surface data writers has been extended to include a