A semi-implicit slip algorithm for mesh deformation in complex geometries, implemented in OpenFOAM
Artikel i vetenskaplig tidskrift, 2023

Many engineering applications of computational fluid dynamics (CFD) comprise extensive movement of objects that necessitate complex dynamic mesh treatments. In particular, the mesh motion process frequently requires a proper slipping of mesh points on highly curved surfaces. The currently available implementation of explicit slip boundary conditions in OpenFOAM fails to allow large deformations of the mesh without severely degrading the mesh quality and inverting some of the cells. Thus, a robust semi-implicit slip algorithm, based on the Laplacian smoothing methodology, is developed in the present work to tackle this issue. The algorithm is in fact performed in two steps, one explicit and one implicit. The OpenFOAM implementation of the algorithm includes different mesh motion solvers and boundary conditions, based on the displacement or velocity of points. The method is first verified using simple, yet relevant, test cases, and it is shown that the developed algorithm significantly outperforms some of the well-known proprietary CFD codes. Then, it is applied to a complex practical CFD case study. An engineering application that requires the features of the developed mesh motion algorithm is the transient operation of Kaplan turbines. These double-regulated machines simultaneously adjust the guide vane and runner blade angles while changing the operating condition. CFD simulations of such transient operations are highly complex, as they involve mesh deformation of the guide vane passage and simultaneous mesh deformation and rigid-body rotation of the runner blade passage. The mesh deformation requires points to slip on the curved hub and shroud surfaces while preserving the cell quality in tiny blade clearances. Therefore, the feasibility of the developed algorithm is evaluated for a load rejection sequence of a Kaplan turbine model. Program summary: Program Title: Semi-implicit slip mesh motion CPC Library link to program files: https://doi.org/10.17632/wztc26vh7b.1 Developer's repository link: https://github.com/salehisaeed/semiImplicitSlip Licensing provisions: GPLv3 Programming language: C++ Nature of problem: CFD simulations of numerous engineering fluid flows, such as transient operation of hydraulic turbines, involve an immensely complicated mesh motion process consisting of simultaneous mesh deformation and mesh slipping on highly curved surfaces. The available standard mesh motion methodology in OpenFOAM lacks some features to simulate this elaborate mesh motion. The introduced program addresses this problem by developing a new dynamic mesh algorithm. Solution method: The program implements a robust semi-implicit algorithm for slipping the mesh points on curved surfaces. The algorithm includes two steps, namely, an explicit step based on the general slip condition and an implicit step based on the Dirichlet condition. It employs the Laplacian smoothing equations to spread the mesh deformation into the domain. Additionally, a solid-body rotation may be added on top of the deformed mesh, which could be useful for modeling the runner region in transient operation of Kaplan turbines which contains simultaneous mesh deformation and solid-body rotation of the mesh.

Mesh motion

Transient operation

Kaplan turbine

OpenFOAM

Semi-implicit slip

Författare

Saeed Salehi

Chalmers, Mekanik och maritima vetenskaper, Strömningslära

Håkan Nilsson

Chalmers, Mekanik och maritima vetenskaper, Strömningslära

Computer Physics Communications

0010-4655 (ISSN)

Vol. 287 108703

Unsteady flow and cavitation during off-design and transients in water turbines

Energiforsk AB (VKU14164), 2021-10-01 -- 2022-12-31.

Chalmers, 2021-10-01 -- 2022-12-31.

Svenskt Vattenkraftcentrum (2018-2022), 2021-10-01 -- 2022-12-31.

Ämneskategorier

Maskinteknik

Beräkningsmatematik

Strömningsmekanik och akustik

Styrkeområden

Energi

Infrastruktur

C3SE (Chalmers Centre for Computational Science and Engineering)

DOI

10.1016/j.cpc.2023.108703

Mer information

Senast uppdaterat

2023-04-28