Introduction To: Elmer FEM Software
Introduction To: Elmer FEM Software
FEM software
ElmerTeam
CSC – IT Center for Science, Finland
CSC, 2020
Elmer finite element software
for multiphysical problems
6 4.2.2021
Elmer in numbers
Software Community
• ~400,000 lines of active • ~20,000 downloads for
code Windows binary yearly
o~3/4 in Fortran, 1/4 in C/C++ oLinux users untracked
Paraview
ElmerGUI
• Graphical user interface of Elmer
oBased on the Qt library (GPL)
oDeveloped at CSC since 2/2008
• Mesh generation
oPlugins for Tetgen, Netgen, and
ElmerGrid
oCAD interface based on OpenCascade
• Mesh Import
oAbout ten different formats:
Ansys, Abaqus, Fidap, Comsol, Gmsh,…
• Mesh manipulation
oIncrease/decrease order
oScale, rotate, translate
• Partitioning
oSimple geometric (upper figure)
oMetis library (lower figure)
SERIAL WORKFLOW: CAD
MESH
CASE
VISUALIZATION
SOLUTION
IMPORT
SETUP
GENERATION
ElmerSolver – Numerical Methods
• Time-dependency
o Static, transient, harmonic, eigenmode, scanning
• Discretization
o Element families: nodal, edge (Hcurl), face (Hdiv), and p-elements, DG
o Element shapes: triangles, quads, tets, wedges, pyramids, hexas
o Formulations: Galerkin, stabilization, bubbles
o Continuity: Mortar finite elements for periodic and nonconforming meshes
• Adaptivity
o For selected equations, unfortunately no parallel implementation
ElmerSolver - Physical Models
• Heat transfer • Electromagnetics
✓Heat equation ✓ Solvers for either scalar or vector potential
(nodal elements)
✓Radiation with view factors
✓ Edge element based AV solver for magnetic
✓convection and phase change
and electric fields
• Fluid mechanics
• Mesh movement (Lagrangian)
✓ Navier-Stokes (2D & 3D)
✓ Extending displacements in free surface
✓ RANS: SST k-, k-, v2-f problems
✓ LES: VMS ✓ ALE formulation
✓ Thin films: Reynolds (1D & 2D)
• Level set method (Eulerian)
• Structural mechanics ✓ Free surface defined by a function
✓ General elasticity (unisotropic, lin & nonlin)
✓ Plates & Shells • Electrokinetics
✓ Poisson-Boltzmann
• Acoustics
✓ Helmholtz • Thermoelectricity
✓ Linearized time-harmonic N-S • Quantum mechanics
✓ Monolithic thermal N-S
✓ DFT (Kohn Scham)
• Species transport
• Particle Tracker
✓ Generic convection-diffusion equation
Poll on application fields (status 3/2020)
Czockralski Crystal Growth
• Most crystalline silicon is grown by the Czhockralski (CZ)
method
• The main application when Elmer development was started.
Figures by Okmetic Ltd.
Favier, L., G. Durand, S. L. Cornford, G. H. Gudmundsson, O. T. Zwinger and Moore, J. C. (2009) Diagnostic and
Gagliardini, F. Giller-Chaulet, T. Zwinger, A. J. Payne and A. prognostic simulations with a full Stokes model
M. Le Brocq, 2014. Retreat of Pine Island Glacier controlled accounting for superimposed ice of Midtre
by marine ice-sheet instability, Nature Climate Change Lovénbreen, Svalbard, The Cryosphere, 3, 217-
229, doi:10.5194/tc-3-217-2009
Block preconditioning: Weak scaling of 3D driven-cavity
Elems Dofs #procs Time (s)
Verification against:
Sze KY, Liu XH, Lo SH, Popular
benchmark problems for
geometric nonlinear analysis of
shells, Finite Elements in Analysis
and Design 2004, 40(11):1551-
1569.
55 4.2.2021
Elastic particles - Granular flow
57 4.2.2021
Video
EOF-Library & info
Multiphysics coupling
● Electromagnetics
● Fluids with free surface
● Heat transfer
• http://www.elmerfem.org
oDiscussion forum, wiki, elmerice community
• https://github.com/elmercsc/elmerfem
o GIT version control (the future)
• http://youtube.com/elmerfem
oYoutube channel for Elmer animations
• http://www.nic.funet.fi/pub/sci/physics/elmer/
o Download repository