Abstract

Large and heterogeneous flow simulations could benefit from partitioning, where each subdomain is solved by an individual, dedicated code. In this paper, we investigate and validate the fluid-fluid module of the preCICE-OpenFOAM adapter by coupling two incompressible OpenFOAM fluid solvers via a surface Dirichlet-Neumann coupling approach. The results of various simple test cases are compared to monolithic OpenFOAM simulations. By utilizing a special pressure boundary condition, the coupled results show only a small error around the coupling interface. The magnitude of this error depends on the velocity gradient, the mesh width, as well as the cell orthogonality. Looking into the OpenFOAM source code reveals that higher accuracy is only possible by manipulating the solvers themselves and thereby violating the black-box approach of preCICE. The fluid-fluid module is extended to couple temperature with sufficient accuracy for one validation case. Furthermore, support for multiphase flow solvers is added to the adapter. Lastly, custom inlet-outlet boundary conditions are implemented for pressure and velocity, which switch their behavior dynamically, depending on the flow direction. The results shown in this presentation provide a basis for future fluid-fluid coupling applications with preCICE.

Full Paper

The PDF file did not load properly or your web browser does not support viewing PDF files. Download directly to your device: Download PDF document
Back to Top

Document information

Published on 02/11/23
Submitted on 02/11/23

Volume Multi-Physics and Multi-Scale Simulations with the Coupling Library preCICE, 2023
DOI: 10.23967/c.coupled.2023.014
Licence: CC BY-NC-SA license

Document Score

0

Views 0
Recommendations 0

Share this document

claim authorship

Are you one of the authors of this document?