Elmer Installation and environment set-up

  • Download the binary from the Elmer sourceFORGE logosourceFORGE page, either with or without MPI, into your download folder. For example:

    C:\Users\userName\Downloads\fem\multiphysics\Elmer
  • Follow the installation instructions, but we advise you to use the default installation folder in:

    C:\Program Files\Elmer…ReleaseName…
  • Create a batch script file called "enviElmer.bat" with the following commands:

    enviElmer.bat
    @echo off
    path =%path%;C:\Program Files\ElmerFEM-mpi\bin
    set DISPLAY=127.0.0.1:0.0
    set HOME=C:\Users\userName\Documents\tutorials\Elmer

    cd %HOME% ..

    cls
    echo.
    echo elmer command window
    echo usage: type "elmersolver"
    echo.

    Place it in the Elmer download folder.

  • Create a folder for your exemples tutorials. For examples:

    C:\Users\userName\Documents\tutorials\Elmer
  • Create a desktop shortcut for quick access, with the Destination box pointing to the command prompt that executes the enviElmer.bat batch file:

    Solvers benchmark
    Solvers benchmark
    Destination box
    %windir%\system32\cmd.exe /k "C:\Users\userName\Downloads\fem\multiphysics\Elmer\enviElmer.bat"
    From box
    C:\Users\userName\Documents\calcoli\Elmer
  • You can use this icon file.

  • Once this is done, simply double-click on the Elmer icon, and the command prompt will:

    Solvers benchmark
  • Move to the tutorial folder:

    Elmer console:
    cd tutorialCase
  • and launch elmesolver to run the analysis:

    Elmer console:
    elmersolver
  • Once this is done, simply double-click on the Elmer icon, and the command prompt will:

    Solvers benchmark

Back to Quick start section