CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM News & Announcements > OpenFOAM Announcements from OpenFOAM Foundation

OpenFOAM 4.0 Released

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree9Likes
  • 7 Post By CFDFoundation

LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2016, 05:06
Default OpenFOAM 4.0 Released
New Member
Join Date: Dec 2014
Posts: 24
Rep Power: 11
CFDFoundation is on a distinguished road
The OpenFOAM Foundation is pleased to announce the release of version 4.0 of the OpenFOAM open source CFD toolbox. Version 4.0 increases CFD productivity by significant improvements and changes to general usability, post-processing, case management and software management. It provides a solid platform for the future, sustainable development of OpenFOAM through reimplementation of core and major libraries, over 120 bug fixes and much better consistency, robustness and performance. It is packed with numerous new and improved boundary conditions, new rigid body dynamics libraries, and developments in turbulence and transport modelling, meshing, ACMI and multiphase, reacting flow.

OpenFOAM 4.0 is distributed under the General Public Licence by the OpenFOAM Foundation as:

Case Management
  • Case Control command line interface (CLI): new foamDictionary utility for printing, modifying and adding new dictionary entries from the command line » more », see OpenFOAM User Guide, Section 4.6.
  • foamListTimes: lists time directories for a case, without the 0 directory by default; the -rm option deletes the listed directories so foamListTimes -rm cleans a case directory.
  • foamSearch: helps users find examples of case settings quickly, by searching a directory for dictionary files of a particular name and extracting entries of a particular keyword, sorted into a unique list. » more »
  • Tutorials: moved all Allrun scripts within their own case or “tutorial” directory for consistency, including the cavity and damBreak cases from the tutorials. » more »

Post-processing and run-time-processing

  • Post-Processing CLI: unified set of tools which simplifies post-processing considerably, improves functionality and maintainability, supported by new documentation — making obsolete the inconsistent, unmaintainable, often-duplicated functionality dispersed across utility applications, function objects, tutorial files and tools such as foamCalc and execFlowFunctionObjects, see OpenFOAM User Guide, Section 6.2.
  • postProcess utility: general and flexible CLI that replaces foamCalc and postCalc » more » and field processing utilities such as Co, createTurbulenceFields (now turbulenceFields), enstrophy, Lambda2, Mach, patchAverage, patchIntegrate, Pe, probeLocations, ptot, Q, R, sample, wallShearStress and yPlus.
  • ParaView: upgraded to version 5.0.1, whose VTK is rewritten to support OpenGL2 rendering. » more »
  • Graphs and sampling : functionality is simplified, more compatible with the foamMonitor monitoring tool, and more robust (» more », » more ») see OpenFOAM User Guide, Section 6.3.
  • Function objects: redesigned and rewritten the underlying code structure, simplifying the code, reducing duplication and making it easier to develop and use » more »; refactored several function objects, e.g. writeObjects (formerly writeRegisteredObject » more »), scalarTransport, with support for steady-state solution (» more »), fieldAverage, with redesigned restart options (» more »); added new function objects, e.g. icoUncoupledKinematicCloud (» more »), writeVTK (» more ») and histogram. (» more »).

Boundary Conditions

  • noSlip: more robust, convenient alternative to fixedValue with value uniform (0 0 0); » more »
  • extrapolatedCalculatedFvPatchField: calculates patch values by zero gradient extrapolation; robust replacement for zeroGradient for temporary fields, to avoid risks associated with derived fields inheriting zeroGradient. » more »
  • fixedProfile: applies a specified 1D profile at an inlet, e.g. obtained from experimental data. » more »
  • plenumPressure: calculates pressure based on a zero-dimensional model of an enclosed volume of gas upstream of an inlet. » more »
  • fixedFluxExtrapolatedPressure: extrapolated pressure boundary conditions for impinging flows, extrapolated inlet conditions with body-forces, highly viscous flows and pressure-induced separation. » more »
  • prghTotalHydrostaticPressure: uses the hydrostatic pressure field as the reference state for the far-field which provides much more accurate entrainment for large domains, e.g. in fireFoam. » more »
  • SRFWallVelocity: velocity condition on walls with the single rotating frame (SRF) model. » more »
  • Time-varying boundary conditions: replaced DataEntry with Function1 for run-time selectable “unary” functions, i.e. functions of 1 variable, e.g. time » more »; in addition to existing tabulated and polynomial functions, added Sine (» more ») and Square (» more ») wave functions, with oscillatingFixedValue being replaced by uniformFixedValue with a Sine function. » more »
  • flowRateInletVelocity: new option to extrapolate the velocity profile back to the inlet. » more »
  • totalPressureFvPatchScalarField (and uniformTotalPressureFvPatchScalarField) : improved usability. » more »
  • Note: calculated boundary conditions now requires a value entry to avoid problems with non-initialization. » more »

Rigid Body Dynamics

  • rigidBodyDynamics: new library for the dynamics of n-degrees of freedom (n-DoF) articulated bodies in parallel. » more »
  • rigidBodyMeshMotion: new library for the mesh-motion of multiple articulated rigid-bodies with joints, restraints and external forces. » more »
  • Vector algebra: redesigned to support for spatial vector algebra. » more »
  • Examples: the interDyMFoam tutorials, e.g. for marine engineering (DTCHull) are all updated to use the new rigid-body dynamics and mesh motion libraries. » more »
  • Sponsored by Carnegie Wave Energy Ltd.

Multiphase, Reacting Flows

  • Lift and drag models: new wallDampedLift model supporting near-wall damping for Euler-Euler multiphase solutions » more »; new TomiyamaKataokaZunSakaguchi drag model for bubbles in gas-liquid systems. » more »
  • Boundary conditions: new temperatureDependentAlphaContactAngle boundary condition » more »; new fixedMultiPhaseHeatFlux boundary condition to calculate a wall temperature for overall wall heat flux across multiple phases. » more »
  • Solvers: corrected pressure equations for transonic operation in Euler-Euler multiphase solvers » more »; vastly reduced scattering and churning behaviour in packed beds in MPPICFoam. » more »
  • Post-processing: new moleFractions function object to write mole fraction fields » more »

Other Modelling and Functionality

  • kOmegaSSTDES: new DES turbulence model based on the k-omega SST RAS model for incompressible and compressible flow. » more »
  • Turbulence model sources/constraints: can be plugged in at run-time using fvOptions. » more »
  • logPolynomial: new transport model for viscosity, thermal diffusivity, in the thermophysical modelling library, see OpenFOAM User Guide, section 7.1.
  • fireFoam: optional hydrostatic initialization of the pressure and density, used in conjunction with the prghTotalHydrostaticPressure boundary condition. » more »
  • Sources: new buoyancyForce and buoyancyEnergy sources, for compressible solvers » more »; redesigned fixedValueConstraint, to constrain field values within a specified region. » more »
  • Meshing: consistent face orientation in baffle interfaces created during meshing, e.g. to ensure correct flux calculations. » more »; removed zero sized patches from output of snappyHexMesh » more » and createBaffles. » more »
  • ACMI: removed major limitations, e.g. on mapping for partially overlapping faces. » more »

Software Management and Development

  • Rolling upgrade of OpenFOAM is faster and simpler with improvements to compilation scripts and environment settings, including Allwmake -update, as described in the Source Repository installation.
  • foamList: lists models within OpenFOAM, including turbulence models, function objects, fvOptions, switches and boundary conditions. » more »
  • Doxygen: simplified and updated the configuration for creation of C++ source guides, published the OpenFOAM v4 C++ Source Guide and OpenFOAM v3 C++ Source Guide.
  • User Guide: new and major rewrites of 4.4 Numerical Schemes, 4.5 Solution Control, 4.6 Case Management and 6 Post-processing; significant updates to 2 Tutorials, 3 Applications and 5 Mesh Generation and Conversion.
  • foamNewBC: script to create template code for a new boundary condition. » more »
  • foamNewApp: script to create template code for a new application. » more »
  • foamNewFunctionObject: script to create template code for a new function object. » more »
  • Messaging: new InfoInFunction, ErrorInFunction, DebugInFunction and DebugInfo for simpler Info, Error and Debug messaging in class code, e.g. debug messaging; new Log macro outputs to Info if log is true. » more »
  • Robust data handling: new convention for const and non-const reference functions of fields where the non-const function name ends …Ref(); for example, where internalField() provides the const reference to the internal field, internalFieldRef() provides a non-const reference. » more »; for tmp objects, non-const access uses a ref() function rather than the () dereferencing operator. » more »
  • API: new Zero static const variable for simple and efficient initialization and assignment of primitives to 0 » more »; new (i, j) addressing to the Matrix class, for better interoperability with other C++ libraries. » more »


  • Flux calculation: new fvc::flux(volField) function improves efficiency and cache coherency, and reduces peak storage » more », effective for new processor architectures; uses new dotInterpolate function which avoids storing an interpolated field in flux calculations. » more »
  • Matrices: reimplemented in the core OpenFOAM library » more »; replaced the row-start pointer array with computed offsets in the Matrix class, for 15% speed up in LUsolve. » more »
  • Parallel computation: improved parallel decomposition and reconstruction » more »; optimised data exchange » more »; and, improved the operation of the parallel field mapping utility mapFieldsPar. » more »


OpenFOAM v4.0 was produced by:
  • Architect/Lead: Henry Weller
  • Management: Henry Weller, Chris Greenshields
  • Maintenance/Testing/Contributions: Henry Weller, Chris Greenshields, Bruno Santos, Mattijs Janssens.
  • Other Contributions: Will Bainbridge, Karl Meredith, Paul Edwards, Juho Peltola, Timo Niemi, Richard Jones, Daniel Jasinski, Hassan Kassem.
Thanks to the OpenFOAM enthusiasts who have contributed to a better code through the bug reporting system.
To download OpenFOAM 4.0, click here.
CFDFoundation is offline   Reply With Quote

Old   October 5, 2017, 14:34
Default Installing openfoam in macbook
New Member
Join Date: Oct 2017
Posts: 11
Rep Power: 8
Mahe512 is on a distinguished road
Anyone can tell about how to install Openfoam in Macbook air. Orelse can anyone give the link for openfoam for macbok.

Mahe512 is offline   Reply With Quote

Old   October 6, 2017, 05:40
New Member
Join Date: Dec 2014
Posts: 24
Rep Power: 11
CFDFoundation is on a distinguished road
Installing OpenFOAM on a Mac:
CFDFoundation is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[] A Mac OS X of23x Development Environment Using Docker rt08 OpenFOAM Installation 1 February 28, 2016 19:00
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
OpenFOAM 2.1.x Windows Patch Released gocarts OpenFOAM Announcements from Other Sources 0 January 18, 2012 14:56
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 09:33

All times are GMT -4. The time now is 04:10.