Difference between revisions of "Elmer"

From ONELAB
Jump to: navigation, search
(Installation)
Line 1: Line 1:
= Introduction =
+
== Introduction ==
  
 
[http://www.csc.fi/english/pages/elmer Elmer] is an open source (GPL) computational tool for multi-physics problems.  
 
[http://www.csc.fi/english/pages/elmer Elmer] is an open source (GPL) computational tool for multi-physics problems.  
Line 10: Line 10:
 
Instructions to do so are given in the next section.
 
Instructions to do so are given in the next section.
  
= Installation =
+
== Installation ==
  
 
The Virtual machine is configured so that Gmsh and Elmer can be installed straightforwardly  by issuing simple commands in a terminal.
 
The Virtual machine is configured so that Gmsh and Elmer can be installed straightforwardly  by issuing simple commands in a terminal.
Line 35: Line 35:
 
:<code>getElmerModels.sh</code>
 
:<code>getElmerModels.sh</code>
  
= ONELAB models =  
+
== ONELAB models ==
  
 
[[Cryotherapy|Cryotherapy]] : Thermal analysis of the cryogenic treatment of warts
 
[[Cryotherapy|Cryotherapy]] : Thermal analysis of the cryogenic treatment of warts

Revision as of 12:50, 22 October 2014

Introduction

Elmer is an open source (GPL) computational tool for multi-physics problems. It is developed by CSC in collaboration with Finnish universities, research laboratories and industry. To test ONELAB models working with Elmer, you shall need a working installation of the code. The easiest way to do so, is to install first the generic ONELAB virtual machine on your system by following these instructions. When done, log in into the virtual machine (username: "olvm", passwd: olvm) and proceed with the installation of Elmer, and the download of benchmark ONELAB models. Instructions to do so are given in the next section.

Installation

The Virtual machine is configured so that Gmsh and Elmer can be installed straightforwardly by issuing simple commands in a terminal. You have to be online. Proceed as follows.

Step 1 - Download installation scripts
Open a terminal by clicking on the "terminal" icon in the launcher panel and issue the command
install_scripts.sh
Step 2 - Install Gmsh and Onelab
Then the command
install_gmsh.sh
downloads the nightly-build of Gmsh from http://geuz.org/gmsh, install it, and place a Gmsh icon on the Desktop.
Step 3 - Install Elmer
The command
install_elmer.sh
downloads the source code of Elmer and compile it on the virtual machine. This takes several minutes.

After these 3 steps, you have a woking installation of Gmsh and Elmer on the virtual machine.

Step 4 - Download model examples
The model examples detailed in the next section are downloaded in a directory named ELMERMODELS with the command
getElmerModels.sh

ONELAB models

Cryotherapy : Thermal analysis of the cryogenic treatment of warts

Beam3D : Didactical model of a 3D cantilever elastic beam

Laser : Thermal analysis of laser skin stimulation

Drug patch : Analysis of drug diffusion from a patch into the skin