In May 2017, we implemented water wave modelling into the public, development line of OpenFOAM (OpenFOAM-dev), to simulate flow conditions experienced in marine and offshore engineering, e.g. on a ship in open water. The initial implementation includes the first order Airy wave and the second order Stokes wave (Stokes II), a second-order accurate utility to apply waves for case initialisation to the entire domain. A verticalDamping source (fvOption) provides wave damping towards outlet regions and an interfaceHeight function object processes interface elevation at specified locations.
At the end of Year 2 of CFD Direct, we summarise our principal activities as the primary contributor to OpenFOAM. We developed new functionality, producing OpenFOAM v4.0 and v4.1, maintaining the OpenFOAM code base, documentation, websites and other infrastructure — where we contributed 1300 man-hours of work in-kind. We delivered 55 days of OpenFOAM Training — Essential, Applied and Programming CFD — as scheduled classroom courses, live virtual training and on-site. We released new versions of our cloud CFD platform, CFD Direct From the Cloud (CFDDFC), and became and Advanced Technology Partner of Amazon Web Services.
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.
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.
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.
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.