is there a way to couple a 1D simulation (OpenModelica) with a 3D simulation (OpenFoam)?
In general, you can couple models of different dimensions, but you need to implement the “translation” between the 1D and the 3D world yourself, in one of the adapters. Two master’s theses have already dealt with similar problems:
- Qunsheng Huang: Loose Coupling of Isolated Rotorblade Rotorcraft CFD/CSD Simulations using preCICE. Master thesis, 2019 (this was 1D-3D FSI)
- Francisco Javier Espinosa Pelaez: A flexible approach to 2D-3D coupling of a Shallow-Water Equation solver to OpenFOAM. Master thesis, 2020
We want to eventually bring this functionality into preCICE. Here is a conference paper in which you may find some first results:
- G. Chourdakis, B. Uekermann, G. V. Zwieten and H. V. Brummelen: Coupling OpenFOAM to different solvers, physics, models, and dimensions using preCICE , 14th OpenFOAM Workshop , Duisburg, Germany, submitted (proceedings publication delayed/cancelled), July 2019.
Apart from the methodological aspect, you need to write an adapter for OpenModelica, since we currently do not have anything that you can directly use. Since OpenModelica is open-source, this should be rather easy and you could probably do the conversions there. If you eventually want to share this with the preCICE community, we would be happy to include it as a tutorial/adapter.
Thanks a lot for the detailed informations!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.