|
[Sponsors] |
April 10, 2019, 05:15 |
Coupling OpenFOAM with Elmer?
|
#1 |
New Member
Mikiko
Join Date: Apr 2019
Posts: 1
Rep Power: 0 |
Hi,
in my company, we are thinking about building a simulation model containing fluidics (multiple components and phases), elasticity, electrical currents, and heat flow. For the fluidics part, OpenFOAM seems to be the best tool, whereas the rest can probably better be done in Elmer. So we are asking ourselves: Can Elmer and OpenFOAM be coupled? I have searched this forum and the web and found two projects attempting to do that: ElmerFOAM (http://illinoisrocstar.github.io/Elm...FSI/index.html, thanks to Anil for the link in his "using multiple softwares..." thread), which seems to focus on mechanics, OpenFOAM_Elmer (https://github.com/jvencels/OpenFOAM_Elmer), focused in Magnetohydrodynamics. Both seem to work under Linux only, and both require patched versions of Elmer and OpenFOAM. We are working under Windoze here, so Linux-only solutions would require a dedicated (or virtual) machine - our IT department would prefer to avoid that... So at a first glance, none of those seems ideal to me. Naively, I would imagine that one could write a solver for Elmer calling OpenFOAM at each iteration step, thereby implementing coupled iterations. But that is perhaps too naive and/or would be terribly inefficient. Nevertheless, there seems to be a mechanism in OpenFOAM to communicate with an external code using file-based data transfer: http://www.openfoam.com/version-v3.0...on-control.php. I didn't look closer into that, however, but it may help. So my questions are: has someone out there already tried (or thought about) such a coupling between Elmer and OpenFOAM? Does someone know more than I have found out so far? Has someone tried any of the two projects mentioned above? Thanks for any input... Mikiko |
|
April 13, 2019, 09:19 |
|
#2 |
Senior Member
|
Hi,
Have a look at https://www.precice.org "PRE-cise C-ode I-nteraction C-ode E-nvironment" This is done especially with FSI in mind |
|
November 23, 2020, 15:48 |
|
#3 |
Senior Member
|
EOF-Library is open-source coupling library for Elmer FEM and OpenFOAM simulation packages. A combination of all three results in very capable multiphysics modelling software.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 16:54 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 14, 2016 11:19 |
OpenFOAM for subsurface flow, or coupling with a subsurface flow code? | chljl | OpenFOAM Running, Solving & CFD | 0 | February 14, 2012 20:38 |
coupling OpenFOAM with other programs | Martin123 | OpenFOAM Running, Solving & CFD | 3 | June 3, 2009 19:13 |