FEM SolverElmer SolverSettings

Other languages:

This page describes the possible settings for solver Elmer.

General

Elmer is a multiphysics solver. Therefore you can use several main equations to solve problems. The different equations are listed here.

There are solver settings, available for all equations. These are described here. Settings only available for a particular equation are described in the pages of the corresponding equation.

Elmer offers the solving types steady-state and transient and two main solving systems, linear system and nonlinear system. The nonlinear system is used for the Flow equation and Heat equation.

Editing Settings

The solver settings can be found in the property editor after clicking on an equation in the tree view. You can edit them there directly like any other property.

Solver

Coordinate System

The default coordinate system is Cartesian 3D. For some equations, not all coordinate systems can be can be used. This is noted on the Wiki pages of the corresponding equations.

Timestepping (transient analyses)

Note: FreeCAD 0.20.x already provides the following settings but only the last time result is output. Starting with FreeCAD 0.21 you will get an output for the different times.

For transient analyses the time steps need to be defined. This is done by the following settings:

Note: Although the terms "times" and "seconds" are used the times are actually solver progressions if the analysis is not time-dependent.

For how to visualize the results, see the Elmer visualization info.

Type

Equation

Base

All equations have these properties:

Linear System

This system has the following properties:

Nonlinear System

This system is iterative and has the following properties:

Relaxation Factor

If the solver iteration results oscillate numerically, the solver results cannot converge to a final, stable value. To avoid that, the calculated variable of the i-th iteration/solver run is not taken as input for the next iteration, but , a value that is "damped" with the result from the previous iteration. The relaxation factor is thereby defined as

So for the default of 1.0, no damping is used. The smaller , the greater the damping and the longer the convergence time. Therefore if the solver does not converge, start changing the relaxation factor to 0.9, then to 0.8 and so on. Values below 0.3 are unusual and if you need this, you should have a closer look to the math of your analysis.
For cases, where you get a proper convergence you can set above 1.0 to speed the convergence up.

Steady State

This part of the settings has only one property:

whereas is the steady state tolerance and is the calculated variable in the i-th iteration/solver run.