Laminar Flow Past a Cylinder using OpenFOAM-v2012
Aim of this tutorial: learn how to import transient snapshots from OpenFOAM (version 2012 from com-version) using pyvista package, generate the POD modes from the snapshots for the Flow Over Cylinder problem using an accelerated version of the algorithm and create a reduced model using Gaussian Process Regression (GPR).
The Flow Over Cylinder problem is a well-known benchmark in fluid dynamics, where a cylinder is placed in a flow field, leading to the formation of vortices and complex flow patterns. The problem is solved using OpenFOAM, a popular open-source CFD software (pimpleFoam solver in this case). The governing equations are the Navier Stokes equations:
given \(\Omega\) as the domain and \(\partial\Omega\) as its boundary, composed by \(\partial\Omega = \Gamma_{in}\cup\Gamma_{w}\cup\Gamma_{out}\) where \(\Gamma_{in}\) is the inlet boundary, \(\Gamma_{w}\) is the wall boundary and \(\Gamma_{out}\) is the outlet.