Abstract
Direct Numerical Simulations or Large-Eddy Simulations often require that turbulence is forced and maintained throughout the solution time in the complete computational domain. In numerical codes written in physical space—like the open source library OpenFOAM—a modeling technique called linear forcing is often used for this purpose. It consists of adding a body-force term to the Navier–Stokes equations which is linearly proportional to the velocity. When compared to codes written in spectral space, in physical space this technique can only capture integral length scales half the size of those in spectral codes and is therefore inferior in terms of numerical efficiency. As shown by Palmore and Desjardins 2018 ([1], Physical Review Fluids 3, 034605) this drawback can be overcome through low-pass filtering of the velocity field used for forcing. However, the filter proposed in [1], although one-dimensional, is implicit and increases considerably the CPU-time. In order to overcome this, the present work proposes a new three-dimensional, explicit, low-pass Laplace-filter which is numerically efficient, shows very good scaling features and is easy to implement and parallelize. With this, the integral length-scale of turbulence increases more than two times thus resolving successfully a larger scale range of turbulence. A second improvement proposed in this work concerns the particular form of the linear forcing term: it applies the forcing individually to each velocity component. It is found that the new forcing term prevents unphysical, numerically triggered growth of only one velocity component and hence stabilizes the numerical process in OpenFOAM.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Denev, J.A., Zirwes, T., Zhang, F., Bockhorn, H. (2023). A low-pass filter for linear forcing in the open-source code OpenFOAM – Implementation and numerical performance. In: Nagel, W.E., Kröner, D.H., Resch, M.M. (eds) High Performance Computing in Science and Engineering '21. HPCSE 2021. Springer, Cham. https://doi.org/10.1007/978-3-031-17937-2_20
Download citation
DOI: https://doi.org/10.1007/978-3-031-17937-2_20
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-17936-5
Online ISBN: 978-3-031-17937-2
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)