EOF-Library - Introducing Elmer FEM and OpenFOAM coupler

Mesh generators, CAD programs, and other tools
Post Reply
vencels
Posts: 63
Joined: 20 Sep 2016, 17:05
Antispam: Yes
Location: Latvia
Contact:

EOF-Library - Introducing Elmer FEM and OpenFOAM coupler

Post by vencels »

Hi!

With this post I want to introduce EOF-Library project and bring Elmer and OpenFOAM communities a bit closer. To my knowledge there is no other proprietary simulation tool that can couple FVM and FEM more efficiently in terms of performance as this tool so lets use this time advantage in our favor and bring our 3D multiphysics simulations to the next level.

READ BEFORE POSTING!
* DO NOT post BUG reports it this post, please do it here: https://github.com/jvencels/EOF-Library/issues
* Feel free to ask new features and share your contributions. For substantial consulting and development endeavors consider paid services. Thank you for understanding!

Q&A (will be updated in time)

1) Where it can be used?
You can communicate any number of volumetric fields between two packages. Currently there are solver developments in such multiphysics fields as magnetohydrodynamics, electro-fluid-thermal (cooling of electrical devices) and industrial plasma physics.

2) Why OpenFOAM?
Community. Volume of fluid. Turbulence models.

3) Why Elmer?
Accessible developers. Community. Ready-to-use 3D electromagnetic solvers.

4) Why Message Passing Interface (MPI)?
Both Elmer and OpenFOAM use MPI for their parallelization. MPI communication is by order faster than reading/writting to files.

5) How fast is EOF-Library coupling?
Depends on application, but expect overhead <<5% of simulation time. For example, strong scaling test for EOF-Library run-time (includes field interpolation and communication times) with 13M elements/cells takes ~16s on 4 CPU cores and ~0.45s on 256 CPU cores (~50% parallel efficiency).

6) How precise is interpolation?
For OpenFOAM to Elmer from 0th to 1st order linear interpolation. For Elmer to OpenFOAM from 0th to up to order of Elmer’s basis function ≥1st order.

7) To be continued..

GitHub repository:
https://github.com/jvencels/EOF-Library

Research activities:
https://www.researchgate.net/project/EO ... AM-coupler
Post Reply