— 2D meshing, pimpleFoam, codedFixedValue boundary condition —
Tobias likes to transfer his thoughts into a numerical test case. The following example shows the Magnus effect, probably known from soccer. However, the Magnus effect occurs in many sports activities. Preferable if some object is rotating while moving along a trajectory.
— The white stripes in the pictures below can be added using function objects and the fvOptions capability of OpenFOAM® —
A 2D case is generated by using snappyHexMesh and other OpenFOAM® applications. The cylinder inside the fluid domain starts to rotate after 15 s. Due to the rotation, the fluid close to the wall will accelerate around the cylinder based on friction forces. The faster the cylinder wall turns, the more momentum is transported into the fluid domain. This force influences the path of the fluid going around. However, in reality, it is commonly vice-versa, and the object that follows a trajectory (while it is rotating) deviates, e.g., a football. The passive scalar (cf. video) was modeled by using the function object functionality. However, this was removed during a re-ordering of the case. An interesting effect occurs in that example. The Von Kárman vortex shedding streets occurs right at the beginning.
— Published under the GNU General Public License 3 —
gThe available training cases are tested and built for different OpenFOAM® versions. During the tests, only the OpenFOAM Foundation version of OpenFOAM® was used. Furthermore, the following software packages are required for most of the training cases: Salome®, ParaView®, and for optimization tasks one also needs DAKOTA®. The cases might work with the ESI version of OpenFOAM® too (not tested). Additionally, there is no support for Windows-based OpenFOAM® versions.