Jump to content

OpenFOAM: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Tag: Reverted
Tag: Reverted
Line 108: Line 108:
*'''BIM HVACTool''' is a GUI for housing simulation with OpenFOAM by TIAN Building Engineering
*'''BIM HVACTool''' is a GUI for housing simulation with OpenFOAM by TIAN Building Engineering
*'''SwiftBlock<ref>[https://openfoamwiki.net/index.php/SwiftBlock SwiftBlock project homepage]</ref>''' and '''SwiftSnap<ref>[https://openfoamwiki.net/index.php/Contrib/SwiftSnap SwiftSnap project homepage]</ref>''' are two [[Python (software)|Python]]-plug-in-Scripts for Blender, to create and edit configuration data to `blockMeshDict` und `snappyHexMeshDict` .
*'''SwiftBlock<ref>[https://openfoamwiki.net/index.php/SwiftBlock SwiftBlock project homepage]</ref>''' and '''SwiftSnap<ref>[https://openfoamwiki.net/index.php/Contrib/SwiftSnap SwiftSnap project homepage]</ref>''' are two [[Python (software)|Python]]-plug-in-Scripts for Blender, to create and edit configuration data to `blockMeshDict` und `snappyHexMeshDict` .
* '''HELYX-OS<ref>{{Webarchiv|url=http://sourceforge.net/projects/helyx-os/ |wayback=20150320190708 |text=HELYX-OS Project Homepage }}</ref>''' is a GUI for ''snappyHexMesh.''
* '''HELYX-OS<ref>https://engys.com/products/helyx-os</ref>''' is a GUI for ''snappyHexMesh.''
* '''MantiumFlow'''<ref>[https://mantiumflow.com/ MantiumFlow]</ref> is a CLI and GUI for OpenFOAM. Pre- and Post-Processing are complete automated in Apps.
* '''MantiumFlow'''<ref>[https://mantiumflow.com/ MantiumFlow]</ref> is a CLI and GUI for OpenFOAM. Pre- and Post-Processing are complete automated in Apps.
* '''SimScale<ref>[http://www.simscale.com SimScale]</ref>''' is a cloud-based [[Simulation]]ssoftware for OpenFOAM and other Solver.
* '''SimScale<ref>[http://www.simscale.com SimScale]</ref>''' is a cloud-based [[Simulation]]ssoftware for OpenFOAM and other Solver.

Revision as of 15:54, 21 July 2021

OpenFOAM
Original author(s)Henry Weller and Hrvoje Jasak[1]
Developer(s)CFD Direct Ltd.[2] / OpenCFD Ltd.[3] / Wikki Ltd.,[4] and community
Initial release10 December 2004; 20 years ago (2004-12-10)[5]
Stable release
v9 20 July 2021 (2021-07-20)[6] / v2106 28 June 2021 (2021-06-28)[7]
Repository
Written inC++
Operating systemUnix / Linux / Windows
TypeComputational fluid dynamics, simulation software, fluid structure interaction
LicenseGPLv3
Websiteopenfoam.org / openfoam.com

OpenFOAM (for "Open-source Field Operation And Manipulation") is a C++ toolbox for the development of customized numerical solvers, and pre-/post-processing utilities for the solution of continuum mechanics problems, most prominently including computational fluid dynamics (CFD).

There are three main variants of OpenFOAM software that are released as free and open-source software under the GNU General Public License Version 3. In chronological order, these variants are as follows:

  1. OpenFOAM variant by OpenCFD Ltd. (with the name trademarked since 2007[8]) first released as open-source in 2004. (Note that since 2012, OpenCFD Ltd is an affiliate of ESI Group.)
  2. FOAM-Extend variant by Wikki Ltd. (since 2009)
  3. OpenFOAM Foundation Inc. variant, released by The OpenFOAM Foundation Inc. (since 2012), and transferred in 2015 to the English company The OpenFOAM Foundation Ltd.

History

Flow simulation using OpenFOAM and ParaView for visualization

The name FOAM has been claimed to appear for the first time as a post-processing tool written by Charlie Hill, in the early 90s in Prof. David Gosman's group in Imperial College London.[citation needed] As a counter argument [verification needed], it has been claimed that Henry Weller created the FOAM library for field operation and manipulation which interfaced to the GUISE (Graphical User Interface Software Environment) which was created by Charlie Hill for interfacing to AVS.

Nevertheless, as a continuum mechanics / computational fluid dynamics tool, the first development of FOAM (which became OpenFOAM later on) was virtually always presumed to be initiated by Henry Weller at the same institute by using the C++ programming language rather than the de facto standard programming language FORTRAN of the time to develop a powerful and flexible general simulation platform. From this initiation to the founding of a company called Nabla Ltd, (predominantly) Henry Weller and Hrvoje Jasak carried out the basic development of the software for almost a decade.[9] For a few years, FOAM was sold as a commercial code by Nabla Ltd.[10] However, on 10 December 2004, FOAM was released under GPL and was renamed to OpenFOAM.[11]

In 2004, Nabla Ltd was folded. Immediately afterwards, Henry Weller, Chris Greenshields and Mattijs Janssens founded OpenCFD Ltd to develop and release OpenFOAM.[12] At the same time, Hrvoje Jasak founded the consulting company Wikki Ltd [13] and maintained a fork of OpenFOAM called openfoam-extend, later renamed to foam-extend.

In April 2008, the OpenFOAM development moved to using git for its source code repository.[14]

On 8 August 2011, OpenCFD was acquired by Silicon Graphics International (SGI).[15] On 12 September 2012, ESI Group announced the acquisition of OpenCFD Ltd,[16] this company keeping its assets and notably the OpenFOAM trademark.

In 2014, Weller and Greenshields left OpenCFD and formed CFD Direct Ltd.[17] OpenFOAM Foundation Ltd whose directors are Henry Weller, Chris Greenshields, and Cristel de Rouvray (the CEO of the ESI Group) handed the maintenance of the OpenFOAM-Foundation variant to CFD Direct.

The following figure summarises the chronological and common development of the main three variants of OpenFOAM software, where the arrows show the directions of functionality transfers, namely:

  1. The OpenFOAM variant mainly developed and maintained by OpenCFD Ltd. (a company held by ESI Group since 2012) with a date-of-release identifier (e.g. v1906) (from 2004),
  2. The FOAM-Extend Project variant mainly maintained by Wikki Ltd. (from 2009),
  3. The OpenFOAM-Foundation variant mainly maintained by CFD Direct Ltd. sequence based identifier (e.g. 6.0) (from 2011).

OpenFOAM Governance

aeronautics

In 2018, OpenCFD Ltd. and some of its industrial, academic, and community partners established an administrative body, i.e. OpenFOAM Governance, to allow the OpenFOAM's user community to decide/contribute the future development and direction of their variant of the software.[18]

The structure of OpenFOAM Governance consisted of a Steering Committee and various Technical Committees. The Steering Committee comprised representatives from the main sponsors of OpenFOAM in industry, academia, release authorities and consultant organisations. The organisation composition of the initial committee involved members from OpenCFD Ltd., ESI Group, Volkswagen, General Motors, FM Global, TotalSim Ltd., TU Darmstadt, and Wikki Ltd.[19]

In addition, nine technical committees were established in the following areas: Documentation, high performance computing, meshing, multiphase, numerics, optimisation, turbulence, marine applications, and nuclear applications with the members from the organisations of OpenCFD Ltd., CINECA, University of Zagreb, TU Darmstadt, National Technical University of Athens, Upstream CFD GmbH, University of Michigan, and EPFL.[20]

Structure

Software structure

The OpenFOAM layout consists of two main directories:

  • OpenFOAM-<version>: OpenFOAM libraries whose directory layout is shown in the side-figure
  • ThirdParty: A set of third-party libraries
Overview of OpenFOAM software directory structure

Simulation structure

OpenFOAM simulations are configured by several plain text input files located across the following three directories:[21]

  • system/:
    • controlDict
    • fvSchemes
    • fvSolution
    • fvOptions (optional)
    • (other dictionaries (configuration files in OpenFOAM))
  • constant
    • polyMesh/
    • (other dictionaries)
  • 0/ (or another initial time directory)
    • (field files)

Additional directories can be generated, depending on user selections. These may include:

  • (result time directories): field predictions as a function of iteration count or time
  • postProcessing/: data typically generated by function objects data conversion, e.g. VTK

Advantages and disadvantages

Advantages

  • Friendly syntax for partial differential equations
  • Fully documented source code
  • Unstructured polyhedral grid capabilities
  • Automatic parallelization of applications written using OpenFOAM high-level syntax
  • Wide range of applications and models ready to use
  • Commercial support and training provided by the developers
  • No license costs

Disadvantages

  • The development community suffers from fragmentation, giving rise to numerous forked projects.
  • Absence of an integrated graphical user interface (stand-alone open-source and proprietary options are available)
  • The Programmer's guide does not provide sufficient details, making the progress slow if you need to write new applications or add functionality

Grafic usage interfaces (GUIs) und tools to work with OpenFOAM

  • BIM HVACTool is a GUI for housing simulation with OpenFOAM by TIAN Building Engineering
  • SwiftBlock[22] and SwiftSnap[23] are two Python-plug-in-Scripts for Blender, to create and edit configuration data to `blockMeshDict` und `snappyHexMeshDict` .
  • HELYX-OS[24] is a GUI for snappyHexMesh.
  • MantiumFlow[25] is a CLI and GUI for OpenFOAM. Pre- and Post-Processing are complete automated in Apps.
  • SimScale[26] is a cloud-based Simulationssoftware for OpenFOAM and other Solver.
  • Sim-Flow[27] is a GUI for OpenFOAM. The Variant RapidCFD by same firm can use also GPU-based Solver.
  • iconCFD[28] is a commercial Version of OpenFOAM with a GUI.
  • visualCFD[29] is a GUI by ESi for OpenFOAM.
  • InsightCAE[30] is a Open-Source-Project to automate simulation for special use and is with a GUI ("Vertical Apps"). Backend for CFD-Simulation is OpenFOAM.
  • FEATool Multiphysics[31] is a software by Octave/MATLAB m-code script language
  • CastNet[32] is a kommerzielle GUI für OpenFOAM with direct CAD-Kernel-Import, integrated net Generation Software with snappyHexMesh support. supported are OpenFOAM-Versions of ESI, by the OpenFOAM Foundation and blueCFD-Core.
  • SimWorks[33] is a free GUI for OpenFOAM. A commercial Variant for entreprise is SimWorks Manager[34].

See also

References

  1. ^ Chen, Goong; Xiong, Qingang; Morris, Philip J.; Paterson, Eric G.; Sergeev, Alexey; Wang, Yi-Ching. "OpenFOAM for Computational Fluid Dynamics". Notices of the AMS. 61 (4).
  2. ^ "CFD Direct - The Architects of OpenFOAM". CFD Direct. Archived from the original on 27 March 2015.
  3. ^ "The open source CFD toolbox". OpenFOAM.
  4. ^ "Wikki Ltd".
  5. ^ "OpenFOAM launched 10th December 2004". OpenCFD Ltd. Archived from the original on 8 February 2005. Retrieved 20 August 2019.
  6. ^ "OpenFOAM 9 Released".
  7. ^ "OpenFOAM-v2106". Retrieved 29 June 2021.
  8. ^ "Global brand database". World Intellectual Property Organisation. Retrieved 10 July 2019.
  9. ^ Chen, Goong; Xiong, Qingang; Morris, Philip J.; Paterson, Eric G.; Sergeev, Alexey; Wang, Yi-Ching (2014). "OpenFOAM for Computational Fluid Dynamics". Notices of the American Mathematical Society. 61 (4): 354–363. doi:10.1090/noti1095.
  10. ^ "OpenFOAM". CFD-Online. Retrieved 28 June 2019.
  11. ^ "OpenFOAM launched 10th December 2004". OpenCFD Ltd. Archived from the original on 8 February 2005. Retrieved 20 August 2019.
  12. ^ Greenshields, Chris (3 April 2016). "Release History". openfoam.org. Archived from the original on 29 July 2017.
  13. ^ "Wikki Ltd - About Us".
  14. ^ "OpenFOAM history repository". 15 January 2019.
  15. ^ "Press Releases: SGI Acquires OpenCFD Ltd., the Leader In Open Source Computational Fluid Dynamics (CFD) Software". SGI. Archived from the original on 6 December 2012. Retrieved 18 December 2012.
  16. ^ "Acquisition of OpenCFD Ltd., The leader in Open Source software in Computational Fluid Dynamics". ESI Group. 11 September 2012. Archived from the original on 6 December 2012. Retrieved 18 December 2012.
  17. ^ "OpenFOAM". CFD Direct. 25 March 2015. Archived from the original on 29 March 2015.
  18. ^ "OpenFOAM Governance". OpenCFD Ltd. Retrieved 10 August 2019.
  19. ^ "OpenFOAM Steering Committee". OpenCFD Ltd. Retrieved 10 August 2019.
  20. ^ "OpenFOAM Technical Committees". OpenCFD Ltd. Retrieved 10 August 2019.
  21. ^ https://www.openfoam.com/documentation/guides/latest/doc/openfoam-guide-case-structure.html
  22. ^ SwiftBlock project homepage
  23. ^ SwiftSnap project homepage
  24. ^ https://engys.com/products/helyx-os
  25. ^ MantiumFlow
  26. ^ SimScale
  27. ^ Sim-Flow
  28. ^ Archived (Date missing) at iconcfd.com (Error: unknown archive URL)
  29. ^ ESi VisualCFD
  30. ^ "Open-Source Entwurfsprogramme - silentdynamics", silentdynamics, retrieved 7 June 2018
  31. ^ "FEATool 1.8 with OpenFOAM MATLAB CFD GUI Integration". featool.com. Retrieved 18 May 2018.
  32. ^ "CastNet_GUI_Environment_for_OpenFOAM". Retrieved 18 May 2020.
  33. ^ "SimWorks". Retrieved 2020-10-4. {{cite web}}: Check date values in: |access-date= (help)
  34. ^ "SimWorks Manager". Retrieved 2020-10-4. {{cite web}}: Check date values in: |access-date= (help)