CFD Direct Year 2: Development

CFD Direct Year 2: Development

During Year 2, CFD Direct made over 1000 code commits to the public development line of OpenFOAM, making us by far the largest contributor of code to OpenFOAM. We produced the major new version 4.0 release of OpenFOAM and the minor update version 4.1 release. We transformed OpenFOAM-dev into stable software of “always-releasable” quality and package it weekly for Ubuntu. Ubuntu packs can now be installed directly on Windows 10 and we also provide “containerized” versions, hosted on Docker Hub, accompanied by launch scripts for easy installation of OpenFOAM on Linux and macOS.

CFD Direct Year 2: Maintenance

OpenFOAM Unresolved Issues 2011-2017

In Year 2, CFD Direct handled almost 500 issues on the OpenFOAM issue tracking system. We upgraded the system and and analyzed metrics relating to timely resolution of issues which concluded that current unresolved issues relate to badly designed components of OpenFOAM that require significant code rewriting. To fund that repair work and ongoing maintenance, we ran a successful campaign to raise €100 k from companies that benefit from OpenFOAM. We carried out substantial maintenance to OpenFOAM websites, significant updates to documentation, and administration for the OpenFOAM Foundation.

CFD Direct Year 2: Training

CFD Direct Year 2: Training

In Year 2, CFD Direct delivered 55 days of OpenFOAM Training with its 3 × 2 day courses, Essential CFD, Applied CFD and Programming CFD. Training was delivered as: scheduled Classroom Training in London, Berlin, Munich, Houston, Chicago and Beijing; live Virtual Training; and, customer On-Site Training. We launched our Programming CFD course, containing modules in C++ programming applied to popular examples in OpenFOAM. We successfully ran live Virtual Training courses with participants from a wide geographical area. And we updated Training for OpenFOAM v4, that included our changes to make OpenFOAM easier to use.

CFD Direct Year 2: Cloud

CFD Direct Year 2: Cloud

In Year 2, CFD Direct updated its OpenFOAM cloud computing platform — CFD Direct From the Cloud (CFDDFC) — to OpenFOAM 4.1, running on Ubuntu 16.04. Feedback from users was very positive, including a 5-star rating on the CFDDFC Marketplace Product page at at Amazon Web Services (AWS). We became an Advanced Technology Partner of AWS, and produced a case study on the cost of CFD on AWS EC2 that concluded, in particular, that the cost of Spot instances was approximately 40% of the total cost of ownership of on-premises hardware. We made CFDDFC available on AWS X1 instance types, running simulations on 32 and 64 physical cores in a single instance.

Computational Fluid Dynamics

computational fluid dynamics mesh

Fluid dynamics is concerned with the motion of fluids (liquids and gases) and the forces on them. “Computational” refers to computation of the flow and forces using numerical analysis. We define “computational fluid dynamics” as “the prediction of fluid motion and forces by computation using numerical analysis, generally extended to include heat, thermodynamics, chemistry and solids”. This definition covers a broad range of calculations for numerous scientific and engineering applications, in particular involving heat.

Energy Equation in OpenFOAM

Energy Equation in OpenFOAM

This article provides information on the equation describing conservation of energy relevant to fluid dynamics and computational fluid dynamics (CFD). It first assembles an equation for combined mechanical and thermal energy, i.e. total energy, in terms of material derivatives. It then presents an equation for thermal, or internal, energy. The total energy equation is then provided in terms of local (partial) derivatives, both in terms of internal energy and enthalpy. The implementation of the energy equation in solvers in OpenFOAM is then described.