Skip to content

tzwinger/tzwinger-elmerfem

 
 

Repository files navigation

ElmerLogoPlain64x64

Elmer FEM

This is the official source code repository for the Elmer FEM software suite.

GitHub stars GitHub watchers GitHub forks

GitHub contributors GitHub pull requests PRs welcome brightgreen

GitHub last commit Issues GitHub language count

Elmer is a finite element software for numerical solution of partial differential equations. Elmer is capable of handling any number of equations and is therefore ideally suited for the simulation of multiphysical problems. It includes models, for example, of structural mechanics, fluid dynamics, heat transfer and electromagnetics. Users can also write their own equations that can be dynamically linked with the main program.

Elmer consists of several parts. The most important ones are ElmerSolver the finite element solver, ElmerGUI the graphical user interface, and ElmerGrid the mesh creation and manipulation tool. Also a visualization tool, ElmerPost, is included in the package but it is no longer developed.

Download Binaries:

You may download binaries and virtual machines from here

Docker:

Documentation

You may find the PDFs for the documentation here

Compiling:

macOS:

  • download this repository either az a zip file via GitHub or using git clone https://github.com/ElmerCSC/elmerfem.git

  • go to the downloaded directory mkdir build and cd build

  • Install HomeBrew

  • Install GNU GCC brew install gcc

  • Install CMake brew install cmake

  • Without:

    • cmake .. -D WITH_OpenMP:BOOLEAN=TRUE

  • With MPI:

    • Install OpenMPI brew install open-mpi

    • cmake .. -D WITH_OpenMP:BOOLEAN=TRUE -D WITH_MPI:BOOLEAN=TRUE

  • With ElmerGUI:

    • install qt4 with brew install cartr/qt4/qt@4

    • install qwt with brew install cartr/qt4/qwt-qt4

    • cmake .. -D WITH_OpenMP:BOOLEAN=TRUE -D WITH_MPI:BOOLEAN=TRUE -D WITH_ELMERGUI:BOOLEAN=TRUE

  • With ElmerPost:

    • brew cask install xquartz

    • …​.

  • make

  • make install

Ubuntu

  • install the dependencies sudo apt install git cmake build-essential fortran libopenmpi-dev libblas-dev liblapack-dev

  • Without:

    • cmake .. -DWITH_OpenMP:BOOLEAN=TRUE

  • With MPI:

    • cmake .. -DWITH_OpenMP:BOOLEAN=TRUE -DWITH_MPI:BOOLEAN=TRUE

  • With ElmerGUI:

    • sudo apt install libqt4-dev libqwt-dev

    • cmake .. -DWITH_OpenMP:BOOLEAN=TRUE -DWITH_MPI:BOOLEAN=TRUE -DWITH_ELMERGUI:BOOLEAN=TRUE

  • make

  • sudo make install

  • the executable are in /usr/local/bin folder, you may add this to your PATH if you will.

Licencing: License: GPL v2 License: LGPL v2.1

Elmer software is licensed under GPL except for the ElmerSolver library which is licensed under LGPL license. Elmer is mainly developed at CSC - IT Center for Science, Finland. However, there have been numerous contributions from other organizations and developers as well, and the project is open for new contributions. More information about Elmer’s licensing here.

Package managers:

Packaging status

Chocolatey:

Chocolatey

Social:

Here on this Discord channel you may ask for help or dicuss different Elmer related matters:

Discord Chat

Follow ElmerFEM on Twitter:

Twitter Follow Twitter Follow Twitter Follow

Ask your questions on Reddit:

Subreddit subscribers

Computational Glaciology "Elmer/Ice":

About

Official git repository of Elmer FEM software

Resources

Stars

Watchers

Forks

Languages

  • Fortran 65.5%
  • C++ 14.4%
  • C 14.3%
  • CMake 1.2%
  • HTML 1.2%
  • Roff 0.9%
  • Other 2.5%