journal article·2024-04-27Open access

Numerical Coupling between a FEM Code and the FVM Code OpenFOAM Using the MED Library

Giacomo Barbi, Antonio Cervone, Federico Giangolini, Sandro Manservisi, Lucia Sirotti

Applied Sciences· Volume 14· Issue 9

Abstract

This paper investigates a numerical code-coupling technique to tackle multiphysics and multiscale simulations using state-of-the-art software packages that typically address some specific modeling domain. The coupling considers the in-house FEM code FEMuS and the FVM code OpenFOAM by exploiting the MED library from the SALOME platform. The present approach is tested on a buoyancy-driven fluid flow within a square cavity, where the buoyancy force constitutes the coupling term. In uncoupled scenarios, momentum and temperature equations are solved in both FEM and FVM codes without data exchange. In the coupled setting, only the OpenFOAM velocity and the FEMuS temperature fields are solved separately and shared at each time step (or vice versa). The MED library handles the coupling with ad hoc data structures that perform the field transfer between codes. Different Rayleigh numbers are investigated, comparing the outcomes of coupled and uncoupled cases with the reference literature results. Additionally, a boundary data transfer application is presented to extend the capabilities of the coupling algorithm to coupled applications with separate domains. In this problem, the two domains share interfaces and boundary values on specific fields as fluxes are exchanged between the two numerical codes.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Numerical methods in engineering · Fluid Dynamics Simulations and Interactions · Lattice Boltzmann Simulation Studies

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Industrial Engineering, Laboratory of Montecuccolino, University of Bologna, Via dei Colli 16, 40136 Bologna, Italy

References (33)

Show source-provided references
1. Drikakis, D., Frank, M., and Tabor, G. (2019). Multiscale computational fluid dynamics. Energies, 12.10.3390/en12173272 ↗
2. Survey of multiscale and multiphysics applications and communities10.1109/MCSE.2013.47 ↗
3. CFD Modelling of Coupled Multiphysics-Multiscale Engineering Cases in Comput
4. Jasak, H., Jemcov, A., and Tukovic, Z. (2007, January 19–21). OpenFOAM: A C++ library for complex physics simulations. Proceedings of the International workshop on coupled methods in numerical dynamics, Dubrovnik, Croatia.
5. Angeli, P.E., Bieder, U., and Fauchet, G. (September, January 30). Overview of the TrioCFD code: Main features, VetV procedures and typical applications to nuclear engineering. Proceedings of the NURETH 16-16th International Topical Meeting on Nuclear Reactor Thermalhydraulics, Chicago, IL, USA.
6. Code Saturne: A finite volume code for the computation of turbulent incompressible flows-Industrial applications
7. The Code Aster: A product for mechanical engineers; Le Code Aster: Un produit pour les mecaniciens des structures
8. Introducing the open-source mfront code generator: Application to mechanical behaviours and material knowledge management within the PLEIADES fuel element modelling platform10.1016/j.camwa.2015.06.027 ↗
9. libMesh: A C++ Library for Parallel Adaptive Mesh Refinement/Coarsening Simulations10.1007/s00366-006-0049-3 ↗
10. deal. II—A general-purpose object-oriented finite element library10.1145/1268776.1268779 ↗
11. The FEniCS project version 1.5
12. Da Vià, R. (2019). Development of a computational platform for the simulation of low Prandtl number turbulent flows. [Ph.D. Thesis, University of Bologna].
13. Barbi, G., Bornia, G., Cerroni, D., Cervone, A., Chierici, A., Chirco, L., Da Vià, R., Giovacchini, V., Manservisi, S., and Scardovelli, R. (2021, January 14–16). FEMuS-Platform: A numerical platform for multiscale and multiphysics code coupling. Proceedings of the 9th International Conference on Computational Methods for Coupled Problems in Science and Engineering, COUPLED PROBLEMS 2021, Barcelona, Spain.
14. (2024, April 26). Numeric Platform. Available online: https://github.com/FemusPlatform/NumericPlatform.
15. (2024, April 26). SALOME. Available online: https://www.salome-platform.org/?page_id=23.
16. 36-paraview: An end-user tool for large-data visualization
17. Balay, S., Abhyankar, S., Adams, M.F., Benson, S., Brown, J., Brune, P., Buschelman, K., Constantinescu, E.M., Dalcin, L., and Dener, A. (2024, April 26). PETSc Web Page. Available online: https://petsc.org/.
18. Analysis and numerical results for boundary optimal control problems applied to turbulent buoyant flows
19. Da Vià, R., Giovacchini, V., and Manservisi, S. (2020). A Logarithmic Turbulent Heat Transfer Model in Applications with Liquid Metals for Pr = 0.01–0.025. Appl. Sci., 10.10.20944/preprints202005.0503.v1 ↗
20. Chirco, L. (2020). On the Optimal Control of Steady Fluid Structure Interaction Systems. [Ph.D. Thesis, University of Bologna].10.3390/fluids5030144 ↗
21. Cerroni, D. (2016). Multiscale Multiphysics Coupling on a Finite Element Platform. [Ph.D. Thesis, University of Bologna].
22. Salome platform component model for numerical simulation10.1109/COMPSAC.2007.185 ↗
23. Natural convection of air in a square cavity: A benchmark numerical solution10.1002/fld.1650030305 ↗
24. An explicit finite element algorithm for convection heat transfer problems10.1108/09615539910297932 ↗
25. Characteristic-based-split (CBS) algorithm for incompressible flow problems with heat transfer10.1108/09615539810244067 ↗
26. h-adaptive finite element solution of high Rayleigh number thermally driven cavity problem10.1108/09615530010347187 ↗
27. A new benchmark quality solution for the buoyancy-driven cavity by discrete singular convolution10.1080/104077901752379620 ↗
28. Design, development and performance testing of a new natural convection solar dryer10.1016/S0360-5442(02)00005-1 ↗
29. Transient natural ventilation of a room with a distributed heat source10.1017/S0022112007007598 ↗
30. Numerical simulation of simultaneous freezing–melting problems with natural convection10.1016/j.nucengdes.2004.06.005 ↗
31. Applied and theoretical aspects of conjugate heat transfer analysis: A review10.1007/s11831-018-9252-9 ↗
32. Heatline analysis on thermal management with conjugate natural convection in a square cavity10.1016/j.ces.2013.01.033 ↗
33. An overview of projection methods for incompressible flows10.1016/j.cma.2005.10.010 ↗