Elmer under the hood
You never need this page to build and solve models. It explains what Elmer Studio does on your behalf, for checking its work, running a case outside the GUI, or reporting a problem.
From model to Elmer case
When you compute a study, each run (each parameter value of a sweep) gets its own case folder:
| File | Contents |
|---|---|
|
The Elmer solver input file: header, simulation settings, constants, bodies, materials, body forces, initial conditions, equations, solvers and boundary conditions. |
|
Tells ElmerSolver which |
|
The Elmer mesh: |
|
Elmer’s output, as VTU files ( |
|
ElmerSolver’s complete output. |
|
What Elmer Studio needs to read the results back: the study, sweep values, selections and the mesh topology. |
opens the folder of the selected study. The folders live in a temporary working directory while the model is open. Saving the model stores the solutions in the .esm file. The working directory is removed when you close the model.
How the model is translated
| Model | Elmer |
|---|---|
Domains with the same material and physics features |
Bodies, each with its |
Boundary features |
|
Physics interfaces |
|
Multiphysics couplings |
Keywords that connect the solvers (for example a Joule heat source), solved in one steady-state or time loop |
Parameters |
Numbers in SI, written into the expressions |
Expressions that depend on space, time or the solution |
MATC functions ( |
Interpolation functions |
Elmer tables ( |
Study step |
|
The Elmer solver behind each interface is listed on Physics interfaces. Where it matters, Elmer Studio also chooses:
-
the linear solver: direct (UMFPACK) for small models, iterative (BiCGStab with ILU) for large 3D ones;
-
nonlinear iteration when a property or a boundary value depends on the solution;
-
Newton linearization for electrode kinetics, with line search (see Electrochemistry);
-
boundary fluxes from reaction loads, which are exactly conservative, for heat flow and electrode currents.
Seeing and exporting the input
-
shows the
.sifof a study without running it. -
(also on the Developer tab) writes a self-contained case folder:
mesh/,case.sifandELMERSOLVER_STARTINFO. Run it anywhere with Elmer installed:cd my_case ElmerSolver case.sif
The exported case is plain Elmer, with nothing specific to Elmer Studio, so you can hand it to colleagues who use Elmer directly, run it on a cluster, or study and edit it.
Adding Elmer keywords the GUI doesn’t have
Two places take raw Elmer keywords:
-
the physics interface’s Additional Elmer solver keywords, for its
Solversection; -
a Solver node’s Additional SIF keywords under the study’s Solver Configurations.
The lines are appended verbatim, so any Elmer feature can be reached without leaving the GUI.
The Elmer installation
(or ) shows which Elmer is used and lets you change it. Elmer Studio supports:
-
the official CSC installers and distribution packages;
-
MPI builds (
ElmerSolver_mpi) for parallel runs; -
a from-source CMake build tree of elmerfem. Elmer Studio finds the solver, its modules and runtime libraries inside it. This is how you use a newer Elmer, or one with your own changes, without installing it.
Detect reports the solver version and what it can do beyond Elmer 9.0 (for example the diffusion-current term of StatCurrentSolve, or a Fortran compiler for user solvers). Elmer Studio uses such features only when they are present.