Difference between revisions of "Elmer"

From ONELAB
Jump to: navigation, search
(LASER)
(Installation)
Line 14: Line 14:
 
Proceed as follows.
 
Proceed as follows.
  
;Step 1: Download installation scripts
+
;Step 1 - Download installation scripts
 
:Open a terminal by clicking on the "terminal" icon in the launcher panel and issue the command
 
:Open a terminal by clicking on the "terminal" icon in the launcher panel and issue the command
 
:<code>install_scripts.sh</code>  
 
:<code>install_scripts.sh</code>  
  
 
+
;Step 2 - Install Gmsh and Onelab
Then, the command
+
:Then the command
 
:<code>install_gmsh.sh</code>  
 
:<code>install_gmsh.sh</code>  
will download the nightly-build of Gmsh from http://geuz.org/gmsh, install it, and place a Gmsh icon on the Desktop.
+
:downloads the nightly-build of Gmsh from http://geuz.org/gmsh, install it, and place a Gmsh icon on the Desktop.
  
When done, issue the command
+
;Step 3 - Install Elmer
 +
:The command
 
:<code>install_elmer.sh</code>
 
:<code>install_elmer.sh</code>
which will download the source code of Elmer and compile it on the virtual machine. This may take several minutes.
+
:downloads the source code of Elmer and compile it on the virtual machine. This may take several minutes.
 +
 
 +
After these 3 steps, you have a woking installation of Gmsh and Elmer on the virtual machine.  
  
Now, you have a woking installation of Gmsh and Elmer on the virtual machine. A number of Elmer model examples can be downloaded by issuing the command  
+
;Step 4 - Download model examples
:<code>getElmerModels.sh</code>
+
:The model examples described below are downloaded in the directory names <code>ELMERMODELS</code> with the command  
After all, you have a directory "ELMERMODELS" in your home directory with a number of Elmer models, which are now presented with more details.
+
:<code>getElmerModels.sh</code>.
  
 
= ONELAB models =  
 
= ONELAB models =  

Revision as of 13:41, 27 May 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 first need to install the generic ONELAB virtual machine on your system by following these instructions. When done, you can log in into the virtual machine (username: "olvm", passwd: olvm) and proceed with the installation of the Elmer software, and the download of benchmark ONELAB models. The 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. 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 may take 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 described below are downloaded in the directory names ELMERMODELS with the command
getElmerModels.sh.

ONELAB models

Cryotherapy

Beam3D

Laser

Drug patch