CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Coupling OpenFOAM with Elmer?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2019, 05:15
Default Coupling OpenFOAM with Elmer?
  #1
New Member
 
Mikiko
Join Date: Apr 2019
Posts: 1
Rep Power: 0
tutu10 is on a distinguished road
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
tutu10 is offline   Reply With Quote

Old   April 13, 2019, 09:19
Default
  #2
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
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
elvis is offline   Reply With Quote

Old   November 23, 2020, 15:48
Default
  #3
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
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.
elvis is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 14:14.